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

Public Member Functions

 TestAddress ()
 
const char * getName ()
 
void runTests (IGameDef *gamedef)
 
void testIsLocalhost ()
 
- 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

◆ TestAddress()

TestAddress::TestAddress ( )
inline

References TestManager::registerTestModule().

+ Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char* TestAddress::getName ( )
inlinevirtual

Implements TestBase.

◆ runTests()

void TestAddress::runTests ( IGameDef gamedef)
virtual

Implements TestBase.

References TEST, and testIsLocalhost().

+ Here is the call graph for this function:

◆ testIsLocalhost()

void TestAddress::testIsLocalhost ( )

References Address::isLocalhost(), 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: