MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / disconnect

Method disconnect

source/tests/mocks/ODClientTest.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void ODClientTest::disconnect(bool keepReplay)
79{
80 ODSocketClient::disconnect(keepReplay);
81
82 // We wait for the server to terminate so that if a server is launched after this one, it doesn't collapse
83 sf::sleep(sf::milliseconds(5000));
84}
85
86bool ODClientTest::processMessage(ServerNotificationType cmd, ODPacket& packetReceived)
87{

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected