Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
94 0 0 0 100% 2.02

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.codehaus.mojo.versions.ordering 19 0 0 0 100% 0.049
org.codehaus.mojo.versions.api 24 0 0 0 100% 0.298
org.codehaus.mojo.versions 51 0 0 0 100% 1.673

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

org.codehaus.mojo.versions.ordering

Class Tests Errors Failures Skipped Success Rate Time
NumericVersionComparatorTest 6 0 0 0 100% 0.003
MercuryVersionComparatorTest 2 0 0 0 100% 0.003
MavenVersionComparatorTest 2 0 0 0 100% 0.007
MajorMinorIncrementalFilterTest 6 0 0 0 100% 0.014
VersionComparatorsTest 3 0 0 0 100% 0.022

org.codehaus.mojo.versions.api

Class Tests Errors Failures Skipped Success Rate Time
DefaultVersionsHelperTest 7 0 0 0 100% 0.201
ArtifactVersionsTest 2 0 0 0 100% 0.011
PomHelperTest 15 0 0 0 100% 0.086

org.codehaus.mojo.versions

Class Tests Errors Failures Skipped Success Rate Time
RequiredMavenVersionFinderTest 41 0 0 0 100% 1.633
RewriteWithStAXTest 3 0 0 0 100% 0.031
SeparatePatternsForIncludesAnExcludesTest 6 0 0 0 100% 0.005
AbstractVersionsUpdaterMojoTest 1 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

RequiredMavenVersionFinderTest

findReturnsNullWhenPopulatedExecutionsListDoNotContainEnforcerExecution 1.273
findReturnsNullWhenVersionTagValueDoesNotEndWithAnCloseChar 0.007
findReturnsValueWhenVersionTagValueSetsExclusiveMinInclusiveMax 0.004
findReturnsValueWhenSecondEnforcerExecutionIsValidAndFirstEnforcerExecutionHasNoConfigurationTag 0.005
findReturnsValueWhenVersionTagValueSetsInclusiveMinInclusiveMax 0.003
findReturnsNullWhenEnforceGoalConfigurationIsNull 0.004
findReturnsValueWhenVersionTagValueSetsInclusiveMin 0.004
findReturnsNullWhenVersionTagValueOpenCharsCountLessThanCloseCharCount 0.004
findReturnsChildVersionWhenChildWithHigherVersionAndParentWithLowerVersion 0.002
findReturnsChildVersionWhenChildWithMatchingVersionAndParentWithMatchingVersion 0.003
findReturnsNullWhenExecutionGoalsListIsNull 0.003
findReturnsValueWhenSecondEnforcerExecutionIsValidAndFirstEnforcerExecutionHasNoRulesTag 0.004
findReturnsNullWhenVersionTagValueSetsInclusiveMax 0.003
findReturnsNotNullWhenPrerequisitesMavenVersionIsNotNull 0.003
findReturnsNullWhenChildWithoutVersionAndParentWithoutVersion 0.003
findReturnsNullWhenVersionTagValueOpenAndCloseTagsNotSameWhenNoComma 0.002
findReturnsNullWhenVersionTagValueSetsExclusiveLowerMaxInclusiveHigherMin 0.003
findReturnsNullWhenVersionTagValueDoesNotStartWithAnOpenChar 0.003
findReturnsNullWhenVersionTagValueSetsExclusiveLowerMaxExclusiveHigherMin 0.003
findReturnsNullWhenPrerequisitesAreNullAndBuildPluginListIsNull 0.001
findReturnsNullWhenVersionTagValueIsNull 0.002
findReturnsNullWhenRulesChildIsNull 0.002
findReturnsNullWhenVersionTagValueSetsInclusiveLowerMaxInclusiveHigherMin 0.002
findReturnsNullWhenPrerequisitesMavenVersionIsNull 0.002
findReturnsNullWhenVersionTagValueOpenCharsCountGreaterThanCloseCharCount 0.002
findReturnsNullWhenVersionChildIsNull 0.002
findReturnsValueWhenVersionTagValueSetsExclusiveMinExclusiveMax 0.003
findReturnsNullWhenRequiredMavenVersionChildIsNull 0.003
findReturnsNullWhenVersionTagValueSetsInclusiveLowerMaxExclusiveHigherMin 0.002
findReturnsValueWhenVersionTagValueSetsInclusiveMinExclusiveMax 0.004
findReturnsNullWhenEnforcerExecutionsIsNull 0.002
findReturnsChildVersionWhenChildWithVersionAndParentWithoutVersion 0.002
findReturnsParentVersionWhenChildWithLowerVersionAndParentWithHigherVersion 0.003
findReturnsParentVersionWhenChildWithoutVersionAndParentWithVersion 0.002
findReturnsValueWhenVersionTagValueSetsExclusiveMin 0.001
findReturnsValueWhenVersionTagValueSetsExact 0.002
findReturnsNullWhenVersionTagValueSetsExclusiveMax 0.002
findReturnsNullWhenBuildPluginsListDoesNotContainEnforcerPlugin 0.001
findReturnsValueWhenSecondEnforcerExecutionIsValidAndFirstEnforcerExecutionHasNoRequireMavenVersionTag 0.002
findReturnsNullWhenExecutionsListIsEmpty 0.001
findReturnsValueWhenVersionTagValueIsValidSimpleRange 0.001

RewriteWithStAXTest

testBasic 0.023
testReplace 0.001
testReplaceFancy 0.006

NumericVersionComparatorTest

testQualifiers 0.001
testStringValues 0.001
testBigValues 0
testSmokes 0
testSegmentIncrementing 0.001
testSegmentCounting 0

SeparatePatternsForIncludesAnExcludesTest

testSeparatePatternsWithTwoCommaSeparatedPatterns 0.004
testSeparatePatternWithSingleRange 0
testSeparatePatternsWithNull 0
testSeparatePatternWithSeveralPatternsAndRanges 0
testSeparatePatternsWithSinglePattern 0
testSeparatePatternsWithSeveralCommaSeparatedPatterns 0

MercuryVersionComparatorTest

testSegmentIncrementing 0.001
testSegmentCounting 0

MavenVersionComparatorTest

testSegmentIncrementing 0.005
testSegmentCounting 0

DefaultVersionsHelperTest

testPerRuleVersionsIgnored 0.183
testIsClasspathUriDetectsThatItIsDifferentProtocol 0.004
testIsClasspathUriDetectsClassPathProtocol 0.002
testWildcardMatching 0
testGlobalRuleVersionsIgnored 0.003
testMVERSIONS159_ExcludedAndNotIncluded 0.003
testRuleSets 0.004

MajorMinorIncrementalFilterTest

checkFilterWithNonStandardVersions 0.01
checkFilterWithNoMajorUpdates 0
checkFilterWithNoMajorOrMinorUpdates 0
checkFilter 0.001
checkFilterWithSnapshotAtSameVersion 0
checkFilterWithNoMajorOrMinorOrIncrementalUpdates 0.001

AbstractVersionsUpdaterMojoTest

testBasic 0

ArtifactVersionsTest

test4DigitVersions 0.009
testSmokes 0.002

PomHelperTest

test_Version_Range_Intersect 0.007
testImportedPOMsRetrievedFromDependencyManagement 0.067
test_Version_Range_Disjoint 0
test_Empty_Range 0
testLongProperties 0.003
test_Version_Version_Differ 0
test_Version_Version_Equal 0
testGroupIdNotOnChildPom 0.007
test_Version_RightOpenRange_Disjoint 0
test_Range_Range_Disjoint 0
test_Range_Version_Disjoint 0
test_Range_Empty 0
test_Range_Version_Intersect 0
test_Range_Range_Intersect 0
test_Version_LeftOpenRange_Disjoint 0

VersionComparatorsTest

testMercuryVersionComparator 0.01
testNumericVersionComparator 0.003
testMavenVersionComparator 0.004