Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
241 0 0 3 98.8% 1.860 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.internal.impl.standalone 2 0 0 0 100% 0.449 s
org.apache.maven.internal.impl.model 119 0 0 0 100% 0.341 s
org.apache.maven.internal.impl.model.profile 91 0 0 3 96.7% 0.125 s
org.apache.maven.internal.impl.resolver 10 0 0 0 100% 0.075 s
org.apache.maven.internal.impl.model.reflection 15 0 0 0 100% 0.004 s
org.apache.maven.internal.impl 3 0 0 0 100% 0.820 s
org.apache.maven.internal.impl.util 1 0 0 0 100% 0.046 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.maven.internal.impl.standalone

- Class Tests Errors Failures Skipped Success Rate Time
DiTest 1 0 0 0 100% 0.001 s
TestApiStandalone 1 0 0 0 100% 0.448 s

org.apache.maven.internal.impl.model

- Class Tests Errors Failures Skipped Success Rate Time
DefaultInterpolatorTest 14 0 0 0 100% 0.005 s
DefaultModelBuilderTest 1 0 0 0 100% 0.017 s
DefaultModelValidatorTest 68 0 0 0 100% 0.047 s
ComplexActivationTest 2 0 0 0 100% 0.026 s
DefaultModelInterpolatorTest 24 0 0 0 100% 0.202 s
DefaultDependencyManagementImporterTest 5 0 0 0 100% 0.041 s
MavenModelMergerTest 4 0 0 0 100% 0.002 s
MavenBuildTimestampTest 1 0 0 0 100% 0.001 s

org.apache.maven.internal.impl.model.profile

- Class Tests Errors Failures Skipped Success Rate Time
FileProfileActivatorTest 6 0 0 0 100% 0.007 s
PropertyProfileActivatorTest 10 0 0 0 100% 0.008 s
ConditionParserTest 26 0 0 0 100% 0.022 s
OperatingSystemProfileActivatorTest 10 0 0 0 100% 0.006 s
ConditionProfileActivatorTest 31 0 0 3 90.3% 0.071 s
JdkVersionProfileActivatorTest 8 0 0 0 100% 0.011 s

org.apache.maven.internal.impl.resolver

- Class Tests Errors Failures Skipped Success Rate Time
DefaultModelResolverTest 10 0 0 0 100% 0.075 s

org.apache.maven.internal.impl.model.reflection

- Class Tests Errors Failures Skipped Success Rate Time
ReflectionValueExtractorTest 15 0 0 0 100% 0.004 s

org.apache.maven.internal.impl

- Class Tests Errors Failures Skipped Success Rate Time
DefaultSettingsValidatorTest 1 0 0 0 100% 0.002 s
DefaultSettingsBuilderFactoryTest 1 0 0 0 100% 0.818 s
DefaultModelVersionParserTest 1 0 0 0 100% 0 s

org.apache.maven.internal.impl.util

- Class Tests Errors Failures Skipped Success Rate Time
PhasingExecutorTest 1 0 0 0 100% 0.046 s

Test Cases

[Summary] [Package List] [Test Cases]

FileProfileActivatorTest

testIsActiveNoFileWithShortBasedir 0.001 s
testIsActiveNoFile 0.001 s
testIsActiveExistsLeavesFileUnchanged 0.001 s
testIsActiveExistsFileExists 0.001 s
testRootDirectoryWithNull 0 s
testRootDirectory 0 s

DefaultInterpolatorTest

testXdg 0.001 s
testLoopEmpty2 0 s
testSubstitutionEscape 0 s
testSubstitutionFailures 0 s
testInnerSubst 0 s
testBasicSubstitutionWithContext 0.001 s
testMultipleEscapes 0 s
testExpansion 0 s
testPreserveUnresolved 0.001 s
testSubstLoop 0 s
testBasicSubstitution 0 s
testLoopEmpty 0 s
testEmptyVariable 0 s
testSubstitutionOrder 0 s

PhasingExecutorTest

testPhaser 0.045 s

DefaultModelBuilderTest

