Ejemplo n.º 1
0
 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.");
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 3
0
 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.");
 }
Ejemplo n.º 4
0
 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");
 }