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% 88.083

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
org.apache.commons.exec.issues 15 0 0 3 80% 35.419
org.apache.commons.exec.environment 6 0 0 0 100% 0
org.apache.commons.exec 67 0 0 1 98.507% 52.664

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
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.102
Exec34Test 2 0 0 0 100% 5.033
Exec36Test 5 0 0 3 40% 0.011
Exec41Test 2 0 0 0 100% 4.009
Exec44Test 1 0 0 0 100% 5
Exec49Test 2 0 0 0 100% 0.111
Exec57Test 1 0 0 0 100% 8.022
Exec60Test 1 0 0 0 100% 13.131

org.apache.commons.exec.environment

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

org.apache.commons.exec

Class Tests Errors Failures Skipped Success Rate Time
CommandLineTest 34 0 0 0 100% 0.006
DefaultExecutorTest 30 0 0 1 96.667% 42.523
LogOutputStreamTest 1 0 0 0 100% 0.011
StandAloneTest 1 0 0 0 100% 0.068
TutorialTest 1 0 0 0 100% 10.056

Test Cases

[Summary] [Package List] [Test Cases]

CommandLineTest

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

DefaultExecutorTest

testExecuteAsyncWithError 0.055
testExecute 0.021
testStdInHandling 0.052
testAddEnvironmentVariableEmbeddedQuote 0.021
testExecuteWithWorkingDirectory 0.006
testExecuteAsyncWithTooLateUserTermination 6.004
testExecuteWithNullOutErr 0.006
testExecuteWithArg 0.005
testExecuteAsync 0.052
testExecuteWithRedirectedStreams 0.03
testExecuteAsyncWithProcessDestroyer 2.055
testExecuteWithCustomExitValue1 0.006
testExecuteWithCustomExitValue2 0.005
testExecuteAsyncWithTimelyUserTermination 2.054
testExecuteWithSingleEnvironmentVariable 0.007
testExecuteWithComplexArguments 0.035
_testExecuteStability 0
skipped
testExecuteWatchdogSync 20.008
testAddEnvironmentVariables 0.013
testExecuteWithError 0.005
testEnvironmentVariables 0.006
testExecuteWithFancyArg 0.005
testExecuteWatchdogVeryLongTimeout 0.005
testExecuteWithRedirectOutErr 0.016
testExecuteNonExistingApplication 0.003
testExecuteWithProcessDestroyer 0.004
testExecuteWithStdOutErr 0.004
testExecuteAsyncWithNonExistingApplication 2.001
testExecuteWatchdogAsync 10.039
testExecuteWithInvalidWorkingDirectory 0

EnvironmentUtilsTest

testToStringWithNullKey 0
testCaseInsensitiveVariableLookup 0
testGetProcEnvironment 0
testToStrings 0
testGetProcEnvironmentCaseInsensitiveLookup 0
testToStringWithNullValue 0

Exec33Test

testExec33 0.102

Exec34Test

testExec34_1 0.016
testExec34_2 5.017

Exec36Test

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

Exec41Test

testExec41WithStreams 2.003
testExec41WithoutStreams 2.006

Exec44Test

testExec44 5

Exec49Test

testExec49_1 0.055
testExec49_2 0.056

Exec57Test

testExec_57 8.022

Exec60Test

testExec_60 13.131

LogOutputStreamTest

testStdout 0.011

StandAloneTest

testMe 0.068

TutorialTest

testTutorialExample 10.056

MapUtilTest

testPrefixMap 0
testMergeMap 0
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