Minetest  5.4.0
TestGameUI Class Reference
+ Inheritance diagram for TestGameUI:
+ Collaboration diagram for TestGameUI:

Public Member Functions

 TestGameUI ()
 
const char * getName ()
 
void runTests (IGameDef *gamedef)
 
void testInit ()
 
void testFlagSetters ()
 
void testInfoText ()
 
void testStatusText ()
 
- Public Member Functions inherited from TestBase
bool testModule (IGameDef *gamedef)
 
std::string getTestTempDirectory ()
 
std::string getTestTempFile ()
 

Additional Inherited Members

- Public Attributes inherited from TestBase
u32 num_tests_failed
 
u32 num_tests_run
 

Constructor & Destructor Documentation

◆ TestGameUI()

TestGameUI::TestGameUI ( )
inline

References TestManager::registerTestModule().

+ Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char* TestGameUI::getName ( )
inlinevirtual

Implements TestBase.

◆ runTests()

void TestGameUI::runTests ( IGameDef gamedef)
virtual

Implements TestBase.

References TEST, testFlagSetters(), testInfoText(), testInit(), and testStatusText().

+ Here is the call graph for this function:

◆ testFlagSetters()

void TestGameUI::testFlagSetters ( )

References GameUI::showMinimap(), and UASSERT.

Referenced by runTests().

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

◆ testInfoText()

void TestGameUI::testInfoText ( )

References GameUI::setInfoText(), and UASSERT.

Referenced by runTests().

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

◆ testInit()

void TestGameUI::testInit ( )

References UASSERT.

Referenced by runTests().

+ Here is the caller graph for this function:

◆ testStatusText()

void TestGameUI::testStatusText ( )

References GameUI::showStatusText(), 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: