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

Revision 477, 305 bytes (checked in by mido, 15 years ago)

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

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.