This class contains specification for trace recording during test execution. More...
#include <CTestAnalyzerTrace.h>
Public Types | |
| enum | ETraceSectionId |
| Ids of test specification sections. | |
Public Member Functions | |
| CTestAnalyzerTrace (const CTestBaseSPtr &parent) | |
| Initializes new instance. | |
| std::string | getExportFileName () |
| Returns the export file name. | |
| ETraceExportFormat | getExportFormat () |
| Returns the export format type. | |
| iconnect::ETristate | isActive () |
| Returns E_TRUE if this section is active (export is performed, and analysis is run for coverage and profiler). | |
| 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 | setActive (iconnect::ETristate isActive) |
If isActive == true, recording is exported and analysis is performed. | |
| void | setExportFileName (const std::string &exportFileName) |
| Sets the export file name. | |
| void | setExportFormat (ETraceExportFormat exportFormat) |
| Sets export format for the trace document. | |
| virtual std::string | toString () |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CTestAnalyzerTraceSPtr | cast (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 contains specification for trace recording during test execution.
| isys::CTestAnalyzerTrace::CTestAnalyzerTrace | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
| parent | an instance of parent CTestSpecification class. Used only when parsing YAML declaration. Can be specified as NULL if the object is not initialized by parser. |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
| ETraceExportFormat isys::CTestAnalyzerTrace::getExportFormat | ( | ) |
Returns the export format type.
See CAnalyzerDocController for possible values.
| void isys::CTestAnalyzerTrace::setExportFormat | ( | ETraceExportFormat | exportFormat | ) |
Sets export format for the trace document.
See CAnalyzerDocController for possible values.