Inheritance diagram for TestLogging:
Collaboration diagram for TestLogging:Public Member Functions | |
| TestLogging () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testNullChecks () |
| void | testBitCheck () |
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 TEST, testBitCheck(), and testNullChecks().
Here is the call graph for this function:| void TestLogging::testBitCheck | ( | ) |
References g_logger, infostream, CaptureLogOutput::take(), and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestLogging::testNullChecks | ( | ) |
References g_logger, infostream, CaptureLogOutput::take(), and UASSERTEQ.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function: