File: CurrentTest.cpp

package info (click to toggle)
etlcpp 20.39.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 18,232 kB
  • sloc: cpp: 245,721; ansic: 10,254; sh: 1,481; asm: 301; python: 281; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (3)
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 {

   UNITTEST_LINKAGE TestResults*& CurrentTest::Results()
   {
      static TestResults* testResults = NULL;
      return testResults;
   }

   UNITTEST_LINKAGE const TestDetails*& CurrentTest::Details()
   {
      static const TestDetails* testDetails = NULL;
      return testDetails;
   }

}