root/library/tests/unittest-cpp/CurrentTest.cpp
@
582
Revision 477, 305 bytes (checked in by mido, 15 years ago) |
---|
Line | |
---|---|
1 | #include "CurrentTest.h" |
2 | #include <cstddef> |
3 | |
4 | namespace UnitTest { |
5 | |
6 | TestResults*& CurrentTest::Results() { |
7 | static TestResults* testResults = NULL; |
8 | return testResults; |
9 | } |
10 | |
11 | const TestDetails*& CurrentTest::Details() { |
12 | static const TestDetails* testDetails = NULL; |
13 | return testDetails; |
14 | } |
15 | |
16 | } |
Note: See TracBrowser
for help on using the browser.