diff options
Diffstat (limited to 'tests/UnitTest++/src/Test.cpp')
-rw-r--r-- | tests/UnitTest++/src/Test.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/UnitTest++/src/Test.cpp b/tests/UnitTest++/src/Test.cpp new file mode 100644 index 0000000..bc9cb3d --- /dev/null +++ b/tests/UnitTest++/src/Test.cpp @@ -0,0 +1,41 @@ +#include "Config.h" +#include "Test.h" +#include "TestList.h" +#include "TestResults.h" +#include "AssertException.h" +#include "MemoryOutStream.h" +#include "ExecuteTest.h" + +#ifdef UNITTEST_POSIX + #include "Posix/SignalTranslator.h" +#endif + +namespace UnitTest { + +TestList& Test::GetTestList() +{ + static TestList s_list; + return s_list; +} + +Test::Test(char const* testName, char const* suiteName, char const* filename, int lineNumber) + : m_details(testName, suiteName, filename, lineNumber) + , next(0) + , m_timeConstraintExempt(false) +{ +} + +Test::~Test() +{ +} + +void Test::Run() +{ + ExecuteTest(*this, m_details); +} + +void Test::RunImpl() const +{ +} + +} |