[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 96 | 0 | 0 | 0 | 100% | 90.37 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
[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.environment | 4 | 0 | 0 | 0 | 100% | 0 |
| org.apache.commons.exec | 85 | 0 | 0 | 0 | 100% | 90.37 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| StringUtilTest | 4 | 0 | 0 | 0 | 100% | 0 | |
| MapUtilTest | 3 | 0 | 0 | 0 | 100% | 0 |
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| EnvironmentUtilTest | 4 | 0 | 0 | 0 | 100% | 0 |
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| LogOutputStreamTest | 1 | 0 | 0 | 0 | 100% | 0.028 | |
| CommandLineTest | 34 | 0 | 0 | 0 | 100% | 0.169 | |
| TestUtilTest | 7 | 0 | 0 | 0 | 100% | 0.003 | |
| TutorialTest | 1 | 0 | 0 | 0 | 100% | 10.041 | |
| StandAloneTest | 1 | 0 | 0 | 0 | 100% | 0.01 | |
| DefaultExecutorTest | 41 | 0 | 0 | 0 | 100% | 80.119 |
[Summary] [Package List] [Test Cases]
| testExecutableWhitespaceString | 0.017 | |
| testExecutable | 0.003 | |
| testComplexAddArguments2 | 0.006 | |
| testCommandLineParsingWithExpansion1 | 0.014 | |
| testCommandLineParsingWithExpansion2 | 0.077 | |
| testCommandLineParsingWithExpansion3 | 0.002 | |
| testToString | 0.005 | |
| testToStringTroubleshooting | 0 | |
| testCopyConstructor | 0.002 | |
| testAddArgumentWithBothQuotes | 0.001 | |
| testAddArguments | 0.001 | |
| testAddArgumentsWithQuotes | 0.002 | |
| testAddArgumentsWithQuotesAndSpaces | 0.009 | |
| testAddArgumentsArray | 0.001 | |
| testAddArgumentsArrayNull | 0 | |
| testAddTwoArguments | 0.003 | |
| testParseCommandLine | 0.002 | |
| testParseCommandLineWithQuotes | 0.002 | |
| testParseCommandLineWithUnevenQuotes | 0.001 | |
| testParseCommandLineWithNull | 0.001 | |
| testParseCommandLineWithOnlyWhitespace | 0 | |
| testParseComplexCommandLine1 | 0.005 | |
| testParseComplexCommandLine2 | 0.002 | |
| testParseRealLifeCommandLine_1 | 0.001 | |
| testComplexAddArgument | 0 | |
| testComplexAddArguments1 | 0.001 | |
| testNullExecutable | 0.001 | |
| testAddArgument | 0.001 | |
| testAddNullArgument | 0.007 | |
| testAddArgumentWithSpace | 0.001 | |
| testAddArgumentWithQuote | 0 | |
| testAddArgumentWithQuotesAround | 0 | |
| testAddArgumentWithSingleQuote | 0.001 | |
| testExecutableZeroLengthString | 0 |
| testNoStringSubstitution | 0 | |
| testDefaultStringSubstitution | 0 | |
| testIncompleteSubstitution | 0 | |
| testErroneousTemplate | 0 |
| testAssertArrayEquals | 0 | |
| testAssertArrayNotEquals | 0.001 | |
| testAssertArrayNotOrderEquals | 0 | |
| testAssertArrayEqualsOrderNotSignificant | 0.001 | |
| testAssertArrayEqualsNullNull | 0.001 | |
| testAssertArrayEqualsActualNull | 0 | |
| testAssertArrayEqualsExpectedNull | 0 |
| testToStrings | 0 | |
| testGetProcEnvironment | 0 | |
| testGetProcEnvironmentCaseInsensitiveLookup | 0 | |
| testCaseInsensitiveVariableLookup | 0 |
| testExecute | 0.077 | |
| testExecuteWithWorkingDirectory | 0.004 | |
| testExecuteWithInvalidWorkingDirectory | 0 | |
| testExecuteWithError | 0.005 | |
| testExecuteWithArg | 0.004 | |
| testExecuteWithSingleEnvironmentVariable | 0.004 | |
| testExecuteAsync | 0.053 | |
| testExecuteAsyncWithError | 0.05 | |
| testExecuteAsyncWithTimelyUserTermination | 2.054 | |
| testExecuteAsyncWithTooLateUserTermination | 6.001 | |
| testExecuteWatchdogSync | 20.059 | |
| testExecuteWatchdogAsync | 10.079 | |
| testExecuteWatchdogVeryLongTimeout | 0.006 | |
| testExecuteNonExistingApplication | 0.001 | |
| testExecuteAsyncWithNonExistingApplication | 2.001 | |
| testExecuteWithCustomExitValue1 | 0.004 | |
| testExecuteWithCustomExitValue2 | 0.009 | |
| testExecuteWithProcessDestroyer | 0.012 | |
| testExecuteAsyncWithProcessDestroyer | 2.054 | |
| testExecuteWithFancyArg | 0.003 | |
| testExecuteWithRedirectedStreams | 0.005 | |
| testExecuteWithStdOutErr | 0.009 | |
| testExecuteWithNullOutErr | 0.003 | |
| testExecuteWithRedirectOutErr | 0.026 | |
| testExecuteWithComplexArguments | 0.015 | |
| testStdInHandling | 0.051 | |
| testEnvironmentVariables | 0.007 | |
| testAddEnvironmentVariables | 0.013 | |
| testAddEnvironmentVariableEmbeddedQuote | 0.013 | |
| testExec33 | 0.106 | |
| testExec34_1 | 0.006 | |
| testExec34_2 | 7.024 | |
| testExec36_1 | 0.003 | |
| testExec36_2 | 0.005 | |
| testExec41WithStreams | 2.064 | |
| testExec41WithoutStreams | 2.003 | |
| testExec44 | 5.001 | |
| testExec49_1 | 0.054 | |
| testExec49_2 | 0.055 | |
| testExec_57 | 8.009 | |
| testExec_60 | 13.167 |