Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
TestLBMManager Class Reference
+ Inheritance diagram for TestLBMManager:
+ Collaboration diagram for TestLBMManager:

Public Member Functions

 TestLBMManager ()
 
const char * getName ()
 
void runTests (IGameDef *gamedef)
 
void testNew (IGameDef *gamedef)
 
void testExisting (IGameDef *gamedef)
 
void testDiscard (IGameDef *gamedef)
 
- Public Member Functions inherited from TestBase
bool testModule (IGameDef *gamedef)
 
std::string getTestTempDirectory ()
 
std::string getTestTempFile ()
 
void runTest (const char *name, std::function< void()> &&test)
 

Additional Inherited Members

- Public Attributes inherited from TestBase
u32 num_tests_failed
 
u32 num_tests_run
 

Constructor & Destructor Documentation

◆ TestLBMManager()

TestLBMManager::TestLBMManager ( )
inline

References TestManager::registerTestModule().

+ Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char * TestLBMManager::getName ( )
inlinevirtual

Implements TestBase.

◆ runTests()

void TestLBMManager::runTests ( IGameDef * gamedef)
virtual

Implements TestBase.

References TEST, testDiscard(), testExisting(), and testNew().

+ Here is the call graph for this function:

◆ testDiscard()

void TestLBMManager::testDiscard ( IGameDef * gamedef)

References LBMManager::createIntroductionTimesString(), LBMManager::loadIntroductionTimes(), and UASSERTEQ.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testExisting()

void TestLBMManager::testExisting ( IGameDef * gamedef)

References LBMManager::addLBMDef(), LBMManager::createIntroductionTimesString(), LBMManager::loadIntroductionTimes(), and UASSERTEQ.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testNew()

void TestLBMManager::testNew ( IGameDef * gamedef)

References LBMManager::addLBMDef(), LBMManager::createIntroductionTimesString(), LBMManager::loadIntroductionTimes(), and UASSERTEQ.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: