Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
367 0 0 2 99.5% 16.02 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.cling.invoker.mvn.resident 2 0 0 1 50.0% 5.676 s
org.apache.maven.cling.invoker.cisupport 9 0 0 0 100% 0.574 s
org.apache.maven.cling.invoker.mvnup.goals 202 0 0 0 100% 1.653 s
org.apache.maven.cling.invoker 6 0 0 0 100% 0.056 s
org.apache.maven.cling.transfer 118 0 0 0 100% 1.811 s
org.apache.maven.cling.invoker.mvn 5 0 0 1 80.0% 6.143 s
org.apache.maven.cling.invoker.mvnup 25 0 0 0 100% 0.109 s

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

org.apache.maven.cling.invoker.mvn.resident

- Class Tests Errors Failures Skipped Success Rate Time
ResidentMavenInvokerTest 2 0 0 1 50.0% 5.676 s

org.apache.maven.cling.invoker.cisupport

- Class Tests Errors Failures Skipped Success Rate Time
CIDetectorHelperTest 9 0 0 0 100% 0.574 s

org.apache.maven.cling.invoker.mvnup.goals

- Class Tests Errors Failures Skipped Success Rate Time
StrategyOrchestratorTest 0 0 0 0 0% 0.117 s
CompatibilityFixStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0 s
PluginUpgradeStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.004 s
GAVTest 0 0 0 0 0% 0.005 s
PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests 2 0 0 0 100% 0.001 s
AbstractUpgradeGoalTest$MvnDirectoryCreationTests 5 0 0 0 100% 0.017 s
InferenceStrategyTest 0 0 0 0 0% 0.026 s
ModelUpgradeStrategyTest$NamespaceUpdateTests 2 0 0 0 100% 0.002 s
GAVUtilsTest$EdgeCases 5 0 0 0 100% 0.011 s
ModelUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0 s
ModelUpgradeStrategyTest$DowngradeHandlingTests 2 0 0 0 100% 0.002 s
GAVTest$MatchesIgnoringVersionTests 5 0 0 0 100% 0.002 s
ModelVersionUtilsTest$SchemaLocationOperationTests 3 0 0 0 100% 0.001 s
UpgradeResultTest$ResultCreationTests 3 0 0 0 100% 0.001 s
ModelUpgradeStrategyTest$ModelVersionUpgradeTests 3 0 0 0 100% 0.007 s
UpgradeResultTest 0 0 0 0 0% 0.003 s
ModelVersionUtilsTest 0 0 0 0 0% 0.033 s
UpgradeResultTest$ResultMergingTests 4 0 0 0 100% 0.001 s
ModelVersionUtilsTest$VersionComparisonTests 3 0 0 0 100% 0.001 s
InferenceStrategyTest$DependencyInferenceTests 4 0 0 0 100% 0.009 s
StrategyOrchestratorTest$StrategyOrderingTests 1 0 0 0 100% 0.003 s
StrategyOrchestratorTest$ResultAggregationTests 2 0 0 0 100% 0.101 s
UpgradeWorkflowIntegrationTest$ErrorHandlingTests 2 0 0 0 100% 0.008 s
CheckTest$IntegrationTests 1 0 0 0 100% 0.001 s
InferenceStrategyTest$ParentInferenceTests 4 0 0 0 100% 0.005 s
UpgradeResultTest$EdgeCases 1 0 0 0 100% 0 s
CompatibilityFixStrategyTest$ApplicabilityTests 5 0 0 0 100% 0.005 s
InferenceStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.003 s
PluginUpgradeStrategyTest$PluginManagementTests 1 0 0 0 100% 0.008 s
CheckTest$ExecutionTests 1 0 0 0 100% 0.002 s
ModelVersionUtilsTest$ModelVersionDetectionTests 4 0 0 0 100% 0.003 s
ApplyTest$ModificationBehaviorTests 1 0 0 0 100% 0.001 s
JDomUtilsTest 10 0 0 0 100% 0.021 s
InferenceStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
ModelVersionUtilsTest$InferenceEligibilityTests 3 0 0 0 100% 0.001 s
PluginUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
AbstractUpgradeGoalTest$TargetModelVersionTests 4 0 0 0 100% 0.241 s
CompatibilityFixStrategyTest$DuplicateDependencyFixesTests 2 0 0 0 100% 0.008 s
GAVUtilsTest$GAVComputationTests 4 0 0 0 100% 0.003 s
InferenceStrategyTest$Maven400LimitedInferenceTests 4 0 0 0 100% 0.006 s
UpgradeWorkflowIntegrationTest$MultiModuleTests 1 0 0 0 100% 0.016 s
AbstractUpgradeGoalTest$PluginOptionsTests 7 0 0 0 100% 0.024 s
ModelVersionUtilsTest$ModelVersionValidationTests 17 0 0 0 100% 0.011 s
CheckTest 0 0 0 0 0% 0.004 s
PluginUpgradeStrategyTest 0 0 0 0 0% 0.161 s
ModelUpgradeStrategyTest$PhaseUpgradeTests 3 0 0 0 100% 0.005 s
CheckTest$ModificationBehaviorTests 1 0 0 0 100% 0 s
UpgradeWorkflowIntegrationTest$CheckVsApplyTests 2 0 0 0 100% 0.025 s
CompatibilityFixStrategyTest$DuplicatePluginFixesTests 1 0 0 0 100% 0.002 s
PluginUpgradeStrategyTest$PluginUpgradeTests 8 0 0 0 100% 0.076 s
PluginUpgradeStrategyTest$XmlFormattingTests 2 0 0 0 100% 0.062 s
ApplyTest$ExecutionTests 1 0 0 0 100% 0.033 s
GAVTest$ToStringTests 2 0 0 0 100% 0.001 s
HelpTest 6 0 0 0 100% 0.007 s
ModelUpgradeStrategyTest 0 0 0 0 0% 0.027 s
ApplyTest 0 0 0 0 0% 0.035 s
AbstractUpgradeGoalTest 0 0 0 0 0% 0.282 s
CompatibilityFixStrategyTest 0 0 0 0 0% 0.016 s
ModelUpgradeStrategyTest$ApplicabilityTests 8 0 0 0 100% 0.008 s
GAVUtilsTest$GAVExtractionTests 10 0 0 0 100% 0.011 s
UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests 2 0 0 0 100% 0.036 s
UpgradeWorkflowIntegrationTest 0 0 0 0 0% 0.087 s
ModelVersionUtilsTest$ModelVersionUpdateTests 4 0 0 0 100% 0.003 s
ModelVersionUtilsTest$EdgeCases 7 0 0 0 100% 0.006 s
ApplyTest$IntegrationTests 1 0 0 0 100% 0.001 s
StrategyOrchestratorTest$StrategyExecutionTests 5 0 0 0 100% 0.012 s
ModelVersionUtilsTest$UpgradePathValidationTests 6 0 0 0 100% 0.002 s
PluginUpgradeStrategyTest$ErrorHandlingTests 1 0 0 0 100% 0.007 s
GAVUtilsTest 0 0 0 0 0% 0.027 s
GAVTest$EqualityTests 4 0 0 0 100% 0.001 s