testPropertiesAndProfiles 0.017 s

DefaultModelValidatorTest

testCiFriendlyBad 0.001 s
testCiFriendlyBadSha1Plus 0.001 s
testBadVersion 0.002 s
testDeprecatedDependencyMetaversionsLatestAndRelease 0.001 s
testBadRepositoryId 0.001 s
testCiFriendlyAllExpressions 0 s
testMissingPluginDependencyGroupId 0.001 s
testMissingDependencyManagementGroupId 0 s
testMissingPluginDependencyVersion 0 s
testMissingDependencyExclusionId 0 s
testEmptyPluginVersion 0 s
testCiFriendlyRevision 0.001 s
testBadDependencyScope 0.001 s
testDuplicateProfileId 0.001 s
testMissingArtifactId 0 s
testReservedRepositoryId 0.001 s
testParentVersionRELEASE 0.001 s
testMissingRepositoryId 0.001 s
testDuplicatePluginExecution 0 s
testMissingReportPluginVersion 0.001 s
repositoryWithExpression 0.001 s
testMissingAll 0 s
testBadDependencyManagementScope 0 s
testModelVersionMessage 0.001 s
testMissingDependencyManagementArtifactId 0 s
testBadImportScopeType 0 s
profileActivationWithAllowedExpression 0.001 s
testBadDependencyVersion 0.001 s
testMissingPluginArtifactId 0 s
testSelfReferencingDependencyInRawModel 0.001 s
testMissingResourceDirectory 0.001 s
testBadPluginDependencyScope 0 s
testCiFriendlyChangeList 0.001 s
testCiFriendlySha1 0 s
testBadImportScopeClassifier 0.001 s
testEmptyModule 0.001 s
testDuplicateModule 0.001 s
testCiFriendlyBadSha1Plus2 0.001 s
testInvalidVersionInPluginManagement 0.001 s
testHardCodedSystemPath 0 s
testDuplicatePlugin 0.001 s
profileActivationPropertyWithProjectExpression 0.001 s
repositoryWithBasedirExpression 0 s
testIncompleteParent 0 s
testDistributionManagementStatus 0 s
testMissingType 0.001 s
testMissingDependencyGroupId 0.001 s
testInvalidGroupAndArtifactIdInPluginManagement 0.001 s
testSelfReferencingDependencyWithClassifierInRawModel 0 s
testBadModelVersion 0.001 s
testMissingDependencyVersion 0.001 s
testMissingGroupId 0 s
testMissingVersion 0.001 s
testParentVersionLATEST 0 s
testInvalidGroupIdInPluginManagement 0.001 s
testInvalidArtifactIdInPluginManagement 0 s
testBadDependencyExclusionId 0.001 s
testMissingDependencyArtifactId 0 s
testMissingModelVersion 0.001 s
testSystemPathRefersToProjectBasedir 0 s
testInvalidProfileId 0 s
testInvalidAggregatorPackaging 0.001 s
profileActivationFileWithProjectExpression 0 s
testBadSnapshotVersion 0 s
testBadPluginVersion 0.001 s
testBadPluginDependencyVersion 0 s
testInvalidCoordinateIds 0 s
testMissingPluginDependencyArtifactId 0.001 s

PropertyProfileActivatorTest

testWithValue_SystemProperty 0.001 s
testNullSafe 0.001 s
testWithNegatedNameOnly_UserProperty 0.001 s
testWithNegatedValue_UserProperty 0.001 s
testWithValue_UserPropertyDominantOverSystemProperty 0 s
testWithNameOnly_UserProperty 0.001 s
testWithNegatedNameOnly_SystemProperty 0.001 s
testWithValue_UserProperty 0 s
testWithNameOnly_SystemProperty 0.001 s
testWithNegatedValue_SystemProperty 0 s

ReflectionValueExtractorTest

