Example #1
0
 public void SetupBeforeEachTest()
 {
     TestClient.SetupBeforeEachTest();
     DirectoryOperations.EnsureDirectoryIsEmpty(GameSessionManagerTestExtensions.GameSessionManagerUnitTestLoggingPath);
 }
Example #2
0
 public void SendTownPlacementFromClient(TestClient client, UInt32 positionIndex)
 {
     client.SendTownLocation(positionIndex);
 }
Example #3
0
 public TestScript(TestClient testClient, params TestClient[] testClients)
 {
     this.clients = this.MergeToList(testClient, testClients);
 }
Example #4
0
 public void SendLaunchMessageFromClients(TestClient client, params TestClient[] clients)
 {
     this.SendLaunchMessageFromClients(this.MergeToList(client, clients));
 }
Example #5
0
        public void WaitUntilClientsReceiveMessageOfType(Type expectedMessageType, TestClient testClient, params TestClient[] testClients)
        {
            var allClients = this.MergeToList(testClient, testClients);

            this.WaitUntilClientsReceiveMessageOfType(expectedMessageType, allClients);
        }