7 #ifndef _TEST_PCB_JUNIT_INCLUDES_
8 #define _TEST_PCB_JUNIT_INCLUDES_
31 FILE* m_hRedirectedFileHandle =
nullptr;
96 const char* strExpression,
99 const char* strFunction,
100 const char* strMessage);
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
int tInt
type definition for signed integer value (platform and compiler dependent type).
bool tBool
The tBool defines the type for the Values tTrue and tFalse (platform and compiler dependent).
representation for an element of the cDom
cDOM implements a XML parser which can be used to read in XML files and perform simple (!...
This interface has to be implemented by the test report class.
This class is the base class of all test cases.
Class which is used to create XML file in JUNIT format.
void writeTestFunction(tTestDoc *pDoc)
Will be called when test case begins.
void endTester(ITester *pTester)
Will be called when test ends.
void setFlags(int nFlags)
Sets flags as specfied in enumeration tOutputterFlags.
int m_nOriginalStdOut
STDOUT_FILENO.
cPCBJunitReportOutputter(const tChar *strFile, tInt nBuild, A_UTILS_NS::cCommandLine &oCmdLine)
This class is used to generate the XML file in Junit format.
tInt m_nBuild
It the build number.
A_UTILS_NS::cDOMElement * skipped
It is a pointer to the tests that are not done.
A_UTILS_NS::cString m_strCurrentSuite
The variable represents the name of the CurrentSuite.
void endReport()
Will be called when report ends.
A_UTILS_NS::cDOMElement * m_pCurrentSuite
It is a pointer to the current testgroup.
A_UTILS_NS::cDOMElement * m_pCurrentTest
It is a pointer to the current test.
tBool m_bError
error state
void beginTester(ITester *pTester)
Will be called when test begins.
void writeResult(ITester *pTester, bool bPassed, const char *strExpression, const char *strFile, int nLine, const char *strFunction, const char *strMessage)
Will be called when the result is wriiten to the file.
void writeTestFunctionEnd(tTestDoc *pDoc)
Will be called when test case ends.
A_UTILS_NS::cDOM m_oDOM
This implements a XML parser which can be used to read in XML files.
int m_nOriginalStdErr
STDERR_FILENO.
void beginReport()
Will be called when report starts.
A_UTILS_NS::cFilename m_strFile
The object to the class Filename used as Test file.
tBool m_bRedirect
tTrue if "noredirect" from cmdLine is disabled
tInt m_nFlags
It is the flag value.
This structure defines a test case.