Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
347 0 0 2 99.4% 26.74 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% 10.66 s
org.apache.maven.cling.invoker.cisupport 9 0 0 0 100% 0.763 s
org.apache.maven.cling.invoker.mvnup.goals 197 0 0 0 100% 5.454 s
org.apache.maven.cling.invoker 3 0 0 0 100% 0.038 s
org.apache.maven.cling.transfer 118 0 0 0 100% 1.701 s
org.apache.maven.cling.invoker.mvn 5 0 0 1 80.0% 8.116 s
org.apache.maven.cling.invoker.mvnup 13 0 0 0 100% 0.004 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% 10.66 s

org.apache.maven.cling.invoker.cisupport

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

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

- Class Tests Errors Failures Skipped Success Rate Time
ModelUpgradeStrategyTest$NamespaceUpdateTests 2 0 0 0 100% 0.045 s
CompatibilityFixStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
ModelVersionUtilsTest$UpgradePathValidationTests 6 0 0 0 100% 0.002 s
PluginUpgradeStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.069 s
CompatibilityFixStrategyTest$DuplicateDependencyFixesTests 2 0 0 0 100% 0.048 s
ApplyTest$ExecutionTests 1 0 0 0 100% 0.050 s
InferenceStrategyTest 0 0 0 0 0% 0.275 s
UpgradeWorkflowIntegrationTest$MultiModuleTests 1 0 0 0 100% 0.024 s
CompatibilityFixStrategyTest$ApplicabilityTests 5 0 0 0 100% 0.079 s
GAVUtilsTest 0 0 0 0 0% 0.325 s
PluginUpgradeStrategyTest$ErrorHandlingTests 1 0 0 0 100% 0.042 s
ModelUpgradeStrategyTest$ModelVersionUpgradeTests 3 0 0 0 100% 0.052 s
GAVTest$EqualityTests 4 0 0 0 100% 0.003 s
ApplyTest 0 0 0 0 0% 0.087 s
ApplyTest$ModificationBehaviorTests 1 0 0 0 100% 0.001 s
InferenceStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.060 s
CompatibilityFixStrategyTest 0 0 0 0 0% 0.161 s
StrategyOrchestratorTest$StrategyExecutionTests 5 0 0 0 100% 0.124 s
UpgradeWorkflowIntegrationTest$ErrorHandlingTests 2 0 0 0 100% 0.036 s
ModelUpgradeStrategyTest$ApplicabilityTests 8 0 0 0 100% 0.118 s
StrategyOrchestratorTest 0 0 0 0 0% 0.521 s
PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests 2 0 0 0 100% 0.004 s
CheckTest$IntegrationTests 1 0 0 0 100% 0.001 s
InferenceStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
StrategyOrchestratorTest$StrategyOrderingTests 1 0 0 0 100% 0.033 s
ModelVersionUtilsTest$EdgeCases 7 0 0 0 100% 0.009 s
UpgradeResultTest 0 0 0 0 0% 0.002 s
CheckTest 0 0 0 0 0% 0.021 s
GAVUtilsTest$GAVComputationTests 4 0 0 0 100% 0.067 s
ModelVersionUtilsTest$ModelVersionUpdateTests 4 0 0 0 100% 0.002 s
ModelVersionUtilsTest 0 0 0 0 0% 0.030 s
AbstractUpgradeGoalTest$PluginOptionsTests 7 0 0 0 100% 0.119 s
InferenceStrategyTest$DependencyInferenceTests 4 0 0 0 100% 0.085 s
StrategyOrchestratorTest$ResultAggregationTests 2 0 0 0 100% 0.362 s
ModelUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
PluginUpgradeStrategyTest$PluginManagementTests 1 0 0 0 100% 0.046 s
ModelVersionUtilsTest$ModelVersionValidationTests 17 0 0 0 100% 0.009 s
UpgradeWorkflowIntegrationTest 0 0 0 0 0% 0.193 s
ModelVersionUtilsTest$ModelVersionDetectionTests 4 0 0 0 100% 0.002 s
GAVTest 0 0 0 0 0% 0.012 s
GAVTest$ToStringTests 2 0 0 0 100% 0.002 s
UpgradeResultTest$EdgeCases 1 0 0 0 100% 0 s
ApplyTest$IntegrationTests 1 0 0 0 100% 0.034 s
ModelVersionUtilsTest$VersionComparisonTests 3 0 0 0 100% 0 s
GAVUtilsTest$GAVExtractionTests 10 0 0 0 100% 0.158 s
UpgradeResultTest$ResultCreationTests 3 0 0 0 100% 0 s
InferenceStrategyTest$Maven400LimitedInferenceTests 4 0 0 0 100% 0.075 s
UpgradeWorkflowIntegrationTest$CheckVsApplyTests 2 0 0 0 100% 0.067 s
GAVTest$MatchesIgnoringVersionTests 5 0 0 0 100% 0.003 s
HelpTest 7 0 0 0 100% 0.116 s
ModelVersionUtilsTest$SchemaLocationOperationTests 3 0 0 0 100% 0.002 s
UpgradeResultTest$ResultMergingTests 4 0 0 0 100% 0 s
PluginUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0 s
InferenceStrategyTest$ParentInferenceTests 3 0 0 0 100% 0.052 s
AbstractUpgradeGoalTest 0 0 0 0 0% 0.273 s
JDomUtilsTest 10 0 0 0 100% 0.014 s
PluginUpgradeStrategyTest$PluginUpgradeTests 8 0 0 0 100% 0.318 s
ModelVersionUtilsTest$InferenceEligibilityTests 3 0 0 0 100% 0.001 s
AbstractUpgradeGoalTest$TargetModelVersionTests 4 0 0 0 100% 0.061 s
CheckTest$ModificationBehaviorTests 1 0 0 0 100% 0.001 s
CheckTest$ExecutionTests 1 0 0 0 100% 0.019 s
UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests 2 0 0 0 100% 0.064 s
PluginUpgradeStrategyTest 0 0 0 0 0% 0.563 s
ModelUpgradeStrategyTest 0 0 0 0 0% 0.216 s
CompatibilityFixStrategyTest$DuplicatePluginFixesTests 1 0 0 0 100% 0.026 s
GAVUtilsTest$EdgeCases 5 0 0 0 100% 0.095 s
PluginUpgradeStrategyTest$XmlFormattingTests 2 0 0 0 100% 0.080 s
AbstractUpgradeGoalTest$MvnDirectoryCreationTests 5 0 0 0 100% 0.092 s