org.apache.maven.cling.invoker

- Class Tests Errors Failures Skipped Success Rate Time
BaseParserTest 3 0 0 0 100% 0.053 s
LookupInvokerLoggingTest 3 0 0 0 100% 0.003 s

org.apache.maven.cling.transfer

- Class Tests Errors Failures Skipped Success Rate Time
SimplexTransferListenerTest 2 0 0 0 100% 1.558 s
FileSizeFormatTest 115 0 0 0 100% 0.126 s
ConsoleMavenTransferListenerTest 1 0 0 0 100% 0.127 s

org.apache.maven.cling.invoker.mvn

- Class Tests Errors Failures Skipped Success Rate Time
MavenInvokerTest 5 0 0 1 80.0% 6.143 s

org.apache.maven.cling.invoker.mvnup

- Class Tests Errors Failures Skipped Success Rate Time
PluginUpgradeCliTest 14 0 0 0 100% 0.039 s
ConsoleIconTest 8 0 0 0 100% 0.068 s
UpgradeContextTest 3 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

CompatibilityFixStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

PluginUpgradeStrategyTest$ApplicabilityTests

shouldBeApplicableByDefaultWhenNoSpecificOptions 0 s
shouldBeApplicableWhenAllOptionSpecified 0 s
shouldBeApplicableWhenPluginsOptionTrue 0.001 s
shouldNotBeApplicableWhenPluginsOptionFalse 0.001 s

CIDetectorHelperTest

jenkins 0.061 s
teamcity 0.071 s
circleci 0.062 s
github 0.059 s
travisDebug 0.064 s
travis 0.059 s
generic 0.062 s
none 0.057 s
githubDebug 0.074 s

PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests

shouldHaveValidPluginUpgradeDefinitions 0 s
shouldHavePredefinedPluginUpgrades 0.001 s

AbstractUpgradeGoalTest$MvnDirectoryCreationTests

shouldCreateMvnDirectoryWhenModelVersionNot410 0.006 s
shouldCreateMvnDirectoryForCustomModelVersions 0.002 s
shouldHandleMvnDirectoryCreationFailureGracefully 0.002 s
shouldNotOverwriteExistingMvnDirectory 0.002 s
shouldCreateMvnDirectoryWhenModelVersion410 0.003 s

PluginUpgradeCliTest

testInterpolationWithPluginsOption 0.001 s
testCheckGoalWithPlugins 0.001 s
testPluginsOptionWithOtherFlags 0 s
helpMentionsInferInDefault 0.035 s
testGoalsParsing 0 s
testCombinedOptionsWithPlugins 0 s
testAllOptionImpliesPlugins 0 s
testEmptyArgsDefaultBehavior 0 s
testHelpDisplayIncludesPluginsOption 0 s
testLongFormPluginsOption 0 s
testAllOptionParsing 0 s
testInvalidCombinationStillParses 0 s
testNoPluginsOptionByDefault 0 s
testPluginsOptionParsing 0 s

SimplexTransferListenerTest

handlesAbsentTransferSource 1.047 s
cancellation 0.507 s

ModelUpgradeStrategyTest$NamespaceUpdateTests

shouldUpdateNamespaceRecursively 0.001 s
shouldConvertModulesToSubprojectsIn410 0.001 s

GAVUtilsTest$EdgeCases

shouldHandleDeeplyNestedParentInheritance 0.001 s
shouldHandlePOMWithSpecialCharacters 0 s
shouldHandleLargeNumberOfPOMsEfficiently 0.007 s
shouldHandlePOMWithEmptyElements 0.001 s
shouldHandlePOMWithWhitespaceElements 0 s

ModelUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

ModelUpgradeStrategyTest$DowngradeHandlingTests

shouldSucceedWhenUpgrading 0.001 s
shouldFailWhenAttemptingDowngrade 0.001 s

GAVTest$MatchesIgnoringVersionTests

shouldMatchWhenAllComponentsIdentical 0 s
shouldNotMatchWhenArtifactIdsDiffer 0 s
shouldReturnFalseWhenOtherGAVIsNull 0 s
shouldMatchWhenGroupIdAndArtifactIdSameButVersionDiffers 0.001 s
shouldNotMatchWhenGroupIdsDiffer 0 s

ModelVersionUtilsTest$SchemaLocationOperationTests

shouldGetSchemaLocationFor400 0 s
shouldHandleUnknownModelVersionInSchemaLocation 0.001 s
shouldGetSchemaLocationForModelVersion 0 s

UpgradeResultTest$ResultCreationTests

shouldCreateSuccessResult 0 s
shouldCreateEmptyResult 0.001 s
shouldCreateFailureResult 0 s

ConsoleIconTest

shouldBeConsistentAcrossMultipleCalls 0.064 s
shouldReturnCorrectUnicodeCharacters 0 s
shouldHandleTerminalWithNullEncoding 0 s
shouldReturnAsciiFallbackWhenTerminalUsesAscii 0 s
shouldReturnCorrectAsciiFallbacks 0.001 s
shouldHandleDifferentCharsetEncodingsCorrectly 0 s
shouldReturnUnicodeWhenTerminalSupportsUtf8 0.001 s
shouldHandleNullTerminal 0 s

ModelUpgradeStrategyTest$ModelVersionUpgradeTests

shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[1] 0.002 s
shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[2] 0.001 s
shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[3] 0.001 s

FileSizeFormatTest

testSize(long, String)[1] 0.005 s
testSize(long, String)[2] 0 s
testSize(long, String)[3] 0.001 s
testSize(long, String)[4] 0.001 s
testSize(long, String)[5] 0.001 s
testSize(long, String)[6] 0 s
testSize(long, String)[7] 0 s
testSize(long, String)[8] 0 s
testSize(long, String)[9] 0 s
testSize(long, String)[10] 0 s
testSize(long, String)[11] 0 s
testSize(long, String)[12] 0 s
testSize(long, String)[13] 0.001 s
testSize(long, String)[14] 0 s
testSize(long, String)[15] 0.001 s
testSize(long, String)[16] 0 s
testSize(long, String)[17] 0 s
testSize(long, String)[18] 0.001 s
testSize(long, String)[19] 0.001 s
testSize(long, String)[20] 0.001 s
testFormatRateEdgeCases 0.002 s
testFormatRate 0.001 s
testNegativeProgressedSize 0.002 s
testFormatRateLargeValues 0.001 s
testNegativeProgressedSizeBiggerThanSize 0.002 s
testProgressedSizeWithoutSize(long, String)[1] 0.001 s
testProgressedSizeWithoutSize(long, String)[2] 0 s
testProgressedSizeWithoutSize(long, String)[3] 0 s
testProgressedSizeWithoutSize(long, String)[4] 0.001 s
testFormatRateInvalidValues 0 s
testProgressedSizeWithSize(long, long, String)[1] 0.002 s
testProgressedSizeWithSize(long, long, String)[2] 0 s
testProgressedSizeWithSize(long, long, String)[3] 0 s
testProgressedSizeWithSize(long, long, String)[4] 0.001 s
testProgressedSizeWithSize(long, long, String)[5] 0 s
testProgressedSizeWithSize(long, long, String)[6] 0.001 s
testProgressedSizeWithSize(long, long, String)[7] 0 s
testProgressedSizeWithSize(long, long, String)[8] 0 s
testProgressedSizeWithSize(long, long, String)[9] 0 s
testProgressedSizeWithSize(long, long, String)[10] 0.001 s
testProgressedSizeWithSize(long, long, String)[11] 0 s
testProgressedSizeWithSize(long, long, String)[12] 0 s
testProgressedSizeWithSize(long, long, String)[13] 0.001 s
testProgressedSizeWithSize(long, long, String)[14] 0 s
testProgressedSizeWithSize(long, long, String)[15] 0.001 s
testProgressedSizeWithSize(long, long, String)[16] 0 s
testProgressedSizeWithSize(long, long, String)[17] 0.001 s
testProgressedSizeWithSize(long, long, String)[18] 0 s
testProgressedSizeWithSize(long, long, String)[19] 0 s
testProgressedSizeWithSize(long, long, String)[20] 0 s
testProgressedSizeWithSize(long, long, String)[21] 0 s
testProgressedSizeWithSize(long, long, String)[22] 0 s
testNegativeSize 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[1] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[2] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[3] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[4] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[5] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[6] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[7] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[8] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[9] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[10] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[11] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[12] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[13] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[14] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[15] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[16] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[17] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[18] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[19] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[20] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[21] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[22] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[23] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[24] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[25] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[26] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[27] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[28] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[29] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[30] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[31] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[32] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[33] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[34] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[35] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[36] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[37] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[38] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[39] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[40] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[41] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[42] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[43] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[44] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[45] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[46] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[47] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[48] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[49] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[50] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[51] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[52] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[53] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[54] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[55] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[56] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[57] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[58] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[59] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[60] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[61] 0.001 s
testFormatRateThresholds 0 s

UpgradeResultTest$ResultMergingTests

shouldHandleMergingResultsWithOverlappingPOMs 0 s
shouldHandleMergingSuccessAndFailureResults 0.001 s
shouldHandleMergingWithDifferentPOMSets 0 s
shouldMergeEmptyResults 0 s

ModelVersionUtilsTest$VersionComparisonTests

shouldCompareVersionsCorrectly 0 s
shouldHandleNullVersionsInComparison 0 s
shouldHandleNewerThan410Versions 0 s

InferenceStrategyTest$DependencyInferenceTests

shouldKeepDependencyVersionForExternalArtifact 0.001 s
shouldHandlePluginDependencies 0.002 s
shouldRemoveDependencyVersionForProjectArtifact 0.002 s
shouldKeepDependencyVersionWhenVersionMismatch 0.001 s

StrategyOrchestratorTest$StrategyOrderingTests

shouldExecuteStrategiesInPriorityOrder 0.002 s

StrategyOrchestratorTest$ResultAggregationTests

shouldHandleOverlappingPOMModifications 0.099 s
shouldReturnEmptyResultWhenNoStrategiesApplicable 0.002 s

UpgradeWorkflowIntegrationTest$ErrorHandlingTests

shouldHandleMissingPomGracefully 0.001 s
shouldHandleMalformedPomGracefully 0.007 s

CheckTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0 s

InferenceStrategyTest$ParentInferenceTests

shouldNotTrimParentElementsWhenParentIsExternal 0.002 s
shouldTrimParentElementsWhenParentIsInReactor 0.001 s
shouldKeepParentGroupIdWhenChildHasExplicitGroupId 0.001 s
shouldRemoveParentGroupIdWhenChildDoesntHaveExplicitGroupId 0.001 s

UpgradeResultTest$EdgeCases

shouldHandleLargeNumberOfPOMsEfficiently 0 s

CompatibilityFixStrategyTest$ApplicabilityTests

shouldNotBeApplicableWhenModelOptionFalse 0.001 s
shouldHandleAllOptionsDisabled 0.001 s
shouldBeApplicableByDefaultWhenNoSpecificOptions 0.001 s
shouldBeApplicableWhenAllOptionSpecified 0.001 s
shouldBeApplicableWhenModelOptionTrue 0 s

InferenceStrategyTest$ApplicabilityTests

shouldBeApplicableWhenInferOptionTrue 0.001 s
shouldNotBeApplicableWhenInferOptionFalse 0.001 s
shouldBeApplicableByDefaultWhenNoSpecificOptions 0.001 s
shouldBeApplicableWhenAllOptionSpecified 0 s

PluginUpgradeStrategyTest$PluginManagementTests

shouldAddPluginManagementBeforeExistingPluginsSection 0.008 s

CheckTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.002 s

ModelVersionUtilsTest$ModelVersionDetectionTests

shouldDetectModelVersionFromDocument 0.001 s
shouldReturnDefaultVersionWhenModelVersionMissing 0.001 s
shouldDetect410ModelVersion 0.001 s
shouldDetectVersionFromNamespaceWhenModelVersionMissing 0 s

ApplyTest$ModificationBehaviorTests

shouldSaveModificationsToDisk 0.001 s

JDomUtilsTest

testProperClosingTagFormattingWithPluginManagement 0.005 s
testRealWorldScenarioWithPluginManagementAddition 0.005 s
testAddElementWithCorrectIndentation 0.002 s
testDetectIndentationFallbackToDefault 0.001 s
testDetectIndentationWithMixedContent 0.001 s
testDetectFourSpaceIndentation 0.001 s
testDetectIndentationFromBuildElement 0.001 s
testDetectIndentationConsistency 0.001 s
testDetectTwoSpaceIndentation 0.001 s
testDetectTabIndentation 0.001 s

InferenceStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0.001 s

ModelVersionUtilsTest$InferenceEligibilityTests

shouldHandleNullVersionInInferenceEligibility 0 s
shouldDetermineInferenceEligibilityCorrectly 0 s
shouldRejectInferenceForUnsupportedVersions 0.001 s

PluginUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0.001 s

AbstractUpgradeGoalTest$TargetModelVersionTests

shouldPrioritizeExplicitModelOverAllOption 0.230 s
shouldDefaultTo400WhenNoSpecificOptions 0.003 s
shouldUse410WhenAllOptionSpecified 0.002 s
shouldUseExplicitModelVersionWhenProvided 0.002 s

CompatibilityFixStrategyTest$DuplicateDependencyFixesTests

shouldRemoveDuplicateDependenciesInDependencyManagement 0.004 s
shouldRemoveDuplicateDependenciesInRegularDependencies 0.001 s

GAVUtilsTest$GAVComputationTests

shouldSkipPOMsWithIncompleteGAVs 0.001 s
shouldComputeGAVsFromMultiplePOMs 0.001 s
shouldHandleEmptyPOMMap 0 s
shouldDeduplicateIdenticalGAVs 0 s

InferenceStrategyTest$Maven400LimitedInferenceTests

shouldHandlePartialInheritanceIn400 0.002 s
shouldRemoveChildGroupIdAndVersionWhenTheyMatchParentIn400 0.002 s
shouldNotApplyDependencyInferenceTo400Models 0.001 s
shouldKeepChildGroupIdWhenItDiffersFromParentIn400 0.001 s

UpgradeWorkflowIntegrationTest$MultiModuleTests

shouldHandleMultiModuleProject 0.014 s

AbstractUpgradeGoalTest$PluginOptionsTests

shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[1] 0.004 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[2] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[3] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[4] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[5] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[6] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[7] 0.002 s

ModelVersionUtilsTest$ModelVersionValidationTests

shouldRejectUnsupportedModelVersions(String)[1] 0 s
shouldRejectUnsupportedModelVersions(String)[2] 0 s
shouldRejectUnsupportedModelVersions(String)[3] 0 s
shouldRejectUnsupportedModelVersions(String)[4] 0 s
shouldRejectInvalidVersionFormats(String, String)[1] 0 s
shouldRejectInvalidVersionFormats(String, String)[2] 0 s
shouldRejectInvalidVersionFormats(String, String)[3] 0 s
shouldRejectInvalidVersionFormats(String, String)[4] 0 s
shouldRejectInvalidVersionFormats(String, String)[5] 0.001 s
shouldRejectInvalidVersionFormats(String, String)[6] 0 s
shouldRejectInvalidVersionFormats(String, String)[7] 0 s
shouldRejectInvalidVersionFormats(String, String)[8] 0 s
shouldRejectInvalidVersionFormats(String, String)[9] 0 s
shouldRejectInvalidVersionFormats(String, String)[10] 0 s
shouldValidateSupportedModelVersions(String)[1] 0 s
shouldValidateSupportedModelVersions(String)[2] 0.001 s
shouldValidateSupportedModelVersions(String)[3] 0 s

ModelUpgradeStrategyTest$PhaseUpgradeTests

shouldNotUpgradePhasesWhenUpgradingTo400 0.001 s
shouldPreserveNonDeprecatedPhases 0.001 s
shouldUpgradeDeprecatedPhasesIn410 0.003 s

CheckTest$ModificationBehaviorTests

shouldNotSaveModificationsToDisk 0 s

UpgradeWorkflowIntegrationTest$CheckVsApplyTests

checkShouldNotModifyFiles 0.011 s
applyShouldModifyFiles 0.014 s

ConsoleMavenTransferListenerTest

testTransferProgressedWithPrintResourceNames 0.125 s

CompatibilityFixStrategyTest$DuplicatePluginFixesTests

shouldRemoveDuplicatePluginsInPluginManagement 0.002 s

PluginUpgradeStrategyTest$PluginUpgradeTests

shouldNotUpgradeWhenPropertyNotFound 0.014 s
shouldUpgradePluginWithoutExplicitGroupId 0.011 s
shouldUpgradePluginVersionWhenBelowMinimum 0.007 s
shouldNotModifyPluginWhenVersionAlreadySufficient 0.007 s
shouldUpgradePluginInPluginManagement 0.008 s
shouldNotUpgradeWhenVersionAlreadyHigher 0.010 s
shouldNotUpgradePluginWithoutVersion 0.008 s
shouldUpgradePluginWithPropertyVersion 0.008 s

ResidentMavenInvokerTest

defaultFs(Path, Path) 5.665 s
jimFs 0 s
- Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest) -

PluginUpgradeStrategyTest$XmlFormattingTests

shouldFormatPluginManagementWithProperIndentationWhenAdded 0.041 s
shouldFormatPluginManagementWithProperIndentation 0.020 s

ApplyTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.033 s

