Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ode/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp @ 216

Last change on this file since 216 was 216, checked in by mathiask, 16 years ago

[Physik] add ode-0.9

File size: 529 bytes
Line 
1#include "PrintfTestReporter.h"
2
3#include <cstdio>
4
5namespace CppTestHarness
6{
7
8void PrintfTestReporter::ReportFailure(char const* file, int const line, std::string const failure)
9{
10        printf("%s(%d) : failure: %s\n", file, line, failure.c_str());
11}
12
13void PrintfTestReporter::ReportSingleResult(const std::string& /*testName*/, bool /*failed*/)
14{
15        //empty
16}
17
18void PrintfTestReporter::ReportSummary(int const testCount, int const failureCount)
19{
20        printf("%d tests run.\n", testCount);
21        printf("%d failures.\n", failureCount);
22}
23
24}
25
Note: See TracBrowser for help on using the repository browser.