root/library/tests/unittest-cpp/CurrentTest.cpp @ 1043

Revision 706, 289 bytes (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1#include "CurrentTest.h"
2#include <cstddef>
3
4namespace UnitTest {
5
6TestResults*& CurrentTest::Results() {
7        static TestResults* testResults = NULL;
8        return testResults;
9}
10
11const TestDetails*& CurrentTest::Details() {
12        static const TestDetails* testDetails = NULL;
13        return testDetails;
14}
15
16}
Note: See TracBrowser for help on using the browser.