Public Member Functions | |
TestModChannels () | |
const char * | getName () |
void | runTests (IGameDef *gamedef) |
void | testJoinChannel (IGameDef *gamedef) |
void | testLeaveChannel (IGameDef *gamedef) |
void | testSendMessageToChannel (IGameDef *gamedef) |
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, testJoinChannel(), testLeaveChannel(), and testSendMessageToChannel().
void TestModChannels::testJoinChannel | ( | IGameDef * | gamedef | ) |
References IGameDef::joinModChannel(), and UASSERT.
Referenced by runTests().
void TestModChannels::testLeaveChannel | ( | IGameDef * | gamedef | ) |
References IGameDef::joinModChannel(), IGameDef::leaveModChannel(), and UASSERT.
Referenced by runTests().
void TestModChannels::testSendMessageToChannel | ( | IGameDef * | gamedef | ) |
References IGameDef::joinModChannel(), IGameDef::sendModChannelMessage(), and UASSERT.
Referenced by runTests().