winIDEA SDK
isys::CTestDryRun Class Reference

Description

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>

Inheritance diagram for isys::CTestDryRun:
isys::CTestBase

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.
 
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...
 
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.
 
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 bool isEmpty () const
 This method returns true, if the object contains no data.
 
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 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, ...
 

Member Enumeration Documentation

◆ EDryRunSectionIds

Ids of test specification sections.

The order of IDs determines the order of serialized tags.

Constructor & Destructor Documentation

◆ CTestDryRun() [1/2]

isys::CTestDryRun::CTestDryRun ( )

Initializes new instance.

Parent is not set.

◆ CTestDryRun() [2/2]

isys::CTestDryRun::CTestDryRun ( const CTestBaseSPtr parent)

Initializes new instance.

Parameters
parentan instance of parent CTestSpecification class.

Member Function Documentation

◆ cast()

static CTestDryRunSPtr isys::CTestDryRun::cast ( CTestBaseSPtr testBase)
static

Casts the given object to this class.

Returns NULL if input is NULL.

Exceptions
IllegalArgumentExceptionif input object is not instance of this class.

◆ isUpdateCoverage()

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.

◆ isUpdateProfiler()

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.

◆ setUpdateCoverage()

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.

◆ setUpdateProfiler()

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.