From fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:20:07 +0000 Subject: dont ask --- .../ode-0.9/tests/CppTestHarness/TestResults.cpp | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp (limited to 'libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp') diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp b/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp deleted file mode 100644 index f2d2f81..0000000 --- a/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "TestResults.h" -#include "TestReporter.h" - -namespace CppTestHarness -{ - -TestResults::TestResults(TestReporter& testReporter) - : m_failure(false) - , m_testReporter(testReporter) -{ -} - -void TestResults::ReportFailure(char const* file, int const line, std::string const failure) -{ - m_failure = true; - m_testReporter.ReportFailure(file, line, failure); -} - -void TestResults::ReportDone(const std::string& testName) -{ - m_testReporter.ReportSingleResult(testName, m_failure); -} - -bool TestResults::Failed() const -{ - return m_failure; -} - -} - -- cgit v1.1