testArtifactMap 0.001 s
testMappedMissingDot 0 s
testIndexedMapped 0 s
testBadMappedSyntax 0 s
testMappedIndexed 0 s
testMappedDottedKey 0 s
testBadIndexedSyntax 0 s
testIndexedMissingDot 0 s
testIllegalIndexedType 0 s
testValueExtractorWithAInvalidExpression 0.001 s
testTrimRootToken 0 s
testDotDot 0 s
testIllegalMappedType 0 s
testRootPropertyRegression 0 s
testValueExtraction 0.001 s

DefaultSettingsValidatorTest

testValidate 0.002 s

DefaultSettingsBuilderFactoryTest

testCompleteWiring 0.807 s

DiTest

testGenerics 0.001 s

ComplexActivationTest

testConditionExistingAndMissingInActivation 0.013 s
testAndConditionInActivation 0.012 s

DefaultModelResolverTest

testResolveParentThrowsModelResolverExceptionWhenUsingRangesWithoutUpperBound 0.005 s
testResolveDependencySuccessfullyResolvesExistingDependencyWithoutRange 0.005 s
testResolveParentSuccessfullyResolvesExistingParentWithoutRange 0.005 s
testResolveDependencyThrowsModelResolverExceptionWhenNotFound 0.018 s
testResolveParentSuccessfullyResolvesExistingParentUsingHighestVersion 0.013 s
testResolveDependencyThrowsModelResolverExceptionWhenNoMatchingVersionFound 0.006 s
testResolveDependencyThrowsModelResolverExceptionWhenUsingRangesWithoutUpperBound 0.004 s
testResolveParentThrowsModelResolverExceptionWhenNotFound 0.007 s
testResolveDependencySuccessfullyResolvesExistingDependencyUsingHighestVersion 0.005 s
testResolveParentThrowsModelResolverExceptionWhenNoMatchingVersionFound 0.005 s

DefaultModelVersionParserTest

parseVersion 0 s

DefaultModelInterpolatorTest

expressionThatEvaluatesToNullReturnsTheLiteralString 0.010 s
testBasedirUnx 0.061 s
testBasedirWin 0.007 s
testBaseUri 0.005 s
shouldInterpolateUnprefixedBasedirExpression 0.004 s
testShouldNotThrowExceptionOnReferenceToNonExistentValue 0.006 s
testShouldNotInterpolateDependencyVersionWithInvalidReference 0.004 s
testDefaultBuildTimestampFormatWithLocalTimeZoneMidnightRollover 0.026 s
testProperty 0.005 s
testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression 0.005 s
envarExpressionThatEvaluatesToNullReturnsTheLiteralString 0.004 s
testShouldThrowExceptionOnRecursiveScmConnectionReference 0.004 s
testRecursiveExpressionCycleNPE 0.004 s
testRecursiveExpressionCycleBaseDir 0.004 s
testDefaultBuildTimestampFormatShouldFormatTimeIn24HourFormat 0.007 s
shouldIgnorePropertiesWithPomPrefix 0.004 s
shouldInterpolateDependencyVersionToSetSameAsProjectVersion 0.003 s
testEnvars 0.003 s
testRootDirectoryWithNull 0.006 s
shouldInterpolateOrganizationNameCorrectly 0.004 s
testRootDirectoryWithUri 0.006 s
testTwoReferences 0.004 s
shouldInterpolateSourceDirectoryReferencedFromResourceDirectoryCorrectly 0.004 s
testRootDirectory 0.004 s

DefaultDependencyManagementImporterTest

testUpdateWithImportedFrom_dependencyLocationAndBomLocationAreNull_dependencyReturned 0.037 s
testUpdateWithImportedFrom_multiLevel_importedFromSetChanged 0.003 s
testUpdateWithImportedFrom_multiLevelAlreadyFoundInDifferentSource_importedFromSetMaintained 0 s
testUpdateWithImportedFrom_singleLevel_importedFromSet 0 s
testUpdateWithImportedFrom_dependencyManagementAndDependencyHaveSameSource_dependencyImportedFromSameSource 0 s

MavenModelMergerTest

testMergeModel_Profiles 0 s
testMergeModel_Prerequisites 0.001 s
testMergeModel_ModelVersion 0 s
testMergeModel_ArtifactId 0 s

