comparison ext/UnitTest++/src/TestDetails.h @ 37:0d325e9d5953

added unittest++ files into ext. Not hooked into build scripts yet
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 12 Jul 2008 12:00:57 +0000
parents
children
comparison
equal deleted inserted replaced
36:6f1227f4932b 37:0d325e9d5953
1 #ifndef UNITTEST_TESTDETAILS_H
2 #define UNITTEST_TESTDETAILS_H
3
4 namespace UnitTest {
5
6 class TestDetails
7 {
8 public:
9 TestDetails(char const* testName, char const* suiteName, char const* filename, int lineNumber);
10 TestDetails(const TestDetails& details, int lineNumber);
11
12 char const* const suiteName;
13 char const* const testName;
14 char const* const filename;
15 int const lineNumber;
16
17 TestDetails(TestDetails const&); // Why is it public? --> http://gcc.gnu.org/bugs.html#cxx_rvalbind
18 private:
19 TestDetails& operator=(TestDetails const&);
20 };
21
22 }
23
24 #endif