Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
90 0 0 0 100% 10.212

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.shared.invoker 90 0 0 0 100% 10.212

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

org.apache.maven.shared.invoker

Class Tests Errors Failures Skipped Success Rate Time
DefaultInvokerTest 7 0 0 0 100% 10.103
MavenCommandLineBuilderTest 49 0 0 0 100% 0.105
SystemOutHandlerTest 3 0 0 0 100% 0.002
SystemOutLoggerTest 31 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

DefaultInvokerTest

testSpaceLocalRepo 1.106
testSpacePom 1.186
testSpaceSettings 0.969
testBuildShouldSucceed 2.479
testBuildShouldFail 1.854
testSpaceAndSpecialCharPom 1.201
testSpaceProperties 1.28

MavenCommandLineBuilderTest

testShouldSetWorkingDirectoryFromRequest 0.004
testProjectsAndAlsoMakeAndAlsoMakeDependents 0
testShouldSetLocalRepoLocationFromRequest 0.001
testShouldNotSpecifyFileOptionUsingStandardPomInBasedir 0.003
testAlsoMake 0
testShouldSetOfflineFlagFromRequest 0.001
testShouldSetEnvVar_MAVEN_TERMINATE_CMD 0.003
testShouldUseDefaultPomFileWhenBasedirSpecifiedWithoutPomFileName 0.001
testShouldSetLocalRepoLocationGlobally 0.001
testShouldInsertActivatedProfiles 0.001
testShouldSpecifyFileOptionUsingNonStandardPomInBasedir 0.003
testAddShellEnvironment 0.001
testShouldUseSystemOutLoggerWhenNoneSpecified 0
testShouldSpecifyCustomToolchainsLocationFromRequest 0.002
testShouldSetStrictChecksumPolityFlagFromRequest 0
testShouldSpecifySingleGoalFromRequest 0.001
testShouldSpecifyCustomUserSettingsLocationFromRequest 0.002
testShouldSpecifyCustomGlobalSettingsLocationFromRequest 0.002
testProjectsAndAlsoMakeDependents 0
testShouldSetUpdateSnapshotsFlagFromRequest 0
testShouldSetDebugFlagFromRequest 0
testShouldSetLaxChecksumPolicyFlagFromRequest 0.001
testShouldSetFailNeverFlagFromRequest 0
testShouldSpecifyCustomPropertyFromRequest 0
testProjectsAndAlsoMake 0
testShouldSpecifyThreadsFromRequest 0
testShouldSetEnvVar_M2_HOME 0.01
testShouldUseDefaultOfFailFastWhenSpecifiedInRequest 0
testShouldSpecifyFileOptionUsingNonStandardPomFileLocation 0.002
testShouldSpecifyCustomPropertyWithSpacesInKeyFromRequest 0
testShouldSpecifyCustomPropertyWithSpacesInValueFromRequest 0
testShouldFailToSetLocalRepoLocationFromRequestWhenItIsAFile 0.038
testAlsoMakeDependents 0
testShouldSetFailAtEndFlagFromRequest 0
testShouldNotSpecifyFileOptionUsingStandardPomFileLocation 0.003
testDebugOptionShouldMaskShowErrorsOption 0
testShouldSetResumeFrom 0
testBuildTypicalMavenInvocationEndToEnd 0.003
testShouldFailIfLoggerSetToNull 0
testRequestProvidedLocalRepoLocationShouldOverrideGlobal 0.001
testShouldSpecifyPomFileWhenBasedirSpecifiedWithPomFileName 0.002
testShouldSetErrorFlagFromRequest 0
testRequestProvidedWorkingDirectoryShouldOverrideGlobal 0.001
testShouldFindDummyMavenExecutable 0.003
testShouldSetWorkingDirectoryGlobally 0.001
testMvnCommand 0
testShouldSpecifyTwoGoalsFromRequest 0.001
testShouldSetBatchModeFlagFromRequest 0
testShouldFailToSetLocalRepoLocationGloballyWhenItIsAFile 0.001

SystemOutHandlerTest

testConsumeNullLine 0
testConsumeWithAlwaysFlush 0
testConsumeWithoutAlwaysFlush 0

SystemOutLoggerTest

testDebugWithMessageNullError 0
testDebugWithMessageAndError 0
testInfoWithNullMessageError 0
testFatalErrorWithNullMessageAndNoError 0
testFatalErrorWithNullMessageError 0
testDebugWithMessageOnly 0
testInfoWithNullMessageAndNoError 0
testThresholdInfo 0
testThresholdWarn 0
testErrorWithMessageNullError 0
testWarnWithNullMessageError 0
testErrorWithNullMessageAndNoError 0
testInfoWithMessageOnly 0.001
testInfoWithMessageNullError 0
testFatalErrorWithMessageNullError 0
testWarnWithMessageAndError 0
testDebugWithNullMessageAndNoError 0
testDefaultThresholdInfo 0
testWarnWithMessageOnly 0
testInfoWithMessageAndError 0
testThresholdDebug 0
testThresholdError 0
testThresholdFatal 0
testErrorWithMessageOnly 0
testDebugWithNullMessageError 0
testWarnWithMessageNullError 0
testFatalErrorWithMessageAndError 0
testErrorWithMessageAndError 0
testFatalErrorWithMessageOnly 0
testWarnWithNullMessageAndNoError 0
testErrorWithNullMessageError 0