◆ TestSAO()
◆ getName()
const char * TestSAO::getName |
( |
| ) |
|
|
inlinevirtual |
◆ runTests()
void TestSAO::runTests |
( |
IGameDef * | gamedef | ) |
|
|
virtual |
Implements TestBase.
References BUILTIN_MOD_NAME, ServerEnvironment::deactivateBlocksAndObjects(), DIR_DELIM, g_settings, Settings::getFloat(), TestBase::getTestTempDirectory(), TestBase::getTestTempFile(), helper_lua_src, ServerEnvironment::loadMeta(), m_step_interval, TestBase::num_tests_failed, rawstream, TEST, testActivate(), testNotSaved(), testStaticSave(), testStaticToFalse(), testStaticToTrue(), and BaseException::what().
◆ testActivate()
References ServerEnvironment::activateBlock(), assert_active_in_block(), BS, Map::emergeBlock(), floatToInt(), ServerEnvironment::getActiveObject(), ServerEnvironment::getMap(), getNodeBlockPos(), m_step_interval, ServerEnvironment::step(), UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ testNotSaved()
References add_entity(), BS, Map::emergeBlock(), floatToInt(), ServerEnvironment::getActiveObject(), ServerEnvironment::getMap(), getNodeBlockPos(), m_step_interval, ServerEnvironment::step(), Map::timerUpdate(), UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ testStaticSave()
References add_entity(), assert_active_in_block(), BS, floatToInt(), ServerEnvironment::getActiveObject(), Map::getBlockNoCreateNoEx(), ServerEnvironment::getMap(), getNodeBlockPos(), m_step_interval, ServerEnvironment::step(), UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ testStaticToFalse()
References ServerEnvironment::activateBlock(), assert_active_in_block(), BS, Map::emergeBlock(), floatToInt(), ServerEnvironment::getActiveObject(), ServerEnvironment::getMap(), getNodeBlockPos(), m_step_interval, ServerEnvironment::step(), Map::timerUpdate(), UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ testStaticToTrue()
References add_entity(), BS, floatToInt(), ServerEnvironment::getActiveObject(), Map::getBlockNoCreateNoEx(), ServerEnvironment::getMap(), getNodeBlockPos(), m_step_interval, ServerEnvironment::step(), UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ m_step_interval
float TestSAO::m_step_interval |
|
private |
The documentation for this class was generated from the following file: