Inheritance diagram for TestKeycode:
Collaboration diagram for TestKeycode:Public Member Functions | |
| TestKeycode () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testCreateFromString () |
| void | testCreateFromSKeyInput () |
| void | testCompare () |
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, testCompare(), testCreateFromSKeyInput(), and testCreateFromString().
Here is the call graph for this function:| void TestKeycode::testCompare | ( | ) |
| void TestKeycode::testCreateFromSKeyInput | ( | ) |
References KeyPress::Key, KeyPress::sym(), and UASSERTEQ_STR.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestKeycode::testCreateFromString | ( | ) |
References KeyPress::name(), KeyPress::sym(), UASSERTCMP, and UASSERTEQ_STR.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function: