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

Revision 418, 307 bytes (checked in by vbarta, 15 years ago)

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

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