Luanti 5.16.0-dev
Loading...
Searching...
No Matches
TestLua Class Reference
Inheritance diagram for TestLua:
Collaboration diagram for TestLua:

Public Member Functions

 TestLua ()
const char * getName ()
void runTests (IGameDef *gamedef)
void testLuaDestructors ()
void testCxxExceptions ()
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

Constructor & Destructor Documentation

◆ TestLua()

TestLua::TestLua ( )
inline

References TestManager::registerTestModule().

Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char * TestLua::getName ( )
inlinevirtual

Implements TestBase.

◆ runTests()

void TestLua::runTests ( IGameDef * gamedef)
virtual

Implements TestBase.

References TEST, testCxxExceptions(), and testLuaDestructors().

Here is the call graph for this function:

◆ testCxxExceptions()

void TestLua::testCxxExceptions ( )

References UASSERT, and UASSERTEQ.

Referenced by runTests().

Here is the caller graph for this function:

◆ testLuaDestructors()

void TestLua::testLuaDestructors ( )

References UASSERT.

Referenced by runTests().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: