mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 13:03:06 +01:00
42 lines
658 B
C++
42 lines
658 B
C++
#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
|
|
{
|
|
}
|
|
|
|
}
|