GAVTest$ToStringTests

shouldFormatAsGroupIdArtifactIdVersion 0 s
shouldHandleNullComponentsGracefully 0 s

HelpTest

testHelpExecuteDoesNotThrow 0.001 s
testHelpIncludesAllOption 0 s
testHelpLogsMessages 0.002 s
testHelpExecuteReturnsZero 0.001 s
testHelpIncludesDefaultBehavior 0 s
testHelpIncludesPluginsOption 0.001 s

BaseParserTest

specials 0.043 s
happy 0.006 s
notHappy 0.003 s

ModelUpgradeStrategyTest$ApplicabilityTests

shouldHandleConflictingOptionCombinations 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[1] 0.002 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[2] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[3] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[4] 0 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[5] 0 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[6] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[7] 0.001 s

GAVUtilsTest$GAVExtractionTests

shouldExtractGAVWithParentInheritance 0.001 s
shouldHandlePartialParentInheritance 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[1] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[2] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[3] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[4] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[5] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[6] 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[7] 0.001 s
shouldExtractGAVFromCompletePOM 0.001 s

LookupInvokerLoggingTest

testVerboseOptionSetsSystemProperty 0.001 s
testQuietOptionSetsSystemProperty 0.001 s
testNoCliOptionsDoesNotSetSystemProperty 0 s

UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests

shouldCreateMvnDirectoryFor41Upgrade 0.018 s
shouldUpgradeModelVersionWith41Option 0.017 s

MavenInvokerTest

conflictingSettings(Path, Path) 1.687 s
defaultFs(Path, Path) 4.151 s
jimFs 0 s
- Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest) -
conflictingExtensionsFromDifferentSource(Path, Path) 0.297 s
conflictingExtensionsFromSameSource(Path, Path) 0.004 s

ModelVersionUtilsTest$ModelVersionUpdateTests

shouldRemoveModelVersionFromDocument 0 s
shouldUpdateModelVersionInDocument 0 s
shouldAddModelVersionWhenMissing 0 s
shouldHandleMissingModelVersionInRemoval 0 s

ModelVersionUtilsTest$EdgeCases

shouldHandleCustomModelVersionValues 0 s
shouldHandleVariousNamespaceFormats(String)[1] 0.001 s
shouldHandleVariousNamespaceFormats(String)[2] 0.001 s
shouldHandleVariousNamespaceFormats(String)[3] 0.001 s
shouldHandleVariousNamespaceFormats(String)[4] 0.001 s
shouldHandleMissingModelVersion 0 s
shouldHandleModelVersionWithWhitespace 0 s

UpgradeContextTest

shouldHandleIndentationCorrectly 0.001 s
shouldCreateContextSuccessfully 0 s
shouldHandleIconRenderingBasedOnTerminalCapabilities 0.001 s

ApplyTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0 s

StrategyOrchestratorTest$StrategyExecutionTests

shouldAggregateResultsFromMultipleStrategies 0.002 s
shouldExecuteAllApplicableStrategies 0.003 s
shouldSkipNonApplicableStrategies 0.001 s
shouldHandleStrategyExceptionsGracefully 0.003 s
shouldHandleStrategyFailuresGracefully 0.002 s

ModelVersionUtilsTest$UpgradePathValidationTests

shouldRejectUpgradeToSameVersion 0 s
shouldValidateUpgradePathFrom400To410 0.001 s
shouldRejectUpgradeFromUnsupportedVersion 0 s
shouldRejectDowngradeFrom410To400 0 s
shouldHandleNullVersionsInUpgradeValidation 0 s
shouldRejectUpgradeToUnsupportedVersion 0 s

PluginUpgradeStrategyTest$ErrorHandlingTests

shouldHandleMalformedPOMGracefully 0.007 s

GAVTest$EqualityTests

shouldBeEqualWhenAllComponentsMatch 0.001 s
shouldNotBeEqualWhenVersionsDiffer 0 s
shouldNotBeEqualWhenGroupIdsDiffer 0 s
shouldNotBeEqualWhenArtifactIdsDiffer 0 s

Failure Details

[Summary] [Package List] [Test Cases]


jimFs
- skipped: Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)
jimFs
- skipped: Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)