org.apache.maven.cling.invoker

- Class Tests Errors Failures Skipped Success Rate Time
BaseParserTest 3 0 0 0 100% 0.038 s

org.apache.maven.cling.transfer

- Class Tests Errors Failures Skipped Success Rate Time
FileSizeFormatTest 115 0 0 0 100% 0.080 s
SimplexTransferListenerTest 2 0 0 0 100% 1.511 s
ConsoleMavenTransferListenerTest 1 0 0 0 100% 0.110 s

org.apache.maven.cling.invoker.mvn

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

org.apache.maven.cling.invoker.mvnup

- Class Tests Errors Failures Skipped Success Rate Time
PluginUpgradeCliTest 13 0 0 0 100% 0.004 s

Test Cases

[Summary] [Package List] [Test Cases]

ModelUpgradeStrategyTest$NamespaceUpdateTests

shouldUpdateNamespaceRecursively 0.022 s
shouldConvertModulesToSubprojectsIn410 0.022 s

CompatibilityFixStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

ModelVersionUtilsTest$UpgradePathValidationTests

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

PluginUpgradeStrategyTest$ApplicabilityTests

shouldBeApplicableByDefaultWhenNoSpecificOptions 0.021 s
shouldBeApplicableWhenAllOptionSpecified 0.013 s
shouldBeApplicableWhenPluginsOptionTrue 0.020 s
shouldNotBeApplicableWhenPluginsOptionFalse 0.015 s

CompatibilityFixStrategyTest$DuplicateDependencyFixesTests

shouldRemoveDuplicateDependenciesInDependencyManagement 0.027 s
shouldRemoveDuplicateDependenciesInRegularDependencies 0.021 s

ApplyTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.050 s

UpgradeWorkflowIntegrationTest$MultiModuleTests

shouldHandleMultiModuleProject 0.024 s

CompatibilityFixStrategyTest$ApplicabilityTests

shouldNotBeApplicableWhenModelOptionFalse 0.019 s
shouldHandleAllOptionsDisabled 0.015 s
shouldBeApplicableByDefaultWhenNoSpecificOptions 0.015 s
shouldBeApplicableWhenAllOptionSpecified 0.014 s
shouldBeApplicableWhenModelOptionTrue 0.014 s

PluginUpgradeStrategyTest$ErrorHandlingTests

shouldHandleMalformedPOMGracefully 0.041 s

ModelUpgradeStrategyTest$ModelVersionUpgradeTests

shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[1] 0.021 s
shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[2] 0.014 s
shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[3] 0.015 s

