summaryrefslogtreecommitdiff
path: root/libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h')
-rw-r--r--libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h b/libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h
new file mode 100644
index 0000000..eae0e71
--- /dev/null
+++ b/libs/ode-0.16.1/tests/UnitTest++/src/TestDetails.h
@@ -0,0 +1,24 @@
+#ifndef UNITTEST_TESTDETAILS_H
+#define UNITTEST_TESTDETAILS_H
+
+namespace UnitTest {
+
+class TestDetails
+{
+public:
+ TestDetails(char const* testName, char const* suiteName, char const* filename, int lineNumber);
+ TestDetails(const TestDetails& details, int lineNumber);
+
+ char const* const suiteName;
+ char const* const testName;
+ char const* const filename;
+ int const lineNumber;
+
+ TestDetails(TestDetails const&); // Why is it public? --> http://gcc.gnu.org/bugs.html#cxx_rvalbind
+private:
+ TestDetails& operator=(TestDetails const&);
+};
+
+}
+
+#endif