root/library/tests/unittest-cpp/CurrentTest.cpp
@
1319
Revision 706, 289 bytes (checked in by smidl, 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.