winIDEA SDK
|
This class contains specification for dry run.
Assignments stored in this class will be evaluated during dry run test and then copied to section Variables.
#include <CTestDryRun.h>
Public Types | |
enum | EDryRunSectionIds |
Ids of test specification sections. More... | |
Public Member Functions | |
CTestDryRun () | |
Initializes new instance. More... | |
CTestDryRun (const CTestBaseSPtr &parent) | |
Initializes new instance. More... | |
CMapAdapter | getAssignments (bool isConst) |
Returns assignments to host variables. | |
std::string | getProfilerMultiplier () |
Returns value used to adapt profiler expected value according to measured value: new_value = measured_value * multiplier + offset. | |
std::string | getProfilerOffset () |
Returns value used to adapt profiler expected value according to measured value: new_value = measured_value * multiplier + offset. | |
virtual bool | isEmpty () const |
This method returns true, if the object contains no data. | |
iconnect::ETristate | isUpdateCoverage () |
Returns true, if required coverage statistics should be updated during dry run. More... | |
iconnect::ETristate | isUpdateProfiler () |
Returns true, if required profiler statistics should be updated during dry run. More... | |
virtual void | serialize (const isys::IEmitterSPtr &emitter) |
Sends contents of this class to emitter. | |
void | setUpdateCoverage (iconnect::ETristate isUpdate) |
Set value to true, if required coverage statistics should be updated during dry run. More... | |
void | setUpdateProfiler (iconnect::ETristate isUpdate) |
Set value to true, if required profiler statistics should be updated during dry run. More... | |
virtual std::string | toString () |
Returns object data as YAML string. | |
Static Public Member Functions | |
static CTestDryRunSPtr | 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, ... | |
Ids of test specification sections.
The order of IDs determines the order of serialized tags.
isys::CTestDryRun::CTestDryRun | ( | ) |
Initializes new instance.
Parent is not set.
isys::CTestDryRun::CTestDryRun | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
parent | an instance of parent CTestSpecification 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. |
iconnect::ETristate isys::CTestDryRun::isUpdateCoverage | ( | ) |
Returns true, if required coverage statistics should be updated during dry run.
Only items already defined in statistics will be modified.
iconnect::ETristate isys::CTestDryRun::isUpdateProfiler | ( | ) |
Returns true, if required profiler statistics should be updated during dry run.
Only items already defined in statistics will be modified.
void isys::CTestDryRun::setUpdateCoverage | ( | iconnect::ETristate | isUpdate | ) |
Set value to true, if required coverage statistics should be updated during dry run.
Only items already defined in statistics will be modified.
void isys::CTestDryRun::setUpdateProfiler | ( | iconnect::ETristate | isUpdate | ) |
Set value to true, if required profiler statistics should be updated during dry run.
Only items already defined in statistics will be modified.