ADTF
3.18.2
|
This interface has to be implemented by the test report class. More...
Public Types | |
enum | tOutputterFlags { OF_Default = 0x0 , OF_HidePassed = 0x1 , OF_HideFailed = 0x2 , OF_HideStatistics = 0x4 } |
Enumeration values used as parameter in method setFlags() More... | |
Public Member Functions | |
virtual | ~ITestReportOutputter () |
Desctructor. | |
virtual void | setFlags (tInt nFlags)=0 |
Sets flags as specfied in enumeration tOutputterFlags. More... | |
virtual void | beginReport ()=0 |
Will be called when report starts. | |
virtual void | endReport ()=0 |
Will be called when report ends. | |
virtual void | beginTester (ITester *pTester)=0 |
Will be called when test begins. More... | |
virtual void | endTester (ITester *pTester)=0 |
Will be called when test ends. More... | |
virtual void | writeTestFunction (tTestDoc *pDoc)=0 |
Will be called when test case begins. More... | |
virtual void | writeTestFunctionEnd (tTestDoc *pDoc)=0 |
Will be called when test case ends. More... | |
virtual void | writeResult (ITester *pTester, tBool bPassed, const tChar *strExpression, const tChar *strFile, tInt nLine, const tChar *strFunction, const tChar *strMessage)=0 |
Will be called to write the test result. More... | |
This interface has to be implemented by the test report class.
Definition at line 89 of file testbench.h.
enum tOutputterFlags |
Enumeration values used as parameter in method setFlags()
Enumerator | |
---|---|
OF_Default | Defaul value. |
OF_HidePassed | Hide when passed. |
OF_HideFailed | Hide when failed. |
OF_HideStatistics | Hide statistic information. |
Definition at line 95 of file testbench.h.
|
pure virtual |
Will be called when test begins.
pTester | Pointer to object of type ITester |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.
|
pure virtual |
Will be called when test ends.
pTester | Pointer to object of type ITester |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.
|
pure virtual |
Sets flags as specfied in enumeration tOutputterFlags.
nFlags | Bitwise combination of values from tOutputterFlags |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.
|
pure virtual |
Will be called to write the test result.
pTester | Pointer to object of type ITester |
bPassed | True when test passed, false otherwise |
strExpression | Textual representation of test case |
strFile | Name of test source file |
nLine | Line number in test source file |
strFunction | Name of test function |
strMessage | User defined message |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.
|
pure virtual |
Will be called when test case begins.
pDoc | Pointer to test case structure |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.
|
pure virtual |
Will be called when test case ends.
pDoc | Pointer to test case structure |
Implemented in cPCBJunitReportOutputter, and cJUnitReportOutputter.