Inheritance diagram for TestDataStructures:
Collaboration diagram for TestDataStructures:Public Member Functions | |
| TestDataStructures () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testMap1 () |
| void | testMap2 () |
| void | testMap3 () |
| void | testMap4 () |
| void | testMap5 () |
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 rawstream, TEST, testMap1(), testMap2(), testMap3(), testMap4(), and testMap5().
Here is the call graph for this function:| void TestDataStructures::testMap1 | ( | ) |
References ModifySafeMap< K, V >::clear(), ModifySafeMap< K, V >::iter(), ModifySafeMap< K, V >::put(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestDataStructures::testMap2 | ( | ) |
References ModifySafeMap< K, V >::clear(), ModifySafeMap< K, V >::put(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestDataStructures::testMap3 | ( | ) |
References ModifySafeMap< K, V >::iter(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::remove(), ModifySafeMap< K, V >::take(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestDataStructures::testMap4 | ( | ) |
References ModifySafeMap< K, V >::get(), ModifySafeMap< K, V >::iter(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::size(), ModifySafeMap< K, V >::take(), UASSERT, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestDataStructures::testMap5 | ( | ) |
References ModifySafeMap< K, V >::get(), ModifySafeMap< K, V >::iter(), ModifySafeMap< K, V >::put(), and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function: