Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
236 0 0 0 100% 11.778

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.filtering 78 0 0 0 100% 0.839
org.codehaus.mojo.versions.ordering 40 0 0 0 100% 0.037
org.codehaus.mojo.versions.utils 5 0 0 0 100% 0.009
org.codehaus.mojo.versions.api 34 0 0 0 100% 1.87
org.codehaus.mojo.versions.recording 1 0 0 0 100% 0.11
org.codehaus.mojo.versions 76 0 0 0 100% 8.04
org.codehaus.mojo.versions.rewriting 2 0 0 0 100% 0.873

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

org.codehaus.mojo.versions.filtering

Class Tests Errors Failures Skipped Success Rate Time
WildcardMatcherTest$PatternEndingWithWildcard 11 0 0 0 100% 0.04
WildcardMatcherTest$WildcardOnlyPattern 5 0 0 0 100% 0.015
TokenizedMatcherTest$ExactMatchPattern 7 0 0 0 100% 0.052
TokenizedMatcherTest$WildcardPattern 0 0 0 0 0% 0.023
WildcardMatcherTest 0 0 0 0 0% 0.314
DependencyFilterTest$RetainingInTest 5 0 0 0 100% 0.026
WildcardMatcherTest$PatternWithWildcardAtStartAndEnd 11 0 0 0 100% 0.032
DependencyFilterTest$RemoveFromTest 5 0 0 0 100% 0.008
TokenizedMatcherTest$WildcardPattern$NullClassifier 2 0 0 0 100% 0.004
WildcardMatcherTest$PatternWithVersionRange 9 0 0 0 100% 0.145
TokenizedMatcherTest 0 0 0 0 0% 0.079
WildcardMatcherTest$PatternStartingWithWildcard 11 0 0 0 100% 0.031
DependencyFilterTest 0 0 0 0 0% 0.037
WildcardMatcherTest$ExactValueTest 9 0 0 0 100% 0.021
TokenizedMatcherTest$WildcardPattern$NullScope 2 0 0 0 100% 0.005
TokenizedMatcherTest$WildcardPattern 1 0 0 0 100% 0.007

org.codehaus.mojo.versions.ordering

Class Tests Errors Failures Skipped Success Rate Time
NumericVersionComparatorTest 12 0 0 0 100% 0.011
MercuryVersionComparatorTest 8 0 0 0 100% 0.008
MavenVersionComparatorTest 12 0 0 0 100% 0.012
BoundArtifactVersionTest 8 0 0 0 100% 0.006

org.codehaus.mojo.versions.utils

Class Tests Errors Failures Skipped Success Rate Time
SegmentUtilsTest 4 0 0 0 100% 0.002
PropertiesVersionsFileReaderTest 1 0 0 0 100% 0.007

org.codehaus.mojo.versions.api

Class Tests Errors Failures Skipped Success Rate Time
DefaultVersionsHelperTest 10 0 0 0 100% 1.841
ArtifactVersionsTest 4 0 0 0 100% 0.01
PomHelperTest 20 0 0 0 100% 0.019

org.codehaus.mojo.versions.recording

Class Tests Errors Failures Skipped Success Rate Time
ChangeRecorderXMLTest 1 0 0 0 100% 0.11

org.codehaus.mojo.versions

Class Tests Errors Failures Skipped Success Rate Time
RewriteWithStAXTest 3 0 0 0 100% 0.055
UseLatestVersionsMojoTest 7 0 0 0 100% 0.149
SeparatePatternsForIncludesAnExcludesTest 6 0 0 0 100% 0.002
UpdatePropertyMojoTest 3 0 0 0 100% 0.613
UseLatestReleasesMojoTest 1 0 0 0 100% 0.005
UseDepVersionMojoTest 1 0 0 0 100% 0.193
ParentUpdatesReportMojoTest 1 0 0 0 100% 0.008
SetScmTagMojoTest 1 0 0 0 100% 0.21
DependencyUpdatesXmlRendererTest 1 0 0 0 100% 0.016
SetPropertyMojoTest 3 0 0 0 100% 0.604
UpdatePropertiesMojoTest 3 0 0 0 100% 2.846
DisplayDependencyUpdatesMojoTest 5 0 0 0 100% 0.991
RevertMojoTest 1 0 0 0 100% 0.278
PluginUpdatesXmlRendererTest 1 0 0 0 100% 0.031
DisplayPropertyUpdatesMojoTest 1 0 0 0 100% 0.258
DependencyUpdatesReportMojoTest 9 0 0 0 100% 0.538
SetMojoTest 6 0 0 0 100% 1.02
AbstractVersionsUpdaterMojoTest 1 0 0 0 100% 0
MinimalMavenBuildVersionFinderTest 2 0 0 0 100% 0.003
PluginUpdatesReportMojoTest 4 0 0 0 100% 0.054
UpdateParentMojoTest 16 0 0 0 100% 0.166

org.codehaus.mojo.versions.rewriting

Class Tests Errors Failures Skipped Success Rate Time
ModifiedPomXMLEventReaderTest 2 0 0 0 100% 0.873

Test Cases

[Summary] [Package List] [Test Cases]

RewriteWithStAXTest

testBasic 0.048
testReplace 0.001
testReplaceFancy 0.004

UseLatestVersionsMojoTest

testParentDowngrade 0.119
testPoisonDependencyVersion 0.009
testIgnoredVersions 0.003
testDependencyManagementDowngrade 0.004
testDependenciesDowngradeIncremental 0.004
testDependenciesDowngradeMajor 0.005
testDependenciesDowngradeMinor 0.003

NumericVersionComparatorTest

testQualifiers 0.001
testStringValues 0.001
testBigValues 0
testSmokes 0.001
testSegmentCounting 0
testVersionComparatorRow1 0
testVersionComparatorRow2 0
testVersionComparatorRow3 0
testVersionComparatorRow4 0.001
testVersionComparatorRow5 0
testVersionComparatorRow6 0
testVersionComparatorRow7 0.001

WildcardMatcherTest$PatternEndingWithWildcard

accepts(String)[1] 0.002
accepts(String)[2] 0.001
accepts(String)[3] 0.001
accepts(String)[4] 0.002
accepts(String)[5] 0.002
rejects(String)[1] 0.002
rejects(String)[2] 0.001
rejects(String)[3] 0.001
rejects(String)[4] 0.001
rejects(String)[5] 0.002
rejectsNull 0.001

WildcardMatcherTest$WildcardOnlyPattern

accepts(String)[1] 0.001
accepts(String)[2] 0.004
accepts(String)[3] 0.001
accepts(String)[4] 0.001
acceptsNull 0.001

TokenizedMatcherTest$ExactMatchPattern

rejectsDifferingFields(String, String, String, String, String, String)[1] 0.001
rejectsDifferingFields(String, String, String, String, String, String)[2] 0.001
rejectsDifferingFields(String, String, String, String, String, String)[3] 0.001
rejectsDifferingFields(String, String, String, String, String, String)[4] 0
rejectsDifferingFields(String, String, String, String, String, String)[5] 0.001
rejectsDifferingFields(String, String, String, String, String, String)[6] 0.001
acceptsExactMatch 0.001

SeparatePatternsForIncludesAnExcludesTest

testSeparatePatternsWithTwoCommaSeparatedPatterns 0
testSeparatePatternWithSingleRange 0.001
testSeparatePatternsWithNull 0
testSeparatePatternWithSeveralPatternsAndRanges 0
testSeparatePatternsWithSinglePattern 0.001
testSeparatePatternsWithSeveralCommaSeparatedPatterns 0

UpdatePropertyMojoTest

testAllowMajorUpdates 0.244
testAllowIncrementalUpdates 0.189
testAllowMinorUpdates 0.178

MercuryVersionComparatorTest

testSegmentCounting 0.002
testVersionComparatorRow1 0
testVersionComparatorRow2 0
testVersionComparatorRow3 0
testVersionComparatorRow4 0.001
testVersionComparatorRow5 0.001
testVersionComparatorRow6 0
testVersionComparatorRow7 0

UseLatestReleasesMojoTest

testDontUpgradeToBeta 0.005

ChangeRecorderXMLTest

testChanges 0.109

UseDepVersionMojoTest

testIssue673 0.192

ParentUpdatesReportMojoTest

testAllowSnapshots 0.008

DependencyFilterTest$RetainingInTest

retainsOnlyDepsWithMultipleWildcards 0.018
retainsMultiplePatterns 0.001
retainsOnlyDepsMatchingWildcardInVersion 0.001
retainsOnlyDepsWithExactMatch 0.001
retainsAllOnAllWildcards 0.002

