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 | |
| virtual void | assign (const CTestObjectSPtr &base) |
| Assigns members of base to this. | |
| bool | containsSection (int section) const |
| Returns true, if the specified section exists for this object. | |
| virtual CTestObjectSPtr | copy () const |
| Creates a deep copy of this object. | |
| CTestBaseSPtr | createInstance (const CTestBaseSPtr &parent) const |
| CTestEvalAssignStep () | |
| CMapAdapter | getAssignments (bool isConst) |
| Returns assignments to variables, registers, ... | |
| std::string | getClassName () const |
| virtual CTestTreeNodeSPtr | getContainerTestNode () |
| virtual CTestSpecificationSPtr getContainerTestSpec(); | |
| int | getEnumTagValue (int section) |
| Returns value of enum type. | |
| CSequenceAdapter | getExpectedExpressions (bool isConst) |
| Returns expressions, which should evaluate to true. | |
| CTestBaseSPtr | getParent () const |
| Returns parent. | |
| CSequenceAdapter | getScriptParams (bool isConst) |
| Returns parameters for script function. | |
| int | getSectionId (const std::string §ionName) |
| Returns section ID for the given section name. | |
| std::string | getStepIdx () |
| Returns index of the step to use on the next call. | |
| CTestBaseSPtr | getTestBase (int section, bool isConst) |
| CTestBaseListSPtr | getTestBaseList (int section, bool isConst) |
| CTestObject::ETestObjType | getTestObjType () const |
| Returns type of this object, which is CTestObject::ETestBase. | |
| virtual bool | isEmpty () const |
| This method returns true, if the object contains no data. | |
| bool | isSectionEmpty (int sectionId) |
| Returns true, if the given section is empty. | |
| virtual bool | isSerializedAsList (bool isParsing) |
| Returns true if object should be serialized as list, for example CTestFunction. | |
| virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter. | |
| virtual void | setComment (int section, int idx, const std::string &nlComment, const std::string &eolComment) |
| void | setEnumTagValue (int section, int enumValue) |
| Sets value of enum type. | |
| virtual void | setMainMapStyle (isys::IEmitter::EYamlStyle mappingStyle) |
| Sets style of the mapping for complete object. | |
| void | setParent (CTestBaseSPtr parent) |
| Sets parent. | |
| void | setStepIdx (int stepIdx) |
| Sets step index. | |
| virtual std::string | toString () |
| Returns object data as YAML string. | |
| ~CTestEvalAssignStep () | |
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.
| isys::CTestEvalAssignStep::CTestEvalAssignStep | ( | ) |
| isys::CTestEvalAssignStep::~CTestEvalAssignStep | ( | ) |
|
virtualinherited |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
|
inherited |
Returns true, if the specified section exists for this object.
|
virtualinherited |
Creates a deep copy of this object.
Parent is set.
|
virtual |
Implements isys::CTestBase.
| CMapAdapter isys::CTestEvalAssignStep::getAssignments | ( | bool | isConst | ) |
Returns assignments to variables, registers, ...
|
inherited |
|
virtualinherited |
virtual CTestSpecificationSPtr getContainerTestSpec();
|
inherited |
Returns value of enum type.
| CSequenceAdapter isys::CTestEvalAssignStep::getExpectedExpressions | ( | bool | isConst | ) |
Returns expressions, which should evaluate to true.
|
inherited |
Returns parent.
| CSequenceAdapter isys::CTestEvalAssignStep::getScriptParams | ( | bool | isConst | ) |
Returns parameters for script function.
|
inherited |
Returns section ID for the given section name.
| 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.
|
inherited |
|
inherited |
|
inherited |
Returns type of this object, which is CTestObject::ETestBase.
|
virtualinherited |
This method returns true, if the object contains no data.
|
inherited |
Returns true, if the given section is empty.
|
virtualinherited |
Returns true if object should be serialized as list, for example CTestFunction.
Reimplemented in isys::CTestFunction.
|
virtualinherited |
Sends contents of this class to emitter.
Reimplemented in isys::CLogResult, and isys::CTestEnvironmentConfig.
|
virtualinherited |
|
inherited |
Sets value of enum type.
|
virtualinherited |
Sets style of the mapping for complete object.
|
inherited |
Sets parent.
| void isys::CTestEvalAssignStep::setStepIdx | ( | int | stepIdx | ) |
|
virtualinherited |
Returns object data as YAML string.