Package org.consensusj.jsonrpc.cli.test
Class CLICommandResult
java.lang.Object
org.consensusj.jsonrpc.cli.test.CLICommandResult
Holds all the results (status code, stdout, stderr) of a CLI command run by a test
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCLICommandResult
(int status, ByteArrayOutputStream os, ByteArrayOutputStream es) CLICommandResult
(int status, String output, String error) -
Method Summary
-
Field Details
-
status
-
output
-
error
-
-
Constructor Details
-
CLICommandResult
-
CLICommandResult
public CLICommandResult(int status, ByteArrayOutputStream os, ByteArrayOutputStream es) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-