#include <TestStep.hpp>
◆ TestStepCmd()
anna::testing::TestStepCmd::TestStepCmd |
( |
TestCase * |
testCase | ) |
|
|
inline |
241 :
TestStep(testCase), a_threadRunning(
false), a_threadDeprecated(
false), a_resultCode(-2), a_errorMsg(
""), a_childPid(-1) {
a_type =
Type::Cmd; }
Type::_v a_type
Definition: TestStep.hpp:83
Definition: TestStep.hpp:61
TestStep(TestCase *testCase)
Definition: TestStep.hpp:64
◆ ~TestStepCmd()
anna::testing::TestStepCmd::~TestStepCmd |
( |
| ) |
|
|
inline |
◆ asXML()
◆ do_complete()
void anna::testing::TestStepCmd::do_complete |
( |
| ) |
|
|
virtual |
◆ do_execute()
bool anna::testing::TestStepCmd::do_execute |
( |
| ) |
|
|
virtual |
◆ do_reset()
void anna::testing::TestStepCmd::do_reset |
( |
| ) |
|
|
virtual |
◆ getChildPid()
const pid_t& anna::testing::TestStepCmd::getChildPid |
( |
| ) |
const |
|
inline |
257 {
return a_childPid; }
◆ getErrorMsg()
const std::string& anna::testing::TestStepCmd::getErrorMsg |
( |
| ) |
const |
|
inline |
253 {
return a_errorMsg; }
◆ getResultCode()
int anna::testing::TestStepCmd::getResultCode |
( |
| ) |
const |
|
inline |
251 {
return a_resultCode; }
◆ getScript()
const std::string& anna::testing::TestStepCmd::getScript |
( |
| ) |
const |
|
inline |
◆ setChildPid()
void anna::testing::TestStepCmd::setChildPid |
( |
pid_t |
pid | ) |
|
|
inline |
256 { a_childPid = pid; }
◆ setErrorMsg()
void anna::testing::TestStepCmd::setErrorMsg |
( |
const std::string & |
em | ) |
|
|
inline |
◆ setResultCode()
void anna::testing::TestStepCmd::setResultCode |
( |
int |
rc | ) |
|
|
inline |
250 { a_resultCode = rc; }
◆ setScript()
void anna::testing::TestStepCmd::setScript |
( |
const std::string & |
script | ) |
|
|
inline |
259 { a_script = script; }
◆ setThreadNotRunning()
void anna::testing::TestStepCmd::setThreadNotRunning |
( |
| ) |
|
|
inline |
246 { a_threadRunning =
false; }
◆ setThreadRunning()
void anna::testing::TestStepCmd::setThreadRunning |
( |
| ) |
|
|
inline |
245 { a_threadRunning =
true; }
◆ threadNotRunning()
bool anna::testing::TestStepCmd::threadNotRunning |
( |
| ) |
const |
|
inline |
248 {
return !a_threadRunning; }
◆ threadRunning()
bool anna::testing::TestStepCmd::threadRunning |
( |
| ) |
const |
|
inline |
247 {
return a_threadRunning; }
The documentation for this class was generated from the following file: