#include <test.h>
◆ getName()
virtual const char * TestBase::getName |
( |
| ) |
|
|
pure virtual |
Implemented in TestActiveObject, TestAddress, TestAreaStore, TestAuthDatabase, TestBan, TestClientActiveObjectMgr, TestCollision, TestCompression, TestConnection, TestCraft, TestDataStructures, TestEventManager, TestFileSys, TestGameUI, TestGettext, TestInventory, TestIrrPtr, TestKeycode, TestLogging, TestLua, TestMap, TestMapBlock, TestMapNode, TestMapSettingsManager, TestMeshCompare, TestModChannels, TestModStorageDatabase, TestMoveAction, TestNodeResolver, TestNoise, TestObjDef, TestProfiler, TestRandom, TestSAO, TestSchematic, TestSerialization, TestServerActiveObjectMgr, TestServerModManager, TestServerShutdownState, TestSettings, TestSocket, TestThreading, TestUtilities, TestVoxelAlgorithms, TestVoxelArea, and TestVoxelManipulator.
Referenced by testModule().
◆ getTestTempDirectory()
std::string TestBase::getTestTempDirectory |
( |
| ) |
|
References fs::CreateTempDir(), m_test_dir, and UASSERT.
Referenced by getTestTempFile(), TestBan::reinitTestEnv(), TestAuthDatabase::runTests(), TestModStorageDatabase::runTests(), TestMoveAction::runTests(), TestSAO::runTests(), TestServerModManager::runTests(), TestFileSys::testCopyFileContents(), TestMapSettingsManager::testMapMetaSaveLoad(), and TestFileSys::testRecursiveDelete().
◆ getTestTempFile()
std::string TestBase::getTestTempFile |
( |
| ) |
|
◆ runTest()
void TestBase::runTest |
( |
const char * | name, |
|
|
std::function< void()> && | test ) |
◆ runTests()
virtual void TestBase::runTests |
( |
IGameDef * | gamedef | ) |
|
|
pure virtual |
Implemented in TestActiveObject, TestAddress, TestAreaStore, TestAuthDatabase, TestBan, TestClientActiveObjectMgr, TestCollision, TestCompression, TestConnection, TestCraft, TestDataStructures, TestEventManager, TestFileSys, TestGameUI, TestGettext, TestInventory, TestIrrPtr, TestKeycode, TestLogging, TestLua, TestMap, TestMapBlock, TestMapNode, TestMapSettingsManager, TestMeshCompare, TestModChannels, TestModStorageDatabase, TestMoveAction, TestNodeResolver, TestNoise, TestObjDef, TestProfiler, TestRandom, TestSAO, TestSchematic, TestSerialization, TestServerActiveObjectMgr, TestServerModManager, TestServerShutdownState, TestSettings, TestSocket, TestThreading, TestUtilities, TestVoxelAlgorithms, TestVoxelArea, and TestVoxelManipulator.
Referenced by testModule().
◆ testModule()
bool TestBase::testModule |
( |
IGameDef * | gamedef | ) |
|
◆ m_test_dir
std::string TestBase::m_test_dir |
|
private |
◆ num_tests_failed
u32 TestBase::num_tests_failed |
◆ num_tests_run
u32 TestBase::num_tests_run |
The documentation for this class was generated from the following files: