This class defines target initialization steps to be performed before running tests. More...
#include <CTestEnvironmentConfig.h>
Public Types | |
| enum | EInitAction { EIAConnectToCore , EIADownload , EIAReset , EIARun , EIADeleteAllBreakpoints , EIACallTargetFunction , EIACallScriptFunction , EIALoadSymbolsOnly , EIAWaitUntilStopped } |
| This enum defines actions, which can be performed during target initialization before tests are run. More... | |
| enum | EInitSequenceSectionIds |
| Ids of test specification sections. | |
Public Member Functions | |
| CTestBaseSPtr | createInstance (const CTestBaseSPtr &parent) const |
| Creates a new empty instance of this class. | |
| CInitSequenceAction::EInitAction | getAction () |
| Returns action to be performed. | |
| std::string | getActionName () |
| Returns action name as human readable string - may be used for logging and debugging. | |
| std::string | getCoreId () |
| Returns ID of the core where action should be performed. | |
| 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. | |
| void | setAction (CInitSequenceAction::EInitAction action) |
| void | setCoreId (const std::string &coreId) |
| virtual std::string | toString () |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CInitSequenceActionSPtr | 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 running tests.
It supports initialization of multiple cores.
This enum defines actions, which can be performed during target initialization before tests are run.
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
| CInitSequenceAction::EInitAction isys::CInitSequenceAction::getAction | ( | ) |
Returns action to be performed.
Use CSequenceAdapter to get parameters.
| void isys::CInitSequenceAction::setAction | ( | CInitSequenceAction::EInitAction | action | ) |
| void isys::CInitSequenceAction::setCoreId | ( | const std::string & | coreId | ) |