This class defines target initialization steps to be performed before each test case. More...
#include <CTestEnvironmentConfig.h>
Public Types | |
| enum | ETestCaseTargetInitSectionIds |
| Ids of test specification sections. | |
Public Member Functions | |
| CTestBaseSPtr | createInstance (const CTestBaseSPtr &parent) const |
| Creates a new empty instance of this class. | |
| std::string | getStopFunctionOnTCInit () |
| Returns the name of the function to stop on in init sequence before each test case. | |
| bool | isDownloadOnTCInit () |
| If E_TRUE is returned, download is performed before each test case. | |
| virtual bool | isEmpty () const |
| This method returns true, if the object contains no data. | |
| bool | isResetOnTCInit () |
| If E_TRUE is returned, reset is performed before each test case. | |
| bool | isRunOnTCInit () |
| If E_TRUE is returned, target is started before each test case. | |
| virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter. | |
| void | setDownloadOnTCInit (iconnect::ETristate isDownload) |
| void | setResetOnTCInit (iconnect::ETristate isReset) |
| void | setRunOnTCInit (iconnect::ETristate isRun) |
| void | setStopFunctionOnTCInit (const std::string &stopFunction) |
| virtual std::string | toString () |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CTestCaseTargetInitConfigSPtr | cast (const CTestBaseSPtr &testBase) |
| Casts the given object to this class. | |
Protected Member Functions | |
| void | setStaticTagsAsConst () |
| This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
This class defines target initialization steps to be performed before each test case.
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
| std::string isys::CTestCaseTargetInitConfig::getStopFunctionOnTCInit | ( | ) |
Returns the name of the function to stop on in init sequence before each test case.
Has no effect if isRunOnTCInit() returns false.
| bool isys::CTestCaseTargetInitConfig::isDownloadOnTCInit | ( | ) |
If E_TRUE is returned, download is performed before each test case.
Default value (E_DEFAULT) means false.
| bool isys::CTestCaseTargetInitConfig::isResetOnTCInit | ( | ) |
If E_TRUE is returned, reset is performed before each test case.
Default value (E_DEFAULT) means false.
| bool isys::CTestCaseTargetInitConfig::isRunOnTCInit | ( | ) |
If E_TRUE is returned, target is started before each test case.
Default value (E_DEFAULT) means false.
| void isys::CTestCaseTargetInitConfig::setDownloadOnTCInit | ( | iconnect::ETristate | isDownload | ) |
| void isys::CTestCaseTargetInitConfig::setResetOnTCInit | ( | iconnect::ETristate | isReset | ) |
| void isys::CTestCaseTargetInitConfig::setRunOnTCInit | ( | iconnect::ETristate | isRun | ) |
| void isys::CTestCaseTargetInitConfig::setStopFunctionOnTCInit | ( | const std::string & | stopFunction | ) |