Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
385 0 0 2 99.5% 13.22 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
(default package) 201 0 0 0 100% 0.799 s
org.apache.maven.cling.invoker.mvn.resident 2 0 0 1 50.0% 5.051 s
org.apache.maven.cling.invoker.cisupport 9 0 0 0 100% 0.492 s
org.apache.maven.cling.invoker.mvnup.goals 26 0 0 0 100% 0.012 s
org.apache.maven.cling.invoker 6 0 0 0 100% 0.052 s
org.apache.maven.cling.transfer 118 0 0 0 100% 1.702 s
org.apache.maven.cling.invoker.mvn 5 0 0 1 80.0% 5.085 s
org.apache.maven.cling.invoker.mvnup 14 0 0 0 100% 0.022 s
Maven 4.0 4 0 0 0 100% 0.004 s

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

(default package)

- Class Tests Errors Failures Skipped Success Rate Time
Result Aggregation 2 0 0 0 100% 0.099 s
Strategy Execution 5 0 0 0 100% 0.009 s
Strategy Ordering 1 0 0 0 100% 0.002 s
Dependency Inference 4 0 0 0 100% 0.007 s
Applicability 4 0 0 0 100% 0.002 s
Strategy Description 1 0 0 0 100% 0 s
Parent Inference 4 0 0 0 100% 0.005 s
ConsoleIcon 8 0 0 0 100% 0.071 s
Result Merging 4 0 0 0 100% 0.001 s
Result Creation 3 0 0 0 100% 0 s
Edge Cases 1 0 0 0 100% 0 s
Schema Location Operations 4 0 0 0 100% 0 s
Model Version Detection 6 0 0 0 100% 0.003 s
Model Version Validation 17 0 0 0 100% 0.003 s
Model Version Updates 6 0 0 0 100% 0.006 s
Edge Cases 7 0 0 0 100% 0.004 s
Upgrade Path Validation 16 0 0 0 100% 0.003 s
Inference Eligibility 5 0 0 0 100% 0 s
Version Comparison 3 0 0 0 100% 0 s
Modification Behavior 1 0 0 0 100% 0 s
Integration with AbstractUpgradeGoal 1 0 0 0 100% 0 s
Execution 1 0 0 0 100% 0.001 s
XML Formatting 2 0 0 0 100% 0.037 s
Strategy Description 1 0 0 0 100% 0 s
Plugin Upgrades 8 0 0 0 100% 0.055 s
Applicability 4 0 0 0 100% 0.003 s
Error Handling 1 0 0 0 100% 0.006 s
Plugin Management 1 0 0 0 100% 0.009 s
Plugin Upgrade Configuration 2 0 0 0 100% 0 s
Model Version Upgrades 3 0 0 0 100% 0.003 s
Applicability 10 0 0 0 100% 0.005 s
Strategy Description 1 0 0 0 100% 0 s
Namespace Updates 2 0 0 0 100% 0 s
Downgrade Handling 2 0 0 0 100% 0.002 s
Phase Upgrades 3 0 0 0 100% 0.005 s
Modification Behavior 1 0 0 0 100% 0 s
Execution 1 0 0 0 100% 0.010 s
Integration with AbstractUpgradeGoal 1 0 0 0 100% 0.001 s
Target Model Version Determination 4 0 0 0 100% 0.299 s
Plugin Options Handling 7 0 0 0 100% 0.041 s
mvn Directory Creation 5 0 0 0 100% 0.013 s
Duplicate Dependency Fixes 2 0 0 0 100% 0.008 s
Applicability 5 0 0 0 100% 0.005 s
Strategy Description 1 0 0 0 100% 0.001 s
Duplicate Plugin Fixes 1 0 0 0 100% 0.002 s
Error Handling 2 0 0 0 100% 0.016 s
Check vs Apply Behavior 2 0 0 0 100% 0.015 s
Multi-module Projects 1 0 0 0 100% 0.007 s
Model Version Upgrade 2 0 0 0 100% 0.018 s
UpgradeContext 3 0 0 0 100% 0.005 s
Artifact Extraction 10 0 0 0 100% 0.008 s
Artifact Computation 4 0 0 0 100% 0.003 s
Edge Cases 5 0 0 0 100% 0.006 s

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

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

org.apache.maven.cling.invoker.cisupport

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

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

- Class Tests Errors Failures Skipped Success Rate Time
DomUtilsTest 20 0 0 0 100% 0.006 s
HelpTest 6 0 0 0 100% 0.006 s

org.apache.maven.cling.invoker

- Class Tests Errors Failures Skipped Success Rate Time
BaseParserTest 3 0 0 0 100% 0.049 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.547 s
FileSizeFormatTest 115 0 0 0 100% 0.095 s
ConsoleMavenTransferListenerTest 1 0 0 0 100% 0.060 s

org.apache.maven.cling.invoker.mvn

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

org.apache.maven.cling.invoker.mvnup

- Class Tests Errors Failures Skipped Success Rate Time
PluginUpgradeCliTest 14 0 0 0 100% 0.022 s

Maven 4.0

- Class Tests Errors Failures Skipped Success Rate Time
0 Limited Inference 4 0 0 0 100% 0.004 s

Test Cases

[Summary] [Package List] [Test Cases]

Result Aggregation

shouldHandleOverlappingPOMModifications 0.097 s
shouldReturnEmptyResultWhenNoStrategiesApplicable 0.002 s

Strategy Execution

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

Strategy Ordering

shouldExecuteStrategiesInPriorityOrder 0.002 s

CIDetectorHelperTest

jenkins 0.054 s
teamcity 0.051 s
circleci 0.050 s
github 0.058 s
travisDebug 0.059 s
travis 0.058 s
generic 0.055 s
none 0.051 s
githubDebug 0.051 s

PluginUpgradeCliTest

testInterpolationWithPluginsOption 0.001 s
testCheckGoalWithPlugins 0 s
testPluginsOptionWithOtherFlags 0 s
helpMentionsInferInDefault 0.018 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.033 s
cancellation 0.511 s

Dependency Inference

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

Applicability

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

Strategy Description

shouldProvideMeaningfulDescription 0 s

0 Limited Inference

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

Parent Inference

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

ConsoleIcon

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

Result Merging

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

Result Creation

shouldCreateSuccessResult 0 s
shouldCreateEmptyResult 0 s
shouldCreateFailureResult 0 s

Edge Cases

shouldHandleLargeNumberOfPOMsEfficiently 0 s

FileSizeFormatTest

testSize(long, String)[1] 0.003 s
testSize(long, String)[2] 0 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 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 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 s
testNegativeProgressedSize 0 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.001 s
testProgressedSizeWithoutSize(long, String)[4] 0 s
testFormatRateInvalidValues 0 s
testProgressedSizeWithSize(long, long, String)[1] 0.001 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 s
testProgressedSizeWithSize(long, long, String)[11] 0 s
testProgressedSizeWithSize(long, long, String)[12] 0 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 s
testProgressedSizeWithSize(long, long, String)[17] 0 s
testProgressedSizeWithSize(long, long, String)[18] 0 s
testProgressedSizeWithSize(long, long, String)[19] 0.001 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[3] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[4] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[5] 0.001 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 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[20] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[21] 0.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[22] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[23] 0.001 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.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.001 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.001 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 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[45] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[46] 0.001 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.001 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[56] 0 s
testSizeWithSelectedScaleUnit(long, ScaleUnit, String)[57] 0 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.001 s

Schema Location Operations

shouldHandleUnknownModelVersionInSchemaLocation 0 s
shouldGetSchemaLocationForModelVersion(String)[1] 0 s
shouldGetSchemaLocationForModelVersion(String)[2] 0 s
shouldGetSchemaLocationForModelVersion(String)[3] 0 s

Model Version Detection

shouldDetectModelVersionFromDocument 0.001 s
shouldReturnDefaultVersionWhenModelVersionMissing 0 s
shouldDetectModelVersionFromNamespace(String)[1] 0.001 s
shouldDetectModelVersionFromNamespace(String)[2] 0 s
shouldDetectModelVersionFromNamespace(String)[3] 0 s
shouldDetectVersionFromNamespaceWhenModelVersionMissing 0.001 s