SetScmTagMojoTest

testNewScmValues 0.208

WildcardMatcherTest$PatternWithWildcardAtStartAndEnd

accepts(String)[1] 0.001
accepts(String)[2] 0.001
accepts(String)[3] 0.002
accepts(String)[4] 0.001
accepts(String)[5] 0.001
accepts(String)[6] 0.001
accepts(String)[7] 0.001
rejects(String)[1] 0.001
rejects(String)[2] 0.001
rejects(String)[3] 0
rejectsNull 0.001

DependencyUpdatesXmlRendererTest

testReportGeneration 0.016

DependencyFilterTest$RemoveFromTest

removesExcludedDepsWithExactMatch 0.001
removesExcludedDepsWithAllWildcards 0.001
removesMultiplePatterns 0
removesExcludedDepsWithWildcardInGroupId 0.001
removesExcludedDepsWithWildcardInVersion 0

SetPropertyMojoTest

testNullNewVersion 0.233
testNewVersionEmpty 0.174
testNullProperty 0.194

SegmentUtilsTest

testEmpty 0
testMajor 0
testMinor 0
testIncremental 0

UpdatePropertiesMojoTest

testAllowMajorUpdates 2.368
testAllowIncrementalUpdates 0.308
testAllowMinorUpdates 0.163

ModifiedPomXMLEventReaderTest

testReplaceMark 0.691
testReplace 0.171

DisplayDependencyUpdatesMojoTest

testRuleSetPresentAndWorking 0.273
testVersionsWithQualifiersNotConsideredAsMinorUpdates 0.165
testVersionsWithQualifiersNotConsideredAsIncrementalUpdates 0.212
testValidateGAVListSuccessful 0.181
testValidateGAVListFailed 0.159

RevertMojoTest

testRevert 0.278

TokenizedMatcherTest$WildcardPattern$NullClassifier

rejectsNonnullScope 0.001
acceptsNullScope 0.001

MavenVersionComparatorTest

testUpperBoundaryRelease 0.002
testUpperBoundarySnapshot 0
testScopeLessThanNumSegmentsUpper 0
testUpperBoundaryCustom 0.001
testSegmentCounting 0.001
testVersionComparatorRow1 0
testVersionComparatorRow2 0.001
testVersionComparatorRow3 0.001
testVersionComparatorRow4 0
testVersionComparatorRow5 0.001
testVersionComparatorRow6 0
testVersionComparatorRow7 0.001

WildcardMatcherTest$PatternWithVersionRange

accepts(String)[1] 0.059
accepts(String)[2] 0.002
accepts(String)[3] 0.002
rejects(String)[1] 0.002
rejects(String)[2] 0.003
rejects(String)[3] 0.001
rejects(String)[4] 0.004
rejects(String)[5] 0.001
rejectsNull 0.002

DefaultVersionsHelperTest

testIgnoredVersionsShouldBeTheOnlyPresentInAnEmptyRuleSet 0.222
testPerRuleVersionsIgnored 0.498
testIsClasspathUriDetectsThatItIsDifferentProtocol 0.147
testDefaultsShouldBePresentInAnEmptyRuleSet 0.131
testIsClasspathUriDetectsClassPathProtocol 0.123
testWildcardMatching 0.176
testIgnoredVersionsShouldExtendTheRuleSet 0.14
testGlobalRuleVersionsIgnored 0.133
testRuleSets 0.129
testMVERSIONS159ExcludedAndNotIncluded 0.138

PluginUpdatesXmlRendererTest

testReportGeneration 0.031

DisplayPropertyUpdatesMojoTest

testPropertiesFromParent 0.257

DependencyUpdatesReportMojoTest

testOnlyUpgradableWithTransitiveDependencyManagement 0.398
testOnlyUpgradableDependencies 0.018
testDependenciesInAlphabeticalOrder 0.031
testOnlyProjectDependencies 0.012
testIt001Overview 0.018
testDependenciesShouldOverrideDependencyManagement 0.019
testOnlyProjectDependenciesWithIgnoredVersions 0.012
testWrongReportBounds 0.011
testOnlyUpgradableWithOriginalDependencyManagement 0.013

SetMojoTest

testGetIncrementedVersion 0.158
testNextSnapshotIndexLowerBound 0.156
testVersionlessDependency 0.168
testNextSnapshotIndexUpperBound 0.125
testRemoveSnapshotIdempotency 0.226
testNextSnapshotIndexWithoutNextSnapshot 0.184

PropertiesVersionsFileReaderTest

testRead 0.006

WildcardMatcherTest$PatternStartingWithWildcard

accepts(String)[1] 0.001
accepts(String)[2] 0.001
accepts(String)[3] 0.001
accepts(String)[4] 0.002
accepts(String)[5] 0.003
rejects(String)[1] 0.001
rejects(String)[2] 0.001
rejects(String)[3] 0.001
rejects(String)[4] 0.001
rejects(String)[5] 0.001
rejectsNull 0

WildcardMatcherTest$ExactValueTest

rejectsDifferentInput(String)[1] 0.001
rejectsDifferentInput(String)[2] 0.001
rejectsDifferentInput(String)[3] 0
rejectsDifferentInput(String)[4] 0.001
rejectsDifferentInput(String)[5] 0.001
rejectsDifferentInput(String)[6] 0.001
rejectsDifferentInput(String)[7] 0
rejectsNull 0
matchesTheExactInput 0

BoundArtifactVersionTest

testVersionSubIncrementalBoundGreaterThanSubIncremental 0.001
testVersionShorterThanSegment 0.001
testSnapshotWithSubIncremental 0
testVersionSubIncrementalBoundGreaterThanIncremental 0
testSubIncrementalUpperBoundGreaterThanNextSubIncremental 0.001
testVersionSubIncrementalBoundGreaterThanMinor 0
testMajorUpperBoundGreaterThanNextMajor 0.001
testVersionBoundArtifactVersionShorterThanConcreteVersionAndSegment 0

AbstractVersionsUpdaterMojoTest

testBasic 0

ArtifactVersionsTest

test4DigitVersions 0.005
testGetNewerVersionsWithSnapshot 0.001
testReportLabels 0.001
testSmokes 0.003

TokenizedMatcherTest$WildcardPattern$NullScope

rejectsNonnullScope 0.001
acceptsNullScope 0.001

TokenizedMatcherTest$WildcardPattern

acceptsWildcards 0.007

MinimalMavenBuildVersionFinderTest

testInvalidVersionRanges 0.001
testValidVersionRanges 0.001

PomHelperTest

testVersionRangeIntersect 0.001
testImportedPOMsRetrievedFromDependencyManagement 0.003
testSetElementValueExistingValue 0.002
testEmptyRange 0
testSetProjectValueNewValueNonEmptyParent 0
testSetElementValueNewValueNoChild 0.001
testLongProperties 0.001
testRangeVersionIntersect 0
testVersionRangeDisjoint 0
testSetElementValueEmptyChild 0.001
testGroupIdNotOnChildPom 0.001
testRangeRangeDisjoint 0
testSetElementValueNewValueEmptyParent 0.001
testVersionVersionDiffer 0
testVersionRightOpenRangeDisjoint 0.001
testRangeVersionDisjoint 0.001
testRangeEmpty 0
testVersionLeftOpenRangeDisjoint 0.001
testRangeRangeIntersect 0
testVersionVersionEqual 0

PluginUpdatesReportMojoTest

testOnlyProjectPluginsWithIgnoredVersions 0.019
testOnlyProjectPlugins 0.011
testOnlyUpgradablePlugins 0.01
testOnlyUpgradableWithPluginManagement 0.012

UpdateParentMojoTest

testAllowSnapshotsWithParentVersion 0.117
testIgnoredVersions 0.001
testShouldUpgradeToSnapshot 0.003
testParentDowngradeForbiddenWithRange 0.002
testAllowSnapshots 0.004
testSkipResolutionUpgradeUnknownVersion 0.002
testAllowIncrementalUpdates 0.002
testParentDowngradeForbidden 0.002
testAllowMinorUpdates 0.001
testSkipResolutionDowngrade 0.001
testParentVersionRange 0.007
testArtifactIdDoesNotExist 0.003
testParentVersionRange2 0.002
testParentDowngradeAllowed 0.002
testParentDowngradeAllowedWithRange 0.001
testSkipResolutionDowngradeUnknownVersion 0.006