Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
367 0 0 2 99.5% 26.21 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.35 s
org.apache.maven.cling.invoker.cisupport 9 0 0 0 100% 0.636 s
org.apache.maven.cling.invoker.mvnup.goals 202 0 0 0 100% 1.339 s
org.apache.maven.cling.invoker 6 0 0 0 100% 0.038 s
org.apache.maven.cling.transfer 118 0 0 0 100% 1.686 s
org.apache.maven.cling.invoker.mvn 5 0 0 1 80.0% 12.10 s
org.apache.maven.cling.invoker.mvnup 25 0 0 0 100% 0.066 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.35 s

org.apache.maven.cling.invoker.cisupport

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

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

- Class Tests Errors Failures Skipped Success Rate Time
ModelUpgradeStrategyTest$NamespaceUpdateTests 2 0 0 0 100% 0.017 s
CompatibilityFixStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
ModelVersionUtilsTest$UpgradePathValidationTests 6 0 0 0 100% 0.001 s
PluginUpgradeStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.002 s
CompatibilityFixStrategyTest$DuplicateDependencyFixesTests 2 0 0 0 100% 0.004 s
ApplyTest$ExecutionTests 1 0 0 0 100% 0.025 s
InferenceStrategyTest 0 0 0 0 0% 0.030 s
UpgradeWorkflowIntegrationTest$MultiModuleTests 1 0 0 0 100% 0.010 s
CompatibilityFixStrategyTest$ApplicabilityTests 5 0 0 0 100% 0.006 s
GAVUtilsTest 0 0 0 0 0% 0.024 s
PluginUpgradeStrategyTest$ErrorHandlingTests 1 0 0 0 100% 0.009 s
ModelUpgradeStrategyTest$ModelVersionUpgradeTests 3 0 0 0 100% 0.007 s
GAVTest$EqualityTests 4 0 0 0 100% 0.005 s
ApplyTest 0 0 0 0 0% 0.055 s
ApplyTest$ModificationBehaviorTests 1 0 0 0 100% 0.001 s
InferenceStrategyTest$ApplicabilityTests 4 0 0 0 100% 0.003 s
CompatibilityFixStrategyTest 0 0 0 0 0% 0.017 s
StrategyOrchestratorTest$StrategyExecutionTests 5 0 0 0 100% 0.017 s
UpgradeWorkflowIntegrationTest$ErrorHandlingTests 2 0 0 0 100% 0.007 s
ModelUpgradeStrategyTest$ApplicabilityTests 8 0 0 0 100% 0.008 s
StrategyOrchestratorTest 0 0 0 0 0% 0.247 s
PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests 2 0 0 0 100% 0.001 s
CheckTest$IntegrationTests 1 0 0 0 100% 0 s
ModelUpgradeStrategyTest$DowngradeHandlingTests 2 0 0 0 100% 0.003 s
InferenceStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0.001 s
StrategyOrchestratorTest$StrategyOrderingTests 1 0 0 0 100% 0.005 s
ModelVersionUtilsTest$EdgeCases 7 0 0 0 100% 0.008 s
UpgradeResultTest 0 0 0 0 0% 0.003 s
ModelUpgradeStrategyTest$PhaseUpgradeTests 3 0 0 0 100% 0.009 s
CheckTest 0 0 0 0 0% 0.004 s
GAVUtilsTest$GAVComputationTests 4 0 0 0 100% 0.003 s
ModelVersionUtilsTest$ModelVersionUpdateTests 4 0 0 0 100% 0.003 s
ModelVersionUtilsTest 0 0 0 0 0% 0.029 s
AbstractUpgradeGoalTest$PluginOptionsTests 7 0 0 0 100% 0.009 s
InferenceStrategyTest$DependencyInferenceTests 4 0 0 0 100% 0.007 s
StrategyOrchestratorTest$ResultAggregationTests 2 0 0 0 100% 0.223 s
ModelUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0 s
PluginUpgradeStrategyTest$PluginManagementTests 1 0 0 0 100% 0.010 s
ModelVersionUtilsTest$ModelVersionValidationTests 17 0 0 0 100% 0.010 s
UpgradeWorkflowIntegrationTest 0 0 0 0 0% 0.051 s
ModelVersionUtilsTest$ModelVersionDetectionTests 4 0 0 0 100% 0.002 s
GAVTest 0 0 0 0 0% 0.015 s
GAVTest$ToStringTests 2 0 0 0 100% 0.004 s
UpgradeResultTest$EdgeCases 1 0 0 0 100% 0.001 s
ApplyTest$IntegrationTests 1 0 0 0 100% 0.027 s
ModelVersionUtilsTest$VersionComparisonTests 3 0 0 0 100% 0.001 s
GAVUtilsTest$GAVExtractionTests 10 0 0 0 100% 0.009 s
UpgradeResultTest$ResultCreationTests 3 0 0 0 100% 0 s
InferenceStrategyTest$Maven400LimitedInferenceTests 4 0 0 0 100% 0.009 s
UpgradeWorkflowIntegrationTest$CheckVsApplyTests 2 0 0 0 100% 0.016 s
GAVTest$MatchesIgnoringVersionTests 5 0 0 0 100% 0.005 s
HelpTest 6 0 0 0 100% 0.005 s
ModelVersionUtilsTest$SchemaLocationOperationTests 3 0 0 0 100% 0.001 s
UpgradeResultTest$ResultMergingTests 4 0 0 0 100% 0.001 s
PluginUpgradeStrategyTest$StrategyDescriptionTests 1 0 0 0 100% 0 s
InferenceStrategyTest$ParentInferenceTests 4 0 0 0 100% 0.008 s
AbstractUpgradeGoalTest 0 0 0 0 0% 0.023 s
JDomUtilsTest 10 0 0 0 100% 0.011 s
PluginUpgradeStrategyTest$PluginUpgradeTests 8 0 0 0 100% 0.063 s
ModelVersionUtilsTest$InferenceEligibilityTests 3 0 0 0 100% 0.001 s
AbstractUpgradeGoalTest$TargetModelVersionTests 4 0 0 0 100% 0.003 s
CheckTest$ModificationBehaviorTests 1 0 0 0 100% 0.001 s
CheckTest$ExecutionTests 1 0 0 0 100% 0.002 s
UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests 2 0 0 0 100% 0.017 s
PluginUpgradeStrategyTest 0 0 0 0 0% 0.128 s
ModelUpgradeStrategyTest 0 0 0 0 0% 0.046 s
CompatibilityFixStrategyTest$DuplicatePluginFixesTests 1 0 0 0 100% 0.004 s
GAVUtilsTest$EdgeCases 5 0 0 0 100% 0.011 s
PluginUpgradeStrategyTest$XmlFormattingTests 2 0 0 0 100% 0.041 s
AbstractUpgradeGoalTest$MvnDirectoryCreationTests 5 0 0 0 100% 0.009 s

