◆ TestConnection()
TestConnection::TestConnection |
( |
| ) |
|
|
inline |
◆ getName()
const char * TestConnection::getName |
( |
| ) |
|
|
inlinevirtual |
◆ runTests()
void TestConnection::runTests |
( |
IGameDef * | gamedef | ) |
|
|
virtual |
◆ testConnectSendReceive()
void TestConnection::testConnectSendReceive |
( |
| ) |
|
References Handler::count, g_settings, Settings::get(), NetworkPacket::getPeerId(), Buffer< T >::getSize(), NetworkPacket::getSize(), porting::getTimeMs(), NetworkPacket::getU8Ptr(), infostream, Address::isIPv6(), Handler::last_id, porting::mt_snprintf(), NetworkPacket::oldForgePacket(), PEER_ID_SERVER, NetworkPacket::putRawString(), Address::Resolve(), sleep_ms, and UASSERT.
Referenced by runTests().
◆ testHelpers()
void TestConnection::testHelpers |
( |
| ) |
|
◆ testNetworkPacketSerialize()
void TestConnection::testNetworkPacketSerialize |
( |
| ) |
|
The documentation for this class was generated from the following file: