root/library/tests/unittest-cpp/CurrentTest.cpp
    @
      438
    
  
      | Revision 418, 307 bytes (checked in by vbarta, 16 years ago) | 
|---|
| Line | |
|---|---|
| 1 | #include "CurrentTest.h" | 
| 2 | #include <cstddef> | 
| 3 | |
| 4 | namespace UnitTest { | 
| 5 | |
| 6 | TestResults*& CurrentTest::Results() | 
| 7 | { | 
| 8 | static TestResults* testResults = NULL; | 
| 9 | return testResults; | 
| 10 | } | 
| 11 | |
| 12 | const 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.
      
      
