add Chapter14
This commit is contained in:
18
Chapter14/sequencer/libs/etl/test/UnitTest++/CurrentTest.cpp
Normal file
18
Chapter14/sequencer/libs/etl/test/UnitTest++/CurrentTest.cpp
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user