2011-06-21 22:04:44 +03:00
|
|
|
#ifndef _XML_LOGGER_H
|
|
|
|
#define _XML_LOGGER_H
|
|
|
|
|
|
|
|
#include "logger.h"
|
|
|
|
|
2011-06-27 16:41:45 +03:00
|
|
|
void XMLRunStarted(int parameterCount, char *runnerParameters[], time_t eventTime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
2011-06-22 17:41:37 +03:00
|
|
|
void XMLRunEnded(int testCount, int suiteCount, int testPassCount, int testFailCount,
|
2011-06-27 21:41:34 +03:00
|
|
|
time_t endTime, double totalRuntime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
|
|
|
void XMLSuiteStarted(const char *suiteName, time_t eventTime);
|
|
|
|
|
|
|
|
void XMLSuiteEnded(int testsPassed, int testsFailed, int testsSkipped,
|
2011-06-27 21:41:34 +03:00
|
|
|
time_t endTime, double totalRuntime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
2011-06-22 17:41:37 +03:00
|
|
|
void XMLTestStarted(const char *testName, const char *suiteName, const char *testDescription, time_t startTime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
2011-06-22 17:41:37 +03:00
|
|
|
void XMLTestEnded(const char *testName, const char *suiteName,
|
2011-06-27 21:41:34 +03:00
|
|
|
int testResult, time_t endTime, double totalRuntime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
|
|
|
void XMLAssert(const char *assertName, int assertResult, const char *assertMessage,
|
2011-06-27 22:14:48 +03:00
|
|
|
time_t eventTime);
|
|
|
|
|
|
|
|
void XMLAssertWithValues(const char *assertName, int assertResult, const char *assertMessage,
|
|
|
|
int actualValue, int excpected, time_t eventTime);
|
|
|
|
|
2011-06-21 22:04:44 +03:00
|
|
|
|
2011-06-27 21:41:34 +03:00
|
|
|
void XMLAssertSummary(int numAsserts, int numAssertsFailed, int numAssertsPass, time_t eventTime);
|
2011-06-26 23:04:37 +03:00
|
|
|
|
2011-06-21 22:04:44 +03:00
|
|
|
void XMLLog(const char *logMessage, time_t eventTime);
|
|
|
|
|
|
|
|
#endif
|