Inheritance diagram for TestEventManager:
Collaboration diagram for TestEventManager:Public Member Functions | |
| TestEventManager () | |
| const char * | getName () override |
| void | runTests (IGameDef *gamedef) override |
| void | testRegister () |
| void | testDeregister () |
| void | testRealEvent () |
| void | testRealEventAfterDereg () |
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 |
|
inline |
|
inlineoverridevirtual |
Implements TestBase.
|
overridevirtual |
Implements TestBase.
References TEST, testDeregister(), testRealEvent(), testRealEventAfterDereg(), and testRegister().
Here is the call graph for this function:| void TestEventManager::testDeregister | ( | ) |
References EventManager::dereg(), MtEvent::NODE_DUG, MtEvent::PLAYER_DAMAGE, and EventManager::reg().
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestEventManager::testRealEvent | ( | ) |
References EventManagerTest::eventTest(), MtEvent::PLAYER_REGAIN_GROUND, EventManager::put(), EventManager::reg(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestEventManager::testRealEventAfterDereg | ( | ) |
References EventManager::dereg(), EventManagerTest::eventTest(), MtEvent::PLAYER_REGAIN_GROUND, EventManager::put(), EventManager::reg(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestEventManager::testRegister | ( | ) |
References MtEvent::PLAYER_DAMAGE, and EventManager::reg().
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function: