This class defines stub assignments for one stub call. More...
#include <CTestEvalAssignStep.h>
Public Types | |
| enum | EStepSectionIds |
| Ids of test specification sections. More... | |
Public Member Functions | |
| CMapAdapter | getAssignments (bool isConst) |
| Returns assignments to variables, registers, ... | |
| CSequenceAdapter | getExpectedExpressions (bool isConst) |
| Returns expressions, which should evaluate to true. | |
| CSequenceAdapter | getScriptParams (bool isConst) |
| Returns parameters for script function. | |
| std::string | getStepIdx () |
| Returns index of the step to use on the next call. | |
| bool | isEmpty () const override |
| This method returns true, if the object contains no data. | |
| virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter. | |
| void | setStepIdx (int stepIdx) |
| Sets step index. | |
| std::string | toString () override |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CTestEvalAssignStepSPtr | cast (const CTestBaseSPtr &testBase) |
| Casts the given object to this class. | |
Protected Member Functions | |
| void | setStaticTagsAsConst () |
| This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
This class defines stub assignments for one stub call.
Ids of test specification sections.
The order of IDs determines the order of serialized tags.
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
| CMapAdapter isys::CTestEvalAssignStep::getAssignments | ( | bool | isConst | ) |
Returns assignments to variables, registers, ...
| CSequenceAdapter isys::CTestEvalAssignStep::getExpectedExpressions | ( | bool | isConst | ) |
Returns expressions, which should evaluate to true.
| CSequenceAdapter isys::CTestEvalAssignStep::getScriptParams | ( | bool | isConst | ) |
Returns parameters for script function.
| std::string isys::CTestEvalAssignStep::getStepIdx | ( | ) |
Returns index of the step to use on the next call.
Negative values are indices from the end. If empty string is returned, the next step should be executed in the next call, unless the current step is the last step - in this case the last step is executed.
|
overrideinherited |
This method returns true, if the object contains no data.
|
virtualinherited |
Sends contents of this class to emitter.
Reimplemented in isys::CLogResult, and isys::CTestEnvironmentConfig.
| void isys::CTestEvalAssignStep::setStepIdx | ( | int | stepIdx | ) |
|
overrideinherited |
Returns object data as YAML string.