blocxx
BLOCXX_NAMESPACE::ExecMockObject Class Reference

This class can be used to modify/replace the behavior of the Exec functions. More...

#include <ExecMockObject.hpp>

Public Member Functions

virtual ~ExecMockObject ()
 
virtual Process::Status executeProcessAndGatherOutput (char const *const command[], String &output, char const *const envVars[], const Timeout &timeout, int outputlimit, char const *input)
 
virtual Process::Status executeProcessAndGatherOutput2 (char const *const command[], String &output, String &erroutput, char const *const envVars[], const Timeout &timeout, int outputlimit, char const *input)
 

Detailed Description

This class can be used to modify/replace the behavior of the Exec functions.

Definition at line 48 of file ExecMockObject.hpp.

Constructor & Destructor Documentation

◆ ~ExecMockObject()

BLOCXX_NAMESPACE::ExecMockObject::~ExecMockObject ( )
virtual

Definition at line 49 of file ExecMockObject.cpp.

Member Function Documentation

◆ executeProcessAndGatherOutput()

Process::Status BLOCXX_NAMESPACE::ExecMockObject::executeProcessAndGatherOutput ( char const *const command[],
String & output,
char const *const envVars[],
const Timeout & timeout,
int outputlimit,
char const * input )
virtual

Definition at line 55 of file ExecMockObject.cpp.

References BLOCXX_THROW.

◆ executeProcessAndGatherOutput2()

Process::Status BLOCXX_NAMESPACE::ExecMockObject::executeProcessAndGatherOutput2 ( char const *const command[],
String & output,
String & erroutput,
char const *const envVars[],
const Timeout & timeout,
int outputlimit,
char const * input )
virtual

Definition at line 65 of file ExecMockObject.cpp.

References BLOCXX_THROW.


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