Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
96000100%90.37

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.commons.exec.util7000100%0
org.apache.commons.exec.environment4000100%0
org.apache.commons.exec85000100%90.37

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

org.apache.commons.exec.util

ClassTestsErrors FailuresSkippedSuccess RateTime
StringUtilTest4000100%0
MapUtilTest3000100%0

org.apache.commons.exec.environment

ClassTestsErrors FailuresSkippedSuccess RateTime
EnvironmentUtilTest4000100%0

org.apache.commons.exec

ClassTestsErrors FailuresSkippedSuccess RateTime
LogOutputStreamTest1000100%0.028
CommandLineTest34000100%0.169
TestUtilTest7000100%0.003
TutorialTest1000100%10.041
StandAloneTest1000100%0.01
DefaultExecutorTest41000100%80.119

Test Cases

[Summary] [Package List] [Test Cases]

LogOutputStreamTest

testStdout0.028

CommandLineTest

testExecutableWhitespaceString0.017
testExecutable0.003
testComplexAddArguments20.006
testCommandLineParsingWithExpansion10.014
testCommandLineParsingWithExpansion20.077
testCommandLineParsingWithExpansion30.002
testToString0.005
testToStringTroubleshooting0
testCopyConstructor0.002
testAddArgumentWithBothQuotes0.001
testAddArguments0.001
testAddArgumentsWithQuotes0.002
testAddArgumentsWithQuotesAndSpaces0.009
testAddArgumentsArray0.001
testAddArgumentsArrayNull0
testAddTwoArguments0.003
testParseCommandLine0.002
testParseCommandLineWithQuotes0.002
testParseCommandLineWithUnevenQuotes0.001
testParseCommandLineWithNull0.001
testParseCommandLineWithOnlyWhitespace0
testParseComplexCommandLine10.005
testParseComplexCommandLine20.002
testParseRealLifeCommandLine_10.001
testComplexAddArgument0
testComplexAddArguments10.001
testNullExecutable0.001
testAddArgument0.001
testAddNullArgument0.007
testAddArgumentWithSpace0.001
testAddArgumentWithQuote0
testAddArgumentWithQuotesAround0
testAddArgumentWithSingleQuote0.001
testExecutableZeroLengthString0

StringUtilTest

testNoStringSubstitution0
testDefaultStringSubstitution0
testIncompleteSubstitution0
testErroneousTemplate0

TestUtilTest

testAssertArrayEquals0
testAssertArrayNotEquals0.001
testAssertArrayNotOrderEquals0
testAssertArrayEqualsOrderNotSignificant0.001
testAssertArrayEqualsNullNull0.001
testAssertArrayEqualsActualNull0
testAssertArrayEqualsExpectedNull0

TutorialTest

testTutorialExample10.041

EnvironmentUtilTest

testToStrings0
testGetProcEnvironment0
testGetProcEnvironmentCaseInsensitiveLookup0
testCaseInsensitiveVariableLookup0

StandAloneTest

testMe0.01

DefaultExecutorTest

testExecute0.077
testExecuteWithWorkingDirectory0.004
testExecuteWithInvalidWorkingDirectory0
testExecuteWithError0.005
testExecuteWithArg0.004
testExecuteWithSingleEnvironmentVariable0.004
testExecuteAsync0.053
testExecuteAsyncWithError0.05
testExecuteAsyncWithTimelyUserTermination2.054
testExecuteAsyncWithTooLateUserTermination6.001
testExecuteWatchdogSync20.059
testExecuteWatchdogAsync10.079
testExecuteWatchdogVeryLongTimeout0.006
testExecuteNonExistingApplication0.001
testExecuteAsyncWithNonExistingApplication2.001
testExecuteWithCustomExitValue10.004
testExecuteWithCustomExitValue20.009
testExecuteWithProcessDestroyer0.012
testExecuteAsyncWithProcessDestroyer2.054
testExecuteWithFancyArg0.003
testExecuteWithRedirectedStreams0.005
testExecuteWithStdOutErr0.009
testExecuteWithNullOutErr0.003
testExecuteWithRedirectOutErr0.026
testExecuteWithComplexArguments0.015
testStdInHandling0.051
testEnvironmentVariables0.007
testAddEnvironmentVariables0.013
testAddEnvironmentVariableEmbeddedQuote0.013
testExec330.106
testExec34_10.006
testExec34_27.024
testExec36_10.003
testExec36_20.005
testExec41WithStreams2.064
testExec41WithoutStreams2.003
testExec445.001
testExec49_10.054
testExec49_20.055
testExec_578.009
testExec_6013.167

MapUtilTest

testCopyMap0
testMergeMap0
testPrefixMap0