mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
3a3a726059
commit
46dce930fb
@ -127,7 +127,6 @@ public void IsActive()
|
|||||||
[Test]
|
[Test]
|
||||||
public void MaxConnections()
|
public void MaxConnections()
|
||||||
{
|
{
|
||||||
|
|
||||||
// listen with maxconnections=1
|
// listen with maxconnections=1
|
||||||
NetworkServer.Listen(1);
|
NetworkServer.Listen(1);
|
||||||
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
|
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
|
||||||
@ -142,7 +141,7 @@ public void MaxConnections()
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void ConnectMessageHandler()
|
public void OnConnectedEventCalled()
|
||||||
{
|
{
|
||||||
// message handlers
|
// message handlers
|
||||||
bool connectCalled = false;
|
bool connectCalled = false;
|
||||||
@ -158,7 +157,7 @@ public void ConnectMessageHandler()
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void DisconnectMessageHandler()
|
public void OnDisconnectedEventCalled()
|
||||||
{
|
{
|
||||||
// message handlers
|
// message handlers
|
||||||
bool disconnectCalled = false;
|
bool disconnectCalled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user