This commit is contained in:
vis2k 2021-05-13 12:58:00 +08:00
parent 3a3a726059
commit 46dce930fb

View File

@ -127,7 +127,6 @@ public void IsActive()
[Test]
public void MaxConnections()
{
// listen with maxconnections=1
NetworkServer.Listen(1);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
@ -142,7 +141,7 @@ public void MaxConnections()
}
[Test]
public void ConnectMessageHandler()
public void OnConnectedEventCalled()
{
// message handlers
bool connectCalled = false;
@ -158,7 +157,7 @@ public void ConnectMessageHandler()
}
[Test]
public void DisconnectMessageHandler()
public void OnDisconnectedEventCalled()
{
// message handlers
bool disconnectCalled = false;