Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
91 0 0 0 100% 18.015

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 91 0 0 0 100% 18.015

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
SystemOutLoggerTest 31 0 0 0 100% 0.012
SystemOutHandlerTest 3 0 0 0 100% 0.001
MavenCommandLineBuilderTest 49 0 0 0 100% 0.171
DefaultInvokerTest 8 0 0 0 100% 17.831

Test Cases

[Summary] [Package List] [Test Cases]

SystemOutLoggerTest

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

SystemOutHandlerTest

testConsumeNullLine 0
testConsumeWithAlwaysFlush 0
testConsumeWithoutAlwaysFlush 0

MavenCommandLineBuilderTest

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

DefaultInvokerTest

testSpaceLocalRepo 1.498
testSpacePom 1.758
testSpaceSettings 1.211
testBuildShouldSucceed 3.3
testBuildShouldFail 2.735
testBuildShouldTimeout 4.014
testSpaceAndSpecialCharPom 1.582
testSpaceProperties 1.731