public interface CommandLineToolExecutionResult
Modifier and Type | Method and Description |
---|---|
CommandLineToolExecutionResult |
assertExitValueEquals(int expectedExitValue)
Throws an
ExecException if the process exited with a exit value different than what was expected. |
CommandLineToolExecutionResult |
assertNormalExitValue()
Throws an
ExecException if the process exited with a non-zero exit value. |
CommandLineToolLogContent |
getErrorOutput()
Returns the log content of the command line tool execution's error output.
|
int |
getExitValue()
Returns the exit value of the process.
|
CommandLineToolLogContent |
getOutput()
Returns the log content of the command line tool execution's standard and error output as received during execution.
|
CommandLineToolLogContent |
getStandardOutput()
Returns the log content of the command line tool execution's standard output.
|
CommandLineToolLogContent getStandardOutput()
CommandLineToolLogContent
instance of the command line tool execution's standard output, never null.CommandLineToolLogContent getErrorOutput()
CommandLineToolLogContent
instance of the command line tool execution's error output, never null.CommandLineToolLogContent getOutput()
CommandLineToolLogContent
instance of the command line tool execution output, never null.int getExitValue()
CommandLineToolExecutionResult assertNormalExitValue() throws ExecException
ExecException
if the process exited with a non-zero exit value.ExecException
- if the process exited with a non-zero exit valueCommandLineToolExecutionResult assertExitValueEquals(int expectedExitValue) throws ExecException
ExecException
if the process exited with a exit value different than what was expected.expectedExitValue
- the expected exit value of the process.ExecException
- if the process exited with an exit value different than what was expected.