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