Inheritance diagram for TestServerModManager:
Collaboration diagram for TestServerModManager:Public Member Functions | |
| TestServerModManager () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testCreation () |
| void | testIsConsistent () |
| void | testUnsatisfiedMods () |
| void | testGetMods () |
| void | testGetModsWrongDir () |
| void | testGetModspec () |
| void | testGetModNamesWrongDir () |
| void | testGetModNames () |
| void | testGetModMediaPathsWrongDir () |
| void | testGetModMediaPaths () |
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) |
Public Attributes | |
| std::string | m_worlddir |
Public Attributes inherited from TestBase | |
| u32 | num_tests_failed |
| u32 | num_tests_run |
|
inline |
|
inlinevirtual |
Implements TestBase.
|
virtual |
Implements TestBase.
References fs::CreateAllDirs(), fs::CreateDir(), DIR_DELIM, findSubgame(), TestBase::getTestTempDirectory(), m_worlddir, p(), SUBGAME_ID, TEST, testCreation(), testGetModMediaPaths(), testGetModMediaPathsWrongDir(), testGetModNames(), testGetModNamesWrongDir(), testGetMods(), testGetModspec(), testGetModsWrongDir(), testIsConsistent(), testUnsatisfiedMods(), and warningstream.
Here is the call graph for this function:| void TestServerModManager::testCreation | ( | ) |
References DIR_DELIM, m_worlddir, Settings::set(), SUBGAME_ID, UASSERTEQ, and Settings::updateConfigFile().
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModMediaPaths | ( | ) |
References DIR_DELIM, ServerModManager::getModsMediaPaths(), ServerModManager::getModSpec(), m_worlddir, ModSpec::path, UASSERT, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModMediaPathsWrongDir | ( | ) |
References DIR_DELIM, ServerModManager::getModsMediaPaths(), m_worlddir, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModNames | ( | ) |
References ServerModManager::getModNames(), m_worlddir, UASSERT, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModNamesWrongDir | ( | ) |
References DIR_DELIM, ServerModManager::getModNames(), m_worlddir, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetMods | ( | ) |
References ServerModManager::getMods(), m_worlddir, UASSERT, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModspec | ( | ) |
References ServerModManager::getModSpec(), m_worlddir, UASSERT, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testGetModsWrongDir | ( | ) |
References DIR_DELIM, ServerModManager::getMods(), m_worlddir, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testIsConsistent | ( | ) |
References ServerModManager::isConsistent(), m_worlddir, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestServerModManager::testUnsatisfiedMods | ( | ) |
References ServerModManager::getUnsatisfiedMods(), m_worlddir, and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string TestServerModManager::m_worlddir |