GAVTest$EqualityTests

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

ApplyTest$ModificationBehaviorTests

shouldSaveModificationsToDisk 0.001 s

InferenceStrategyTest$ApplicabilityTests

shouldBeApplicableWhenInferOptionTrue 0.019 s
shouldNotBeApplicableWhenInferOptionFalse 0.013 s
shouldBeApplicableByDefaultWhenNoSpecificOptions 0.013 s
shouldBeApplicableWhenAllOptionSpecified 0.013 s

StrategyOrchestratorTest$StrategyExecutionTests

shouldAggregateResultsFromMultipleStrategies 0.027 s
shouldExecuteAllApplicableStrategies 0.027 s
shouldSkipNonApplicableStrategies 0.027 s
shouldHandleStrategyExceptionsGracefully 0.025 s
shouldHandleStrategyFailuresGracefully 0.017 s

UpgradeWorkflowIntegrationTest$ErrorHandlingTests

shouldHandleMissingPomGracefully 0.012 s
shouldHandleMalformedPomGracefully 0.023 s

ModelUpgradeStrategyTest$ApplicabilityTests

shouldHandleConflictingOptionCombinations 0.012 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[1] 0.015 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[2] 0.014 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[3] 0.013 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[4] 0.014 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[5] 0.014 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[6] 0.014 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[7] 0.016 s

PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests

shouldHaveValidPluginUpgradeDefinitions 0.001 s
shouldHavePredefinedPluginUpgrades 0 s

CheckTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0 s

InferenceStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0.001 s

StrategyOrchestratorTest$StrategyOrderingTests

shouldExecuteStrategiesInPriorityOrder 0.032 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.001 s

GAVUtilsTest$GAVComputationTests

shouldSkipPOMsWithIncompleteGAVs 0.019 s
shouldComputeGAVsFromMultiplePOMs 0.020 s
shouldHandleEmptyPOMMap 0.012 s
shouldDeduplicateIdenticalGAVs 0.014 s

ModelVersionUtilsTest$ModelVersionUpdateTests

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

AbstractUpgradeGoalTest$PluginOptionsTests

shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[1] 0.017 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[2] 0.015 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[3] 0.020 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[4] 0.014 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[5] 0.015 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[6] 0.020 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[7] 0.014 s

InferenceStrategyTest$DependencyInferenceTests

shouldKeepDependencyVersionForExternalArtifact 0.015 s
shouldHandlePluginDependencies 0.016 s
shouldRemoveDependencyVersionForProjectArtifact 0.038 s
shouldKeepDependencyVersionWhenVersionMismatch 0.015 s

StrategyOrchestratorTest$ResultAggregationTests

shouldHandleOverlappingPOMModifications 0.327 s
shouldReturnEmptyResultWhenNoStrategiesApplicable 0.032 s

ModelUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

PluginUpgradeStrategyTest$PluginManagementTests

shouldAddPluginManagementBeforeExistingPluginsSection 0.046 s

ModelVersionUtilsTest$ModelVersionValidationTests

shouldRejectUnsupportedModelVersions(String)[1] 0 s
shouldRejectUnsupportedModelVersions(String)[2] 0 s
shouldRejectUnsupportedModelVersions(String)[3] 0 s
shouldRejectUnsupportedModelVersions(String)[4] 0 s
shouldRejectUnsupportedModelVersions(String)[5] 0.001 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 s
shouldRejectInvalidVersionFormats(String, String)[6] 0.001 s
shouldRejectInvalidVersionFormats(String, String)[7] 0 s
shouldRejectInvalidVersionFormats(String, String)[8] 0 s
shouldRejectInvalidVersionFormats(String, String)[9] 0.001 s
shouldRejectInvalidVersionFormats(String, String)[10] 0 s
shouldValidateSupportedModelVersions(String)[1] 0.001 s
shouldValidateSupportedModelVersions(String)[2] 0 s

ModelVersionUtilsTest$ModelVersionDetectionTests

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

GAVTest$ToStringTests

shouldFormatAsGroupIdArtifactIdVersion 0.001 s
shouldHandleNullComponentsGracefully 0 s

UpgradeResultTest$EdgeCases

shouldHandleLargeNumberOfPOMsEfficiently 0 s

ApplyTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0.034 s

ModelVersionUtilsTest$VersionComparisonTests

shouldCompareVersionsCorrectly 0 s
shouldHandleNullVersionsInComparison 0 s
shouldHandleNewerThan410Versions 0 s

CIDetectorHelperTest

