Inheritance diagram for TestModStorageDatabase:
Collaboration diagram for TestModStorageDatabase:Public Member Functions | |
| TestModStorageDatabase () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | runTestsForCurrentDB () |
| void | testRecallFail () |
| void | testCreate () |
| void | testRecall () |
| void | testChange () |
| void | testRecallChanged () |
| void | testListMods () |
| void | testRemove () |
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) |
Private Attributes | |
| ModStorageDatabaseProvider * | mod_storage_provider |
Additional Inherited Members | |
Public Attributes inherited from TestBase | |
| u32 | num_tests_failed |
| u32 | num_tests_run |
|
inline |
|
inlinevirtual |
Implements TestBase.
|
virtual |
Implements TestBase.
References fs::DeleteSingleFileOrEmptyDirectory(), DIR_DELIM, TestBase::getTestTempDirectory(), mod_storage_provider, rawstream, fs::RecursiveDelete(), and runTestsForCurrentDB().
Here is the call graph for this function:| void TestModStorageDatabase::runTestsForCurrentDB | ( | ) |
References TEST, testChange(), testCreate(), testListMods(), testRecall(), testRecallChanged(), testRecallFail(), and testRemove().
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testChange | ( | ) |
References mod_storage_provider, ModStorageDatabase::setModEntry(), and UASSERT.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testCreate | ( | ) |
References mod_storage_provider, ModStorageDatabase::setModEntry(), and UASSERT.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testListMods | ( | ) |
References ModStorageDatabase::listMods(), mod_storage_provider, ModStorageDatabase::setModEntry(), UASSERT, and UASSERTCMP.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testRecall | ( | ) |
References ModStorageDatabase::getModEntries(), ModStorageDatabase::getModEntry(), ModStorageDatabase::getModKeys(), ModStorageDatabase::hasModEntry(), mod_storage_provider, UASSERT, and UASSERTCMP.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testRecallChanged | ( | ) |
References ModStorageDatabase::getModEntries(), ModStorageDatabase::getModEntry(), ModStorageDatabase::hasModEntry(), mod_storage_provider, UASSERT, and UASSERTCMP.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testRecallFail | ( | ) |
References ModStorageDatabase::getModEntries(), ModStorageDatabase::getModEntry(), ModStorageDatabase::getModKeys(), ModStorageDatabase::hasModEntry(), mod_storage_provider, and UASSERT.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestModStorageDatabase::testRemove | ( | ) |
References mod_storage_provider, ModStorageDatabase::removeModEntries(), ModStorageDatabase::removeModEntry(), and UASSERT.
Referenced by runTestsForCurrentDB().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by runTests(), testChange(), testCreate(), testListMods(), testRecall(), testRecallChanged(), testRecallFail(), and testRemove().