public void BuildListTest()
 {
     PlayerList pL = null; // TODO: Initialize to an appropriate value
     UsersConnected target = new UsersConnected(pL); // TODO: Initialize to an appropriate value
     target.BuildList();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Exemple #2
0
 /// <summary> 
 /// Event handler for clicking the pause button
 /// </summary>
 private void _pauseButton_Click(object sender, EventArgs e)
 {
     TimedEventList[0].IsRunning = false;
     _pauseButton.Hide();
     _resumeButton.Show();
     _usersConnected = new UsersConnected(PlayerList);
     _usersConnected.Show();
     GameState = -2;
     _broadcastThread = new Thread(new ThreadStart(BroadcastServerThread));
     _broadcastThread.Start();
 }
 public void PlayerJoinedTest()
 {
     PlayerList pL = null; // TODO: Initialize to an appropriate value
     UsersConnected target = new UsersConnected(pL); // TODO: Initialize to an appropriate value
     int playerNumber = 0; // TODO: Initialize to an appropriate value
     target.PlayerJoined(playerNumber);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void UsersConnectedConstructorTest()
 {
     PlayerList pL = null; // TODO: Initialize to an appropriate value
     UsersConnected target = new UsersConnected(pL);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }