Inheritance diagram for TestServerActiveObjectMgr:
Collaboration diagram for TestServerActiveObjectMgr:Public Member Functions | |
| TestServerActiveObjectMgr () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testFreeID () |
| void | testRegisterObject () |
| void | testRemoveObject () |
| void | testGetObjectsInsideRadius () |
| void | testGetAddedActiveObjectsAroundPos () |
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 |
|
inlinevirtual |
Implements TestBase.
|
virtual |
Implements TestBase.
References TEST, testFreeID(), testGetAddedActiveObjectsAroundPos(), testGetObjectsInsideRadius(), testRegisterObject(), and testRemoveObject().
Here is the call graph for this function:| void TestServerActiveObjectMgr::testFreeID | ( | ) |
References ActiveObjectMgr< T >::clear(), ActiveObjectMgr< T >::getFreeId(), server::ActiveObjectMgr::registerObject(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerActiveObjectMgr::testGetAddedActiveObjectsAroundPos | ( | ) |
References ActiveObjectMgr< T >::clear(), server::ActiveObjectMgr::getAddedActiveObjectsAroundPos(), p(), server::ActiveObjectMgr::registerObject(), and UASSERTCMP.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerActiveObjectMgr::testGetObjectsInsideRadius | ( | ) |
References ActiveObjectMgr< T >::clear(), server::ActiveObjectMgr::getObjectsInsideRadius(), p(), server::ActiveObjectMgr::registerObject(), and UASSERTCMP.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerActiveObjectMgr::testRegisterObject | ( | ) |
References ActiveObjectMgr< T >::clear(), ActiveObjectMgr< T >::getActiveObject(), server::ActiveObjectMgr::registerObject(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerActiveObjectMgr::testRemoveObject | ( | ) |
References ActiveObjectMgr< T >::clear(), ActiveObjectMgr< T >::getActiveObject(), server::ActiveObjectMgr::registerObject(), server::ActiveObjectMgr::removeObject(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function: