This class contains configuration for calling script functions from testIDEA. More...
#include <CTestEnvironmentConfig.h>
Public Types | |
| enum | EAddressDisplay |
| Enumeration for address format. | |
| enum | EBinaryDisplay |
| Enumeration for binary format. | |
| enum | ECharDisplay |
| Enumeration for format of characters. | |
| enum | EEnumDisplay |
| Enumeration for format of enums. | |
| enum | ETestEvaluatorConfigSectionIds { } |
| Ids of test specification sections. More... | |
Public Member Functions | |
| void | applySettingsToWinIDEA (CIDEControllerSPtr &ideSPtr) |
| This methods sets evaluator options for displaying values in winIDEA Watch window. | |
| CTestBaseSPtr | createInstance (const CTestBaseSPtr &parent) const override |
| Creates a new empty instance of this class. | |
| EAddressDisplay | getAddressDisplay () |
| Returns type of format for addresses. | |
| EBinaryDisplay | getBinaryDisplay () |
| Returns type of format for binary values. | |
| ECharDisplay | getCharDisplay () |
| Returns type of format for char values. | |
| EEnumDisplay | getEnumDisplay () |
| Returns type of format for enums. | |
| double | getVagueFloatPrecision () |
| Returns precision for floating point comparison. | |
| bool | isAnsi () |
| Returns E_TRUE, if chars should be displayed in ANSI format. | |
| bool | isCharArrayAsString () |
| Returns E_TRUE, if char arrays should be displayed as strings. | |
| bool | isDereferenceStringPointers () |
| Returns E_TRUE, if pointers to 'char' should be dereferenced automatically. | |
| bool | isDisplayCollapsedArrayStruct () |
| Returns E_TRUE, if array and structure values are displayed. | |
| bool | isDisplayPointerMemArea () |
| Returns E_TRUE, if mem area should be displayed with pointers. | |
| bool | isEmpty () const override |
| This method returns true, if the object contains no data. | |
| bool | isHex () |
| Returns E_TRUE, if integers should be displayed in hex format. | |
| bool | isOverrideWinIDEASettings () |
| Returns E_TRUE, if winIDEA evaluator setting should be overridden with settings in this object. | |
| virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter. | |
| void | setAddressDisplay (EAddressDisplay addrDisplay) |
| Sets format for addresses. | |
| void | setAnsi (iconnect::ETristate isAnsi) |
| If set to true, chars are displayed in ANSI format. | |
| void | setBinaryDisplay (EBinaryDisplay binaryDisplay) |
| Sets format for binary numbers. | |
| void | setCharArrayAsString (iconnect::ETristate isCharArrayAsString) |
| If set to true, char arrays are displayed as null terminated strings. | |
| void | setCharDisplay (ECharDisplay charDisplay) |
| Sets type of format for char values. | |
| void | setDereferenceStringPointers (iconnect::ETristate isDereferenceStringPointers) |
| If set to true, pointers to 'char *' are automatically dereferenced. | |
| void | setDisplayCollapsedArrayStruct (iconnect::ETristate isDisplayCollapsedArrayStruct) |
| If set to true, array and struct values are displayed. | |
| void | setDisplayPointerMemArea (iconnect::ETristate isDisplayPointerMemArea) |
| If set to true, mem area is displayed with pointers. | |
| void | setEnumDisplay (EEnumDisplay enumDisplay) |
| Sets format for enums. | |
| void | setHex (iconnect::ETristate isHex) |
| If set to true, integers are displayed in HEX format. | |
| void | setOverrideWinIDEASettings (iconnect::ETristate isOverrideWinIDEASettings) |
| If set to true, existing winIDEA evaluator settings will be overridden with settings from this object. | |
| void | setVagueFloatPrecision (double precision) |
| Sets precision for floating point comparison. | |
| std::string | toString () override |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CEvaluatorConfigSPtr | cast (const CTestBaseSPtr &testBase) |
| Casts the given object to this class. | |
| static std::string | charDisplayEnum2Str (ECharDisplay val) |
| Returns string representation of enum. | |
Protected Member Functions | |
| void | setStaticTagsAsConst () |
| This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
This class contains configuration for calling script functions from testIDEA.
Default operator =() can be used.
| void isys::CEvaluatorConfig::applySettingsToWinIDEA | ( | CIDEControllerSPtr & | ideSPtr | ) |
This methods sets evaluator options for displaying values in winIDEA Watch window.
These settings are also used by isystem.connect's CDataController::evaluate() method and testIDEA. This method applies current settings regardless of value returned by isOverrideWinIDEASettings().
| ideSPtr | shared pointer to CIDEController instance |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
|
overridevirtual |
| EAddressDisplay isys::CEvaluatorConfig::getAddressDisplay | ( | ) |
Returns type of format for addresses.
| EBinaryDisplay isys::CEvaluatorConfig::getBinaryDisplay | ( | ) |
Returns type of format for binary values.
| ECharDisplay isys::CEvaluatorConfig::getCharDisplay | ( | ) |
Returns type of format for char values.
| EEnumDisplay isys::CEvaluatorConfig::getEnumDisplay | ( | ) |
Returns type of format for enums.
| double isys::CEvaluatorConfig::getVagueFloatPrecision | ( | ) |
Returns precision for floating point comparison.
Numbers, which differ less than this value are considered equal.
| bool isys::CEvaluatorConfig::isAnsi | ( | ) |
Returns E_TRUE, if chars should be displayed in ANSI format.
Default value (E_DEFAULT) means false.
| bool isys::CEvaluatorConfig::isCharArrayAsString | ( | ) |
Returns E_TRUE, if char arrays should be displayed as strings.
Default value (E_DEFAULT) means false.
| bool isys::CEvaluatorConfig::isDereferenceStringPointers | ( | ) |
Returns E_TRUE, if pointers to 'char' should be dereferenced automatically.
Default value (E_DEFAULT) means false.
| bool isys::CEvaluatorConfig::isDisplayCollapsedArrayStruct | ( | ) |
Returns E_TRUE, if array and structure values are displayed.
Default value (E_DEFAULT) means false.
| bool isys::CEvaluatorConfig::isDisplayPointerMemArea | ( | ) |
Returns E_TRUE, if mem area should be displayed with pointers.
Default value (E_DEFAULT) means false.
|
overrideinherited |
This method returns true, if the object contains no data.
| bool isys::CEvaluatorConfig::isHex | ( | ) |
Returns E_TRUE, if integers should be displayed in hex format.
Default value (E_DEFAULT) means false.
| bool isys::CEvaluatorConfig::isOverrideWinIDEASettings | ( | ) |
Returns E_TRUE, if winIDEA evaluator setting should be overridden with settings in this object.
Default value (E_DEFAULT) means false.
|
virtualinherited |
Sends contents of this class to emitter.
Reimplemented in isys::CLogResult, and isys::CTestEnvironmentConfig.
| void isys::CEvaluatorConfig::setAddressDisplay | ( | EAddressDisplay | addrDisplay | ) |
Sets format for addresses.
| void isys::CEvaluatorConfig::setAnsi | ( | iconnect::ETristate | isAnsi | ) |
If set to true, chars are displayed in ANSI format.
| void isys::CEvaluatorConfig::setBinaryDisplay | ( | EBinaryDisplay | binaryDisplay | ) |
Sets format for binary numbers.
| void isys::CEvaluatorConfig::setCharArrayAsString | ( | iconnect::ETristate | isCharArrayAsString | ) |
If set to true, char arrays are displayed as null terminated strings.
| void isys::CEvaluatorConfig::setCharDisplay | ( | ECharDisplay | charDisplay | ) |
Sets type of format for char values.
| void isys::CEvaluatorConfig::setDereferenceStringPointers | ( | iconnect::ETristate | isDereferenceStringPointers | ) |
If set to true, pointers to 'char *' are automatically dereferenced.
| void isys::CEvaluatorConfig::setDisplayCollapsedArrayStruct | ( | iconnect::ETristate | isDisplayCollapsedArrayStruct | ) |
If set to true, array and struct values are displayed.
| void isys::CEvaluatorConfig::setDisplayPointerMemArea | ( | iconnect::ETristate | isDisplayPointerMemArea | ) |
If set to true, mem area is displayed with pointers.
| void isys::CEvaluatorConfig::setEnumDisplay | ( | EEnumDisplay | enumDisplay | ) |
Sets format for enums.
| void isys::CEvaluatorConfig::setHex | ( | iconnect::ETristate | isHex | ) |
If set to true, integers are displayed in HEX format.
| void isys::CEvaluatorConfig::setOverrideWinIDEASettings | ( | iconnect::ETristate | isOverrideWinIDEASettings | ) |
If set to true, existing winIDEA evaluator settings will be overridden with settings from this object.
| void isys::CEvaluatorConfig::setVagueFloatPrecision | ( | double | precision | ) |
Sets precision for floating point comparison.
Numbers, which differ less than this value are considered equal.
|
overrideinherited |
Returns object data as YAML string.