diff --git a/Assets/Tests/Common/LocalConnections.cs b/Assets/Tests/Common/LocalConnections.cs deleted file mode 100644 index 88e7ef9978..0000000000 --- a/Assets/Tests/Common/LocalConnections.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Mirage.Tests -{ - public static class LocalConnections - { - public static (NetworkPlayer serverPlayer, NetworkPlayer clientPlayer) PipedConnections(IMessageReceiver clientMessages, IMessageReceiver serverMessages) - { - // we can re-use networkclient's handlers here as it just needs connection and player - var clientHandler = new NetworkClient.DataHandler(clientMessages); - var serverHandler = new NetworkClient.DataHandler(serverMessages); - - (var clientConn, var serverConn) = PipePeerConnection.Create(clientHandler, serverHandler, null, null); - - var clientPlayer = new NetworkPlayer(clientConn, false); - var serverPlayer = new NetworkPlayer(serverConn, false); - - // give connections to each other so they can invoke handlers - clientHandler.SetConnection(clientConn, clientPlayer); - serverHandler.SetConnection(serverConn, serverPlayer); - - return (serverPlayer, clientPlayer); - } - } -} diff --git a/Assets/Tests/Common/LocalConnections.cs.meta b/Assets/Tests/Common/LocalConnections.cs.meta deleted file mode 100644 index 877db7496b..0000000000 --- a/Assets/Tests/Common/LocalConnections.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 64c183aa37e1a46dd9c70313b6917f8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: