root/library/tests/unittest-cpp/TestDetails.h @ 434

Revision 418, 0.6 kB (checked in by vbarta, 15 years ago)

#27: added UnitTest?++ to bdm sources, changed test_user_data to use it

Line 
1#ifndef UNITTEST_TESTDETAILS_H
2#define UNITTEST_TESTDETAILS_H
3
4namespace UnitTest {
5
6class TestDetails
7{
8public:
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
18private:
19    TestDetails& operator=(TestDetails const&);
20};
21
22}
23
24#endif
Note: See TracBrowser for help on using the browser.