This class defines stop condition for system tests.
There exist three possibilities:
- set breakpoint: target will stop on the breakpoint
- set timeout: target will be stopped after the timeout
- breakpoint after timeout: breakpoint will be set after the specified timeout, and target will stop when the breakpoint is hit
This condition can be applied before system test to initialize the target, and as test termination condition.
|
| CTestStopCondition (const CTestBaseSPtr &parent) |
| Initializes new instance. More...
|
|
CTestLocationSPtr | getBreakpointLocation (bool isConst) |
| Returns location of breakpoint.
|
|
int | getConditionCount () |
| Returns condition count for breakpoint.
|
|
std::string | getConditionExpr () |
| Returns condition expression for breakpoint.
|
|
std::string | getRtExpression () |
| Returns timeout in milliseconds.
|
|
EStopType | getStopType () |
| Returns stop type.
|
|
int | getTimeout () |
| Returns timeout in milliseconds.
|
|
virtual bool | isEmpty () const |
| This method returns true, if the object contains no data.
|
|
bool | isMerged () const |
| Returns true, if the CTestSpecification section containing this object is merged. More...
|
|
virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter.
|
|
void | setConditionCount (int conditionCount) |
| Sets condition count for test-point.
|
|
void | setConditionExpr (const std::string &expr) |
| Sets condition expression for test-point.
|
|
void | setRtExpression (const std::string &rtExpression) |
| Returns timeout in milliseconds.
|
|
void | setStopType (EStopType stopType) |
| Sets stop type.
|
|
void | setTimeout (int timeout) |
| Sets timeout in milliseconds.
|
|
virtual std::string | toString () |
| Returns object data as YAML string.
|
|