winIDEA SDK
|
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.
#include <CTestPersistentVars.h>
Public Types | |
enum | EPersistVarsSections |
Ids of test specification sections. | |
Public Member Functions | |
CTestPersistentVars (const CTestBaseSPtr &parent) | |
Initializes new instance. More... | |
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. | |
virtual std::string | toString () |
Returns object data as YAML string. | |
Static Public Member Functions | |
static CTestPersistentVarsSPtr | cast (CTestBaseSPtr &testBase) |
Casts the given object to this class. More... | |
Protected Member Functions | |
void | setStaticTagsAsConst () |
This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
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. |
|
virtual |
Returns true, if the CTestSpecification section containing this object is merged.
Reimplemented from isys::CTestBase.