jenkins 0.091 s
teamcity 0.083 s
circleci 0.083 s
github 0.083 s
travisDebug 0.083 s
travis 0.080 s
generic 0.083 s
none 0.091 s
githubDebug 0.084 s

FileSizeFormatTest

testSize(long, String)[1] 0.004 s
testSize(long, String)[2] 0.001 s
testSize(long, String)[3] 0 s
testSize(long, String)[4] 0 s
testSize(long, String)[5] 0 s
testSize(long, String)[6] 0 s
testSize(long, String)[7] 0.001 s
testSize(long, String)[8] 0 s
testSize(long, String)[9] 0.001 s
testSize(long, String)[10] 0 s
testSize(long, String)[11] 0.001 s
testSize(long, String)[12] 0 s
testSize(long, String)[13] 0 s
testSize(long, String)[14] 0 s
testSize(long, String)[15] 0 s
testSize(long, String)[16] 0.001 s
testSize(long, String)[17] 0 s
testSize(long, String)[18] 0.001 s
testSize(long, String)[19] 0 s
testSize(long, String)[20] 0.001 s
testFormatRateEdgeCases 0.002 s
testFormatRate 0.001 s
testNegativeProgressedSize 0.001 s
testFormatRateLargeValues 0 s
testNegativeProgressedSizeBiggerThanSize 0.001 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 s
testFormatRateInvalidValues 0 s
testProgressedSizeWithSize(long, long, String)[1] 0.001 s
testProgressedSizeWithSize(long, long, String)[2] 0.001 s
testProgressedSizeWithSize(long, long, String)[3] 0 s
testProgressedSizeWithSize(long, long, String)[4] 0 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.001 s
testProgressedSizeWithSize(long, long, String)[9] 0 s
testProgressedSizeWithSize(long, long, String)[10] 0 s
testProgressedSizeWithSize(long, long, String)[11] 0 s
testProgressedSizeWithSize(long, long, String)[12] 0.001 s
testProgressedSizeWithSize(long, long, String)[13] 0 s
testProgressedSizeWithSize(long, long, String)[14] 0.001 s
testProgressedSizeWithSize(long, long, String)[15] 0 s
testProgressedSizeWithSize(long, long, String)[16] 0.001 s
testProgressedSizeWithSize(long, long, String)[17] 0 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.001 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[3] 0 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[8] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[9] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[10] 0.001 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 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[20] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[21] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[22] 0.001 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[28] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[29] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[30] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[31] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[32] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[33] 0 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[42] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[43] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[44] 0 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 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[57] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[58] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[59] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[60] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[61] 0 s
testFormatRateThresholds 0 s

GAVUtilsTest$GAVExtractionTests

shouldExtractGAVWithParentInheritance 0.013 s
shouldHandlePartialParentInheritance 0.019 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[1] 0.019 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[2] 0.022 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[3] 0.014 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[4] 0.014 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[5] 0.015 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[6] 0.013 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[7] 0.013 s
shouldExtractGAVFromCompletePOM 0.014 s

UpgradeResultTest$ResultCreationTests

shouldCreateSuccessResult 0 s
shouldCreateEmptyResult 0 s
shouldCreateFailureResult 0 s

ResidentMavenInvokerTest

defaultFs(Path, Path) 10.65 s
jimFs 0 s
- Until we move off fully from File -

InferenceStrategyTest$Maven400LimitedInferenceTests

shouldHandlePartialInheritanceIn400 0.015 s
shouldRemoveChildGroupIdAndVersionWhenTheyMatchParentIn400 0.020 s
shouldNotApplyDependencyInferenceTo400Models 0.018 s
shouldKeepChildGroupIdWhenItDiffersFromParentIn400 0.020 s

UpgradeWorkflowIntegrationTest$CheckVsApplyTests

checkShouldNotModifyFiles 0.036 s
applyShouldModifyFiles 0.031 s

GAVTest$MatchesIgnoringVersionTests

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

HelpTest

testHelpIncludesForceAndYesOptions 0.015 s
testHelpExecuteDoesNotThrow 0.018 s
testHelpIncludesAllOption 0.017 s
testHelpLogsMessages 0.020 s
testHelpExecuteReturnsZero 0.017 s
testHelpIncludesDefaultBehavior 0.014 s
testHelpIncludesPluginsOption 0.014 s

ModelVersionUtilsTest$SchemaLocationOperationTests

shouldGetSchemaLocationFor400 0 s
shouldHandleUnknownModelVersionInSchemaLocation 0 s
shouldGetSchemaLocationForModelVersion 0 s

