ARB
Public Member Functions | List of all members
CommandOutput Class Reference

#include <command_output.h>

Inheritance diagram for CommandOutput:
Inheritance graph
[legend]
Collaboration diagram for CommandOutput:
Collaboration graph
[legend]

Public Member Functions

 CommandOutput (const char *command, bool try_valgrind, bool expect_failure_=false)
 
 ~CommandOutput ()
 
const charget_stdoutput () const
 
const charget_stderrput () const
 
GB_ERROR get_error () const
 
arb_test::match_expectation Equals (const char *expected_std, const char *expected_err)
 
arb_test::match_expectation Contains (const char *expected_std, const char *expected_err)
 
arb_test::match_expectation has_checksum (uint32_t expected_checksum)
 

Detailed Description

Definition at line 34 of file command_output.h.

Constructor & Destructor Documentation

CommandOutput::CommandOutput ( const char command,
bool  try_valgrind,
bool  expect_failure_ = false 
)
inline
CommandOutput::~CommandOutput ( )
inline

Definition at line 99 of file command_output.h.

Member Function Documentation

const char* CommandOutput::get_stdoutput ( ) const
inline

Definition at line 104 of file command_output.h.

const char* CommandOutput::get_stderrput ( ) const
inline

Definition at line 105 of file command_output.h.

GB_ERROR CommandOutput::get_error ( ) const
inline

Definition at line 106 of file command_output.h.

arb_test::match_expectation CommandOutput::Equals ( const char expected_std,
const char expected_err 
)
inline
arb_test::match_expectation CommandOutput::Contains ( const char expected_std,
const char expected_err 
)
inline
arb_test::match_expectation CommandOutput::has_checksum ( uint32_t  expected_checksum)
inline

The documentation for this class was generated from the following file: