Go to the documentation of this file.
36 printf(
"<!-- Init %s -->\r\n",
41 printf(
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n"
42 "<testsuites id=\"%s\" name=\"%s\">\r\n"
43 "<testsuite id=\"%s\" name=\"%s\" tests=\"%d\">\r\n",
61 printf(
" <testcase id=\"%s.%s\" name=\"%s.%s\">\r\n",
87 printf(
" <!-- OK -->\r\n");
91 printf(
" <failure message=\"%s\" type=\"error\" />\r\n",
96 printf(
" <skipped message=\"Skipped: %s\" type=\"unittest.case.SkipTest\">Skipped: %s</skipped>\r\n",
100 printf(
" </testcase>\r\n");
111 printf(
"</testsuites>\r\n"
118 printf(
"%s (%d passed %d failed %d skipped %d total) -->\r\n",
virtual void reportBefore(TestInstance &test)
Report start of a test.
virtual void reportFinish(List< TestInstance * > &tests)
Report completion of all tests.
Size count() const
Get the number of items on the list.
bool m_multiline
Multi line output.
char ** m_argv
Argument values.
int printf(const char *format,...)
Output a formatted string to standard output.
uint m_ok
Test statistics.
virtual void reportBegin(List< TestInstance * > &tests)
Report start of testing.
String & getDescription()
Get result description.
Represents a Test result created by a TestInstance.
virtual void reportAfter(TestInstance &test, TestResult &result)
Report finish of a test.
Responsible for outputting test results.
String m_name
Name of the test instance.
XMLReporter(int argc, char **argv)
Constructor.
const Result getResult() const
Get result code.
Represents a test instance.