Apache Commons logo Apache Commons Exec

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
95 0 0 4 95.789% 134.758

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.commons.exec.util 7 0 0 0 100% 0.001
org.apache.commons.exec.issues 15 0 0 3 80% 80.525
org.apache.commons.exec.environment 6 0 0 0 100% 0.013
org.apache.commons.exec 67 0 0 1 98.507% 54.219

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

org.apache.commons.exec.util

Class Tests Errors Failures Skipped Success Rate Time
MapUtilTest 3 0 0 0 100% 0.001
StringUtilTest 4 0 0 0 100% 0

org.apache.commons.exec.issues

Class Tests Errors Failures Skipped Success Rate Time
Exec33Test 1 0 0 0 100% 0.1
Exec34Test 2 0 0 0 100% 9.103
Exec36Test 5 0 0 3 40% 0.042
Exec41Test 2 0 0 0 100% 4.055
Exec44Test 1 0 0 0 100% 4.978
Exec49Test 2 0 0 0 100% 0
Exec57Test 1 0 0 0 100% 0.005
Exec60Test 1 0 0 0 100% 62.242

org.apache.commons.exec.environment

Class Tests Errors Failures Skipped Success Rate Time
EnvironmentUtilsTest 6 0 0 0 100% 0.013

org.apache.commons.exec

Class Tests Errors Failures Skipped Success Rate Time
CommandLineTest 34 0 0 0 100% 0.078
DefaultExecutorTest 30 0 0 1 96.667% 44.759
LogOutputStreamTest 1 0 0 0 100% 0.053
StandAloneTest 1 0 0 0 100% 0
TutorialTest 1 0 0 0 100% 9.329

Test Cases

[Summary] [Package List] [Test Cases]

CommandLineTest

testParseCommandLineWithQuotes 0.006
testAddArgumentWithQuotesAround 0
testParseCommandLineWithNull 0
testCopyConstructor 0
testParseComplexCommandLine1 0
testParseComplexCommandLine2 0
testComplexAddArgument 0
testAddArguments 0
testToString 0
testAddArgumentWithQuote 0
testAddArgumentWithSpace 0
testAddArgumentsArray 0.068
testAddArgumentsWithQuotes 0
testParseRealLifeCommandLine_1 0
testAddArgumentsWithQuotesAndSpaces 0
testExecutable 0
testParseCommandLineWithUnevenQuotes 0
testAddNullArgument 0
testAddTwoArguments 0
testToStringTroubleshooting 0.003
testAddArgumentsArrayNull 0
testAddArgument 0.001
testExecutableWhitespaceString 0
testParseCommandLineWithOnlyWhitespace 0
testParseCommandLine 0
testExecutableZeroLengthString 0
testAddArgumentWithSingleQuote 0
testComplexAddArguments1 0
testComplexAddArguments2 0
testAddArgumentWithBothQuotes 0
testCommandLineParsingWithExpansion1 0
testCommandLineParsingWithExpansion2 0
testCommandLineParsingWithExpansion3 0
testNullExecutable 0

DefaultExecutorTest

testExecuteAsyncWithError 0.036
testExecute 0.07
testStdInHandling 0.107
testAddEnvironmentVariableEmbeddedQuote 0.383
testExecuteWithWorkingDirectory 0.043
testExecuteAsyncWithTooLateUserTermination 6.005
testExecuteWithNullOutErr 0.036
testExecuteWithArg 0.037
testExecuteAsync 0.05
testExecuteWithRedirectedStreams 0.001
testExecuteAsyncWithProcessDestroyer 2.104
testExecuteWithCustomExitValue1 0.032
testExecuteWithCustomExitValue2 0.037
testExecuteAsyncWithTimelyUserTermination 2.1
testExecuteWithSingleEnvironmentVariable 0.055
testExecuteWithComplexArguments 0.148
_testExecuteStability 0
skipped
testExecuteWatchdogSync 20.462
testAddEnvironmentVariables 0.077
testExecuteWithError 0.034
testEnvironmentVariables 0.058
testExecuteWithFancyArg 0.03
testExecuteWatchdogVeryLongTimeout 0.032
testExecuteWithRedirectOutErr 0.348
testExecuteNonExistingApplication 0.001
testExecuteWithProcessDestroyer 0.034
testExecuteWithStdOutErr 0.032
testExecuteAsyncWithNonExistingApplication 2
testExecuteWatchdogAsync 10.407
testExecuteWithInvalidWorkingDirectory 0

EnvironmentUtilsTest

testToStringWithNullKey 0
testCaseInsensitiveVariableLookup 0
testGetProcEnvironment 0.008
testToStrings 0
testGetProcEnvironmentCaseInsensitiveLookup 0.005
testToStringWithNullValue 0

Exec33Test

testExec33 0.1

Exec34Test

testExec34_1 0.001
testExec34_2 9.102

Exec36Test

testExec36_1 0.005
testExec36_2 0.037
_testExec36_4 0
skipped
_testExec36_5 0
skipped
_testExec36_6 0
skipped

Exec41Test

testExec41WithStreams 2.022
testExec41WithoutStreams 2.033

Exec44Test

testExec44 4.978

Exec49Test

testExec49_1 0
testExec49_2 0

Exec57Test

testExec_57 0.005

Exec60Test

testExec_60 62.242

LogOutputStreamTest

testStdout 0.053

StandAloneTest

testMe 0

TutorialTest

testTutorialExample 9.329

MapUtilTest

testPrefixMap 0
testMergeMap 0.001
testCopyMap 0

StringUtilTest

testIncompleteSubstitution 0
testErroneousTemplate 0
testDefaultStringSubstitution 0
testNoStringSubstitution 0

Failure Details

[Summary] [Package List] [Test Cases]


_testExecuteStability
skipped: skipped
_testExec36_4
skipped: skipped
_testExec36_5
skipped: skipped
_testExec36_6
skipped: skipped