aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp
diff options
context:
space:
mode:
authordan miller2007-10-19 05:22:23 +0000
committerdan miller2007-10-19 05:22:23 +0000
commit1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43 (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp
parentone more for the gipper (diff)
downloadopensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.zip
opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.gz
opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.bz2
opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.xz
trying to fix my screwup, please hold on
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp')
-rw-r--r--libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp b/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp
deleted file mode 100644
index 68f7611..0000000
--- a/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
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