diff options
author | dan miller | 2007-10-19 05:22:50 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:22:50 +0000 |
commit | 0d2e078eebb2827e0ed49e55dd10df406c4e3af1 (patch) | |
tree | 6a6be07e1db2854c843ee8e39f4163ed5cc7a165 /libraries/ode-0.9\/tests/CppTestHarness/PrintfTestReporter.cpp | |
parent | trying to fix my screwup, please hold on (diff) | |
download | opensim-SC-0d2e078eebb2827e0ed49e55dd10df406c4e3af1.zip opensim-SC-0d2e078eebb2827e0ed49e55dd10df406c4e3af1.tar.gz opensim-SC-0d2e078eebb2827e0ed49e55dd10df406c4e3af1.tar.bz2 opensim-SC-0d2e078eebb2827e0ed49e55dd10df406c4e3af1.tar.xz |
trying to fix my screwup part deux
Diffstat (limited to 'libraries/ode-0.9\/tests/CppTestHarness/PrintfTestReporter.cpp')
-rwxr-xr-x | libraries/ode-0.9\/tests/CppTestHarness/PrintfTestReporter.cpp | 25 |
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 100755 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 | |||
5 | namespace CppTestHarness | ||
6 | { | ||
7 | |||
8 | void 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 | |||
13 | void PrintfTestReporter::ReportSingleResult(const std::string& /*testName*/, bool /*failed*/) | ||
14 | { | ||
15 | //empty | ||
16 | } | ||
17 | |||
18 | void 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 | |||