fsfw/contrib/fsfw_contrib/etl-20.39.4/test/UnitTest++/Test.cpp

39 lines
712 B
C++
Raw Permalink Normal View History

2024-10-29 10:49:46 +01:00
#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)
, m_nextTest(0)
, m_isMockTest(false)
{}
Test::~Test()
{}
void Test::Run()
{
ExecuteTest(*this, m_details, m_isMockTest);
}
void Test::RunImpl() const
{}
}