|
Revision 706, 0.6 kB
(checked in by smidl, 16 years ago)
|
|
eol-native
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | #ifndef UNITTEST_TESTDETAILS_H |
|---|
| 2 | #define UNITTEST_TESTDETAILS_H |
|---|
| 3 | |
|---|
| 4 | namespace UnitTest { |
|---|
| 5 | |
|---|
| 6 | class TestDetails { |
|---|
| 7 | public: |
|---|
| 8 | TestDetails ( char const* testName, char const* suiteName, char const* filename, int lineNumber, bool useFilename = true ); |
|---|
| 9 | TestDetails ( const TestDetails& details, int lineNumber, bool useFilename = true ); |
|---|
| 10 | |
|---|
| 11 | char const* const suiteName; |
|---|
| 12 | char const* const testName; |
|---|
| 13 | char const* const filename; |
|---|
| 14 | int const lineNumber; |
|---|
| 15 | bool const useFilename; |
|---|
| 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 |
|---|