org.apache.maven.cling.invoker

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

org.apache.maven.cling.transfer

- Class Tests Errors Failures Skipped Success Rate Time
FileSizeFormatTest 115 0 0 0 100% 0.058 s
SimplexTransferListenerTest 2 0 0 0 100% 1.508 s
ConsoleMavenTransferListenerTest 1 0 0 0 100% 0.120 s

org.apache.maven.cling.invoker.mvn

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

org.apache.maven.cling.invoker.mvnup

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

Test Cases

[Summary] [Package List] [Test Cases]

ModelUpgradeStrategyTest$NamespaceUpdateTests

shouldUpdateNamespaceRecursively 0.002 s
shouldConvertModulesToSubprojectsIn410 0.001 s

CompatibilityFixStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0.001 s

ModelVersionUtilsTest$UpgradePathValidationTests

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

PluginUpgradeStrategyTest$ApplicabilityTests

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

CompatibilityFixStrategyTest$DuplicateDependencyFixesTests

shouldRemoveDuplicateDependenciesInDependencyManagement 0.002 s
shouldRemoveDuplicateDependenciesInRegularDependencies 0.002 s

ApplyTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.025 s

UpgradeWorkflowIntegrationTest$MultiModuleTests

shouldHandleMultiModuleProject 0.010 s

CompatibilityFixStrategyTest$ApplicabilityTests

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

PluginUpgradeStrategyTest$ErrorHandlingTests

shouldHandleMalformedPOMGracefully 0.009 s

ModelUpgradeStrategyTest$ModelVersionUpgradeTests

shouldHandleVariousModelVersionUpgradeScenarios(String, String, String, String, String, int, String)[1] 0.004 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

GAVTest$EqualityTests

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

ApplyTest$ModificationBehaviorTests

shouldSaveModificationsToDisk 0 s

InferenceStrategyTest$ApplicabilityTests

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

StrategyOrchestratorTest$StrategyExecutionTests

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

UpgradeWorkflowIntegrationTest$ErrorHandlingTests

shouldHandleMissingPomGracefully 0.002 s
shouldHandleMalformedPomGracefully 0.005 s

ModelUpgradeStrategyTest$ApplicabilityTests

shouldHandleConflictingOptionCombinations 0 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 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[4] 0 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[5] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[6] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[7] 0.001 s

PluginUpgradeStrategyTest$PluginUpgradeConfigurationTests

shouldHaveValidPluginUpgradeDefinitions 0.001 s
shouldHavePredefinedPluginUpgrades 0 s

CheckTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0 s

ModelUpgradeStrategyTest$DowngradeHandlingTests

shouldSucceedWhenUpgrading 0.002 s
shouldFailWhenAttemptingDowngrade 0.001 s

InferenceStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0.001 s

LookupInvokerLoggingTest

testVerboseOptionSetsSystemProperty 0.004 s
testQuietOptionSetsSystemProperty 0.001 s
testNoCliOptionsDoesNotSetSystemProperty 0.001 s

StrategyOrchestratorTest$StrategyOrderingTests

shouldExecuteStrategiesInPriorityOrder 0.004 s

ModelVersionUtilsTest$EdgeCases

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

UpgradeContextTest

shouldHandleIndentationCorrectly 0.001 s
shouldCreateContextSuccessfully 0 s
shouldHandleIconRenderingBasedOnTerminalCapabilities 0.001 s

ModelUpgradeStrategyTest$PhaseUpgradeTests

shouldNotUpgradePhasesWhenUpgradingTo400 0.001 s
shouldPreserveNonDeprecatedPhases 0.004 s
shouldUpgradeDeprecatedPhasesIn410 0.003 s

GAVUtilsTest$GAVComputationTests

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

ModelVersionUtilsTest$ModelVersionUpdateTests

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

AbstractUpgradeGoalTest$PluginOptionsTests

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

InferenceStrategyTest$DependencyInferenceTests

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

StrategyOrchestratorTest$ResultAggregationTests

shouldHandleOverlappingPOMModifications 0.218 s
shouldReturnEmptyResultWhenNoStrategiesApplicable 0.004 s

ModelUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

PluginUpgradeStrategyTest$PluginManagementTests

shouldAddPluginManagementBeforeExistingPluginsSection 0.010 s

ModelVersionUtilsTest$ModelVersionValidationTests

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

ModelVersionUtilsTest$ModelVersionDetectionTests

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

GAVTest$ToStringTests

shouldFormatAsGroupIdArtifactIdVersion 0.001 s
shouldHandleNullComponentsGracefully 0.001 s

UpgradeResultTest$EdgeCases

shouldHandleLargeNumberOfPOMsEfficiently 0.001 s

ApplyTest$IntegrationTests

shouldInheritBehaviorFromAbstractUpgradeGoal 0.027 s

ModelVersionUtilsTest$VersionComparisonTests

shouldCompareVersionsCorrectly 0.001 s
shouldHandleNullVersionsInComparison 0 s
shouldHandleNewerThan410Versions 0 s

CIDetectorHelperTest

jenkins 0.073 s
teamcity 0.069 s
circleci 0.070 s
github 0.071 s
travisDebug 0.071 s
travis 0.073 s
generic 0.071 s
none 0.066 s
githubDebug 0.072 s

FileSizeFormatTest

testSize(long, String)[1] 0.002 s
testSize(long, String)[2] 0 s
testSize(long, String)[3] 0.001 s
testSize(long, String)[4] 0 s
testSize(long, String)[5] 0 s
testSize(long, String)[6] 0 s
testSize(long, String)[7] 0 s
testSize(long, String)[8] 0.001 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 s
testSize(long, String)[14] 0 s
testSize(long, String)[15] 0 s
testSize(long, String)[16] 0 s
testSize(long, String)[17] 0 s
testSize(long, String)[18] 0 s
testSize(long, String)[19] 0.001 s
testSize(long, String)[20] 0 s
testFormatRateEdgeCases 0.002 s
testFormatRate 0 s
testNegativeProgressedSize 0 s
testFormatRateLargeValues 0 s
testNegativeProgressedSizeBiggerThanSize 0.001 s
testProgressedSizeWithoutSize(long, String)[1] 0 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 s
testProgressedSizeWithSize(long, long, String)[2] 0 s
testProgressedSizeWithSize(long, long, String)[3] 0.001 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 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 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.001 s
testProgressedSizeWithSize(long, long, String)[21] 0 s
testProgressedSizeWithSize(long, long, String)[22] 0 s
testNegativeSize 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[1] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[2] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[3] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[4] 0.001 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[11] 0.001 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 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[30] 0 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[43] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[44] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[45] 0.001 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[57] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[58] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[59] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[60] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[61] 0 s
testFormatRateThresholds 0 s

