winIDEA SDK
|
This class defines settings used by commands in iTools menu and wizards.
#include <CTestEnvironmentConfig.h>
Public Types | |
enum | EToolsConfigSections { E_SECTION_IS_AUTO_SET_ANALYZER_FNAME , E_SECTION_ANALYZER_FNAME , E_SECTION_IS_SET_TEST_ID_ON_PASTE } |
Ids of sections. More... | |
Public Member Functions | |
CToolsConfig () | |
Default ctor. | |
CToolsConfig (const CTestBaseSPtr &parent) | |
Initializes new instance. More... | |
std::string | getAnalyzerFName () |
Returns default analyzer file name, which is used in testIDEA when analyzer is activated, if isAutoSetAnalyzerFName() returns true. | |
bool | isAutoSetAnalyzerFName () |
Returns E_TRUE, if analyzer file name should be set if empty and pattern is specified. More... | |
virtual bool | isEmpty () const |
This method returns true, if the object contains no data. | |
bool | isSetTestIdOnPaste () |
Returns true, if testIDEA should set test IDs on paste. | |
virtual void | serialize (const isys::IEmitterSPtr &emitter) |
Sends contents of this class to emitter. | |
void | setAnalyzerFName (const std::string &fName) |
Sets default analyzer file name, which is used in testIDEA when analyzer is activated, if isAutoSetAnalyzerFName() returns true. | |
void | setAutoSetAnalyzerFName (iconnect::ETristate isActive) |
Set to E_TRUE, if analyzer file name should be set if empty and pattern is specified. More... | |
virtual std::string | toString () |
Returns object data as YAML string. | |
Static Public Member Functions | |
static CToolsConfigSPtr | cast (const 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::CToolsConfig::CToolsConfig | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
parent | an instance of parent CTestBase. |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
IllegalArgumentException | if input object is not instance of this class. |
bool isys::CToolsConfig::isAutoSetAnalyzerFName | ( | ) |
Returns E_TRUE, if analyzer file name should be set if empty and pattern is specified.
Default value (E_DEFAULT) means false.
void isys::CToolsConfig::setAutoSetAnalyzerFName | ( | iconnect::ETristate | isActive | ) |
Set to E_TRUE, if analyzer file name should be set if empty and pattern is specified.
Default value (E_DEFAULT) means false.