UpgradeResultTest$ResultMergingTests

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

PluginUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

BaseParserTest

specials 0.034 s
happy 0.002 s
notHappy 0.002 s

MavenInvokerTest

conflictingSettings(Path, Path) 3.110 s
defaultFs(Path, Path) 4.627 s
jimFs 0 s
- Until we move off fully from File -
conflictingExtensionsFromDifferentSource(Path, Path) 0.369 s
conflictingExtensionsFromSameSource(Path, Path) 0.009 s

InferenceStrategyTest$ParentInferenceTests

shouldNotTrimParentElementsWhenParentIsExternal 0.017 s
shouldKeepParentGroupIdWhenChildHasExplicitGroupId 0.017 s
shouldRemoveParentGroupIdWhenChildDoesntHaveExplicitGroupId 0.018 s

JDomUtilsTest

testProperClosingTagFormattingWithPluginManagement 0.006 s
testRealWorldScenarioWithPluginManagementAddition 0.003 s
testAddElementWithCorrectIndentation 0 s
testDetectIndentationFallbackToDefault 0.001 s
testDetectIndentationWithMixedContent 0 s
testDetectFourSpaceIndentation 0.001 s
testDetectIndentationFromBuildElement 0 s
testDetectIndentationConsistency 0.001 s
testDetectTwoSpaceIndentation 0 s
testDetectTabIndentation 0.001 s

SimplexTransferListenerTest

handlesAbsentTransferSource 1.000 s
cancellation 0.508 s

PluginUpgradeStrategyTest$PluginUpgradeTests

shouldNotUpgradeWhenPropertyNotFound 0.069 s
shouldUpgradePluginWithoutExplicitGroupId 0.039 s
shouldUpgradePluginVersionWhenBelowMinimum 0.048 s
shouldNotModifyPluginWhenVersionAlreadySufficient 0.038 s
shouldUpgradePluginInPluginManagement 0.032 s
shouldNotUpgradeWhenVersionAlreadyHigher 0.033 s
shouldNotUpgradePluginWithoutVersion 0.028 s
shouldUpgradePluginWithPropertyVersion 0.027 s

ModelVersionUtilsTest$InferenceEligibilityTests

shouldHandleNullVersionInInferenceEligibility 0 s
shouldDetermineInferenceEligibilityCorrectly 0 s
shouldRejectInferenceForUnsupportedVersions 0 s

ConsoleMavenTransferListenerTest

testTransferProgressedWithPrintResourceNames 0.109 s

AbstractUpgradeGoalTest$TargetModelVersionTests

shouldPrioritizeExplicitModelOverAllOption 0.017 s
shouldDefaultTo400WhenNoSpecificOptions 0.015 s
shouldUse410WhenAllOptionSpecified 0.014 s
shouldUseExplicitModelVersionWhenProvided 0.014 s

CheckTest$ModificationBehaviorTests

shouldNotSaveModificationsToDisk 0 s

CheckTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.019 s

UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests

shouldNotCreateMvnDirectoryFor41Upgrade 0.037 s
shouldUpgradeModelVersionWith41Option 0.027 s

CompatibilityFixStrategyTest$DuplicatePluginFixesTests

shouldRemoveDuplicatePluginsInPluginManagement 0.026 s

PluginUpgradeCliTest

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

GAVUtilsTest$EdgeCases

shouldHandleDeeplyNestedParentInheritance 0.018 s
shouldHandlePOMWithSpecialCharacters 0.016 s
shouldHandleLargeNumberOfPOMsEfficiently 0.028 s
shouldHandlePOMWithEmptyElements 0.018 s
shouldHandlePOMWithWhitespaceElements 0.014 s

PluginUpgradeStrategyTest$XmlFormattingTests

shouldFormatPluginManagementWithProperIndentationWhenAdded 0.047 s
shouldFormatPluginManagementWithProperIndentation 0.031 s

AbstractUpgradeGoalTest$MvnDirectoryCreationTests

shouldCreateMvnDirectoryWhenModelVersionNot410 0.017 s
shouldNotCreateMvnDirectoryWhenModelVersion410 0.020 s
shouldCreateMvnDirectoryForCustomModelVersions 0.016 s
shouldHandleMvnDirectoryCreationFailureGracefully 0.016 s
shouldNotOverwriteExistingMvnDirectory 0.021 s

Failure Details

[Summary] [Package List] [Test Cases]


jimFs
- skipped: Until we move off fully from File
jimFs
- skipped: Until we move off fully from File