◆ FTestCreator
Function to create a test instance. Used in the test macros to register tests statically.
◆ AddToSuite()
void LkEngine::LTestManager::AddToSuite |
( |
const Test::ETestSuite | Suite, |
|
|
FTestCreator | CreatorFunc ) |
|
inline |
Add a test creator to a suite. The test creator function is what creates the test instance that is evaluated.
◆ GetCurrentTest()
Get the currently running test.
◆ RegisterAutomationTest()
bool LkEngine::LTestManager::RegisterAutomationTest |
( |
const std::string & | TestName, |
|
|
Test::LAutomationTest * | InTestInstance ) |
Register a test. Invoked in the LAutomationTestBase constructor.
◆ StartTest()
bool LkEngine::LTestManager::StartTest |
( |
const std::string & | TestName | ) |
|
◆ StopTest()
bool LkEngine::LTestManager::StopTest |
( |
const std::string & | TestName | ) |
|
Stop a test if it is running.
◆ UnregisterAutomationTest()
bool LkEngine::LTestManager::UnregisterAutomationTest |
( |
const std::string & | TestName, |
|
|
Test::LAutomationTest * | InTestInstance ) |
Unregister a test. Invoked in the LAutomationTestBase destructor.
◆ TestCreatorMap
std::unordered_map<Test::ETestSuite, std::vector<FTestCreator> > LkEngine::LTestManager::TestCreatorMap |
Test creator functions mapped to their corresponding test suites.
The documentation for this class was generated from the following files:
- LkEngine/Test/LTesto/Source/LTesto/Runtime/TestManager.h
- LkEngine/Test/LTesto/Source/LTesto/Runtime/TestManager.cpp