Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
TestModChannels Class Reference
+ Inheritance diagram for TestModChannels:
+ Collaboration diagram for TestModChannels:

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 ()
 
virtual void runTests (IGameDef *gamedef)=0
 
virtual const char * getName ()=0
 
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

◆ TestModChannels()

TestModChannels::TestModChannels ( )
inline

References TestManager::registerTestModule().

+ Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char * TestModChannels::getName ( )
inlinevirtual

Implements TestBase.

◆ runTests()

void TestModChannels::runTests ( IGameDef gamedef)
virtual

Implements TestBase.

References TEST, testJoinChannel(), testLeaveChannel(), and testSendMessageToChannel().

+ Here is the call graph for this function:

◆ testJoinChannel()

void TestModChannels::testJoinChannel ( IGameDef gamedef)

References IGameDef::joinModChannel(), and UASSERT.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testLeaveChannel()

void TestModChannels::testLeaveChannel ( IGameDef gamedef)

References IGameDef::joinModChannel(), IGameDef::leaveModChannel(), and UASSERT.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testSendMessageToChannel()

void TestModChannels::testSendMessageToChannel ( IGameDef gamedef)

References IGameDef::joinModChannel(), IGameDef::sendModChannelMessage(), and UASSERT.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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