2011-06-21 22:04:44 +03:00
|
|
|
#ifndef _PLAIN_LOGGER_H
|
|
|
|
#define _PLAIN_LOGGER_H
|
|
|
|
|
|
|
|
#include "logger.h"
|
|
|
|
|
2011-06-27 16:41:45 +03:00
|
|
|
void PlainRunStarted(int parameterCount, char *runnerParameters[], time_t eventTime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
2011-06-22 17:41:37 +03:00
|
|
|
void PlainRunEnded(int testCount, int suiteCount, int testPassCount, int testFailCount,
|
|
|
|
time_t endTime, time_t totalRuntime);
|
2011-06-21 22:04:44 +03:00
|
|
|
|
|
|
|
void PlainSuiteStarted(const char *suiteName, time_t eventTime);
|
|
|
|
|
|
|
|
void PlainSuiteEnded(int testsPassed, int testsFailed, int testsSkipped,
|
|
|
|
double endTime, time_t totalRuntime);
|
|
|
|
|
2011-06-22 17:41:37 +03:00
|
|
|
void PlainTestStarted(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 PlainTestEnded(const char *testName, const char *suiteName,
|
2011-06-26 23:04:37 +03:00
|
|
|
int testResult, time_t endTime, time_t totalRuntime);
|
|
|
|
|
2011-06-21 22:04:44 +03:00
|
|
|
|
|
|
|
void PlainAssert(const char *assertName, int assertResult, const char *assertMessage,
|
|
|
|
time_t eventTime);
|
|
|
|
|
2011-06-26 23:04:37 +03:00
|
|
|
void PlainAssertSummary(int numAsserts, int numAssertsFailed, int numAssertsPass);
|
|
|
|
|
|
|
|
|
2011-06-21 22:04:44 +03:00
|
|
|
void PlainLog(const char *logMessage, time_t eventTime);
|
|
|
|
|
|
|
|
#endif
|