ConditionParserTest

testLengthFunction 0.001 s
testArithmeticFunctions 0.001 s
testNestedPropertyAlias 0.001 s
testMatchesFunction 0 s
testCaseConversionFunctions 0.001 s
testStringComparison 0 s
testStringLiterals 0.001 s
testToInt 0.001 s
testFloatingPointArithmetic 0 s
testComplexArithmeticExpressions 0.001 s
testToString 0.004 s
testCombinedArithmeticAndLogic 0.001 s
testContainsFunction 0 s
testComplexExpression 0 s
testStringConcatenation 0 s
testArithmeticComparisons 0 s
testBasicArithmetic 0 s
testDivisionByZero 0.001 s
testSubstringFunction 0 s
testPropertyAlias 0 s
testInRange 0.001 s
testIndexOf 0 s
testConcatFunction 0.001 s
testIfFunction 0.001 s
testParenthesesMismatch 0.001 s
testArithmeticPrecedence 0 s

TestApiStandalone

testStandalone 0.447 s

OperatingSystemProfileActivatorTest

testArch 0.001 s
testName 0 s
testNegatedFamily 0.001 s
testNegatedArch 0 s
testNegatedName 0.001 s
testVersionStringComparison 0.001 s
testVersionRegexMatching 0 s
testFamily 0 s
testCapitalOsName 0 s
testAllOsConditions 0 s

MavenBuildTimestampTest

testMavenBuildTimestampUsesUTC 0.001 s

ConditionProfileActivatorTest

testFileIsActiveNoFile 0.007 s
testOsVersionRegexMatching 0.002 s
testPropWithNegatedValue_UserProperty 0.002 s
testPropWithValue_SystemProperty 0.002 s
testJdkVersionRangeExclusiveBounds 0.005 s
testFileWilcards 0 s
- void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testFileWilcards() is @Disabled -
testNullSafe 0.002 s
testOsNegatedArch 0.001 s
testOsNegatedName 0.001 s
testJdkPrefix 0.003 s
testPropWithValue_UserPropertyDominantOverSystemProperty 0.002 s
testFileRootDirectoryWithNull 0 s
- void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testFileRootDirectoryWithNull() is @Disabled -
testJdkRubbishJavaVersion 0 s
- void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testJdkRubbishJavaVersion() is @Disabled -
testPropWithNegatedValue_SystemProperty 0.002 s
testOsVersionStringComparison 0.002 s
testOsCapitalName 0.002 s
testPropWithNameOnly_SystemProperty 0.002 s
testJdkPrefixNegated 0.002 s
testFileIsActiveExistsFileExists 0.003 s
testJdkVersionRangeExclusiveUpperBound 0.002 s
testPropWithNameOnly_UserProperty 0.002 s
testPropWithNegatedNameOnly_SystemProperty 0.002 s
testPropWithNegatedNameOnly_UserProperty 0.002 s
testFileIsActiveNoFileWithShortBasedir 0.003 s
testJdkVersionRangeInclusiveBounds 0.003 s
testOsAllConditions 0.001 s
testJdkVersionRangeInclusiveLowerBound 0.002 s
testOsArch 0.002 s
testOsName 0.001 s
testFileRootDirectory 0.002 s
testPropWithValue_UserProperty 0.002 s

JdkVersionProfileActivatorTest

testPrefixNegated 0 s
testVersionRangeInclusiveBounds 0.002 s
testVersionRangeExclusiveUpperBound 0.001 s
testNullSafe 0 s
testVersionRangeInclusiveLowerBound 0.002 s
testVersionRangeExclusiveBounds 0.002 s
testPrefix 0 s
testRubbishJavaVersion 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


testFileWilcards
- skipped: void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testFileWilcards() is @Disabled
testFileRootDirectoryWithNull
- skipped: void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testFileRootDirectoryWithNull() is @Disabled
testJdkRubbishJavaVersion
- skipped: void org.apache.maven.internal.impl.model.profile.ConditionProfileActivatorTest.testJdkRubbishJavaVersion() is @Disabled