Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
57 0 0 0 100% 2.408

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.artifact.resolver 34 0 0 0 100% 2.012
org.apache.maven.artifact.versioning 11 0 0 0 100% 0.106
org.apache.maven.artifact 11 0 0 0 100% 0.018
org.apache.maven.artifact.factory 1 0 0 0 100% 0.272

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

org.apache.maven.artifact.resolver

Class Tests Errors Failures Skipped Success Rate Time
ArtifactResolutionExceptionTest 1 0 0 0 100% 0.003
DefaultArtifactCollectorTest 33 0 0 0 100% 2.009

org.apache.maven.artifact.versioning

Class Tests Errors Failures Skipped Success Rate Time
VersionRangeTest 3 0 0 0 100% 0.049
DefaultArtifactVersionTest 8 0 0 0 100% 0.057

org.apache.maven.artifact

Class Tests Errors Failures Skipped Success Rate Time
ArtifactUtilsTest 2 0 0 0 100% 0.004
DefaultArtifactTest 9 0 0 0 100% 0.014

org.apache.maven.artifact.factory

Class Tests Errors Failures Skipped Success Rate Time
DefaultArtifactFactoryTest 1 0 0 0 100% 0.272

Test Cases

DefaultArtifactFactoryTest

testPropagationOfSystemScopeRegardlessOfInheritedScope 0.262

ArtifactResolutionExceptionTest

testMissingArtifactMessageFormat 0.003

DefaultArtifactCollectorTest

testResolveWithFilter 0.2
testResolveCorrectDependenciesWhenDifferentDependenciesOnNearest 0.047
testResolveNearestNewestIsNearest 0.064
testResolveNearestOldestIsNearest 0.045
testResolveLocalNewestIsLocal 0.024
testResolveLocalOldestIsLocal 0.02
testResolveLocalWithNewerVersionButLesserScope 0.033
testResolveLocalWithNewerVersionButLesserScopeResolvedFirst 0.021
testResolveNearestWithRanges 0.022
testResolveRangeWithManagedVersion 0.02
testCompatibleRanges 0.023
testCompatibleRecommendedVersion 0.027
testCompatibleRecommendedVersionWithChildren 0.025
testInCompatibleRecommendedVersion 0.026
testInCompatibleRecommendedVersion2 0.04
testIncompatibleRanges 0.049
testUnboundedRangeWhenVersionUnavailable 0.02
testUnboundedRangeBelowLastRelease 0.066
testUnboundedRangeAboveLastRelease 0.039
testResolveManagedVersion 0.057
testCollectChangesVersionOfOriginatingArtifactIfInDependencyManagementHasDifferentVersion 0.058
testResolveCompileScopeOverTestScope 0.021
testResolveRuntimeScopeOverTestScope 0.06
testResolveCompileScopeOverRuntimeScope 0.056
testResolveCompileScopeOverProvidedScope 0.031
testResolveRuntimeScopeOverProvidedScope 0.048
testProvidedScopeNotTransitive 0.065
testOptionalNotTransitive 0.051
testOptionalIncludedAtRoot 0.02
testScopeUpdate 0.657
testTestScopeNotTransitive 0.021
testResolveOrder 0.021
testOverConstrainedVersionException 0.024

VersionRangeTest

testRange 0.001
testInvalidRanges 0.001
testIntersections 0.045

ArtifactUtilsTest

testArtifactMapByArtifactIdOrdering 0.002
testArtifactMapByVersionlessIdOrdering 0.001

DefaultArtifactTest

testGetVersionReturnsResolvedVersionOnSnapshot 0.001
testGetDependencyConflictId 0.001
testGetDependencyConflictIdNullGroupId 0.001
testGetDependencyConflictIdNullClassifier 0.003
testGetDependencyConflictIdNullScope 0
testToString 0
testToStringNullGroupId 0.001
testToStringNullClassifier 0.001
testToStringNullScope 0

DefaultArtifactVersionTest

testVersionParsing 0.004
testVersionComparing 0.04
testVersionSnapshotComparing 0.006
testSnapshotVsReleases 0.001
testVersionComparingWithBuildNumberZero 0
testCompareToEqualsHashCodeConsistency 0.001
testTransitivity 0.001
testInterfaceCompares 0.001