Model Version Validation

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.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.001 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
shouldValidateSupportedModelVersions(String)[3] 0 s

Model Version Updates

shouldRemoveModelVersionFromDocument 0.001 s
shouldUpdateModelVersionInDocument(String)[1] 0.001 s
shouldUpdateModelVersionInDocument(String)[2] 0.001 s
shouldAddModelVersionWhenMissing(String)[1] 0.002 s
shouldAddModelVersionWhenMissing(String)[2] 0 s
shouldHandleMissingModelVersionInRemoval 0.001 s

Edge Cases

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

Upgrade Path Validation

shouldRejectUpgradeToSameVersion(String)[1] 0 s
shouldRejectUpgradeToSameVersion(String)[2] 0 s
shouldRejectUpgradeToSameVersion(String)[3] 0 s
shouldRejectDowngrade(String, String)[1] 0 s
shouldRejectDowngrade(String, String)[2] 0 s
shouldRejectDowngrade(String, String)[3] 0 s
shouldRejectUpgradeFromUnsupportedVersion(String)[1] 0 s
shouldRejectUpgradeFromUnsupportedVersion(String)[2] 0.001 s
shouldHandleNullVersionsInUpgradeValidation(String, String)[1] 0.001 s
shouldHandleNullVersionsInUpgradeValidation(String, String)[2] 0 s
shouldHandleNullVersionsInUpgradeValidation(String, String)[3] 0.001 s
shouldValidateUpgradePath(String, String)[1] 0 s
shouldValidateUpgradePath(String, String)[2] 0 s
shouldValidateUpgradePath(String, String)[3] 0 s
shouldRejectUpgradeToUnsupportedVersion(String)[1] 0 s
shouldRejectUpgradeToUnsupportedVersion(String)[2] 0 s

Inference Eligibility

shouldHandleNullVersionInInferenceEligibility 0 s
shouldDetermineInferenceEligibilityCorrectly(String)[1] 0 s
shouldDetermineInferenceEligibilityCorrectly(String)[2] 0 s
shouldRejectInferenceForUnsupportedVersions(String)[1] 0 s
shouldRejectInferenceForUnsupportedVersions(String)[2] 0 s

Version Comparison

shouldCompareVersionsCorrectly 0 s
shouldHandleNullVersionsInComparison 0 s
shouldHandleNewerThan410Versions 0 s

Modification Behavior

shouldNotSaveModificationsToDisk 0 s

Integration with AbstractUpgradeGoal

shouldInheritBehaviorFromAbstractUpgradeGoal 0 s

Execution

shouldLogAppropriateHeaderMessage 0.001 s

XML Formatting

shouldFormatPluginManagementWithProperIndentationWhenAdded 0.029 s
shouldFormatPluginManagementWithProperIndentation 0.008 s

Strategy Description

shouldProvideMeaningfulDescription 0 s

Plugin Upgrades

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

Applicability

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

Error Handling

shouldHandleMalformedPOMGracefully 0.006 s

Plugin Management

shouldAddPluginManagementBeforeExistingPluginsSection 0.009 s

Plugin Upgrade Configuration

shouldHaveValidPluginUpgradeDefinitions 0 s
shouldHavePredefinedPluginUpgrades 0 s

ConsoleMavenTransferListenerTest

testTransferProgressedWithPrintResourceNames 0.059 s

ResidentMavenInvokerTest

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

DomUtilsTest

testFindChildElement 0 s
testInsertElementBetweenExistingElements 0.001 s
testInsertNewElement 0 s
testCreatePlugin 0 s
testAddGAVElements 0.001 s
testInsertMultipleElementsInCorrectOrder 0 s
testInsertElementInDependency 0.001 s
testToXml 0 s
testInsertContentElement 0 s
testInsertElementWithTextContent 0 s
testInsertElementWithCorrectPositioning 0 s
testCreateDependency 0 s
testChildTextContent 0 s
testInsertElementInBuild 0.001 s
testRemoveElement 0 s
testInsertElementNotInOrdering 0 s
testElementOrderingInProject 0 s
testInsertNewElementWithoutContent 0.001 s
testUpdateOrCreateChildElement 0 s
testInsertElementInParentWithoutOrdering 0 s

