This section defines types and values of persistent variables. More...
#include <CTestPersistentVars.h>
Public Types | |
| enum | EPersistVarsSections |
| Ids of test specification sections. | |
Public Member Functions | |
| CTestPersistentVars (const CTestBaseSPtr &parent) | |
| Initializes new instance. | |
| bool | isEmpty () const override |
| This method returns true, if the object contains no data. | |
| bool | isMerged () const override |
| Returns true, if the CTestSpecification section containing this object is merged. | |
| virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter. | |
| std::string | toString () override |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CTestPersistentVarsSPtr | cast (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 section defines types and values of persistent variables.
These variables exist on target between tests and can be used to preserve values from one test to be used in anoter test. It is also possible to specify persistent variables to be deleted.
| isys::CTestPersistentVars::CTestPersistentVars | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
| parent | an instance of parent CTestVariables class. |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
|
overrideinherited |
This method returns true, if the object contains no data.
|
overridevirtual |
Returns true, if the CTestSpecification section containing this object is merged.
Reimplemented from isys::CTestBase.
|
virtualinherited |
Sends contents of this class to emitter.
Reimplemented in isys::CLogResult, and isys::CTestEnvironmentConfig.
|
overrideinherited |
Returns object data as YAML string.