GAVUtilsTest$GAVExtractionTests

shouldExtractGAVWithParentInheritance 0 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 s
shouldExtractGAVFromCompletePOM 0.001 s

UpgradeResultTest$ResultCreationTests

shouldCreateSuccessResult 0 s
shouldCreateEmptyResult 0 s
shouldCreateFailureResult 0 s

ResidentMavenInvokerTest

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

InferenceStrategyTest$Maven400LimitedInferenceTests

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

UpgradeWorkflowIntegrationTest$CheckVsApplyTests

checkShouldNotModifyFiles 0.008 s
applyShouldModifyFiles 0.008 s

GAVTest$MatchesIgnoringVersionTests

shouldMatchWhenAllComponentsIdentical 0.001 s
shouldNotMatchWhenArtifactIdsDiffer 0.001 s
shouldReturnFalseWhenOtherGAVIsNull 0.001 s
shouldMatchWhenGroupIdAndArtifactIdSameButVersionDiffers 0.001 s
shouldNotMatchWhenGroupIdsDiffer 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

ModelVersionUtilsTest$SchemaLocationOperationTests

shouldGetSchemaLocationFor400 0 s
shouldHandleUnknownModelVersionInSchemaLocation 0 s
shouldGetSchemaLocationForModelVersion 0 s

UpgradeResultTest$ResultMergingTests

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

PluginUpgradeStrategyTest$StrategyDescriptionTests

shouldProvideMeaningfulDescription 0 s

BaseParserTest

specials 0.022 s
happy 0.002 s
notHappy 0.002 s

MavenInvokerTest

conflictingSettings(Path, Path) 3.970 s
defaultFs(Path, Path) 7.532 s
jimFs 0 s
- Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest) -
conflictingExtensionsFromDifferentSource(Path, Path) 0.594 s
conflictingExtensionsFromSameSource(Path, Path) 0.006 s

InferenceStrategyTest$ParentInferenceTests

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

JDomUtilsTest

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

SimplexTransferListenerTest

handlesAbsentTransferSource 0.996 s
cancellation 0.507 s

PluginUpgradeStrategyTest$PluginUpgradeTests

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

ModelVersionUtilsTest$InferenceEligibilityTests

shouldHandleNullVersionInInferenceEligibility 0 s
shouldDetermineInferenceEligibilityCorrectly 0.001 s
shouldRejectInferenceForUnsupportedVersions 0 s

ConsoleMavenTransferListenerTest

testTransferProgressedWithPrintResourceNames 0.120 s

AbstractUpgradeGoalTest$TargetModelVersionTests

shouldPrioritizeExplicitModelOverAllOption 0.001 s
shouldDefaultTo400WhenNoSpecificOptions 0.001 s
shouldUse410WhenAllOptionSpecified 0.001 s
shouldUseExplicitModelVersionWhenProvided 0 s

CheckTest$ModificationBehaviorTests

shouldNotSaveModificationsToDisk 0.001 s

CheckTest$ExecutionTests

shouldLogAppropriateHeaderMessage 0.002 s

UpgradeWorkflowIntegrationTest$ModelVersionUpgradeTests

shouldCreateMvnDirectoryFor41Upgrade 0.009 s
shouldUpgradeModelVersionWith41Option 0.008 s

CompatibilityFixStrategyTest$DuplicatePluginFixesTests

shouldRemoveDuplicatePluginsInPluginManagement 0.003 s

PluginUpgradeCliTest

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

ConsoleIconTest

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

GAVUtilsTest$EdgeCases

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

PluginUpgradeStrategyTest$XmlFormattingTests

shouldFormatPluginManagementWithProperIndentationWhenAdded 0.031 s
shouldFormatPluginManagementWithProperIndentation 0.010 s

AbstractUpgradeGoalTest$MvnDirectoryCreationTests

shouldCreateMvnDirectoryWhenModelVersionNot410 0.002 s
shouldCreateMvnDirectoryForCustomModelVersions 0.002 s
shouldHandleMvnDirectoryCreationFailureGracefully 0.001 s
shouldNotOverwriteExistingMvnDirectory 0.002 s
shouldCreateMvnDirectoryWhenModelVersion410 0.001 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)