HelpTest

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

Model Version Upgrades

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

Applicability

shouldHandleConflictingOptionCombinations 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[1] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[2] 0 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[3] 0 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
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[8] 0.001 s
shouldDetermineApplicabilityBasedOnOptions(Boolean, String, boolean, String)[9] 0 s

Strategy Description

shouldProvideMeaningfulDescription 0 s

Namespace Updates

shouldUpdateNamespaceRecursively 0 s
shouldConvertModulesToSubprojectsIn410 0 s

Downgrade Handling

shouldSucceedWhenUpgrading 0.001 s
shouldFailWhenAttemptingDowngrade 0.001 s

Phase Upgrades

shouldNotUpgradePhasesWhenUpgradingTo400 0.001 s
shouldPreserveNonDeprecatedPhases 0.002 s
shouldUpgradeDeprecatedPhasesIn410 0.002 s

Modification Behavior

shouldSaveModificationsToDisk 0 s

Execution

shouldLogAppropriateHeaderMessage 0.010 s

Integration with AbstractUpgradeGoal

shouldInheritBehaviorFromAbstractUpgradeGoal 0.001 s

BaseParserTest

specials 0.044 s
happy 0.003 s
notHappy 0.002 s

Target Model Version Determination

shouldPrioritizeExplicitModelOverAllOption 0.288 s
shouldDefaultTo400WhenNoSpecificOptions 0.005 s
shouldUse410WhenAllOptionSpecified 0.003 s
shouldUseExplicitModelVersionWhenProvided 0.003 s

Plugin Options Handling

shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[1] 0.005 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[2] 0.006 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[3] 0.003 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[4] 0.018 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[5] 0.005 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[6] 0.002 s
shouldDeterminePluginEnablementBasedOnOptions(Boolean, Boolean, String, boolean, String)[7] 0.002 s

mvn Directory Creation

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

Duplicate Dependency Fixes

shouldRemoveDuplicateDependenciesInDependencyManagement 0.005 s
shouldRemoveDuplicateDependenciesInRegularDependencies 0.003 s

Applicability

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

Strategy Description

shouldProvideMeaningfulDescription 0.001 s

Duplicate Plugin Fixes

shouldRemoveDuplicatePluginsInPluginManagement 0.002 s

LookupInvokerLoggingTest

testVerboseOptionSetsSystemProperty 0.002 s
testQuietOptionSetsSystemProperty 0 s
testNoCliOptionsDoesNotSetSystemProperty 0.001 s

Error Handling

shouldHandleMissingPomGracefully 0.005 s
shouldHandleMalformedPomGracefully 0.011 s

Check vs Apply Behavior

checkShouldNotModifyFiles 0.007 s
applyShouldModifyFiles 0.008 s

Multi-module Projects

shouldHandleMultiModuleProject 0.007 s

Model Version Upgrade

shouldCreateMvnDirectoryFor41Upgrade 0.012 s
shouldUpgradeModelVersionWith41Option 0.006 s

MavenInvokerTest

conflictingSettings(Path, Path) 1.389 s
defaultFs(Path, Path) 3.430 s
jimFs 0 s
- Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest) -
conflictingExtensionsFromDifferentSource(Path, Path) 0.257 s
conflictingExtensionsFromSameSource(Path, Path) 0.005 s

UpgradeContext

shouldHandleIndentationCorrectly 0.004 s
shouldCreateContextSuccessfully 0.001 s
shouldHandleIconRenderingBasedOnTerminalCapabilities 0 s

Artifact Extraction

shouldExtractGAVWithParentInheritance 0.001 s
shouldHandlePartialParentInheritance 0.001 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[1] 0.002 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[2] 0 s
shouldReturnNullForInvalidGAVScenarios(String, String, String, String)[3] 0 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 s

Artifact Computation

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

Edge Cases

shouldHandleDeeplyNestedParentInheritance 0 s
shouldHandlePOMWithSpecialCharacters 0 s
shouldHandleLargeNumberOfPOMsEfficiently 0.004 s
shouldHandlePOMWithEmptyElements 0.001 s
shouldHandlePOMWithWhitespaceElements 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)