Adding test case for the player list (in the lobby) and polishing other tests.

This commit is contained in:
lotodore
2011-02-13 18:48:46 +00:00
parent 2aede6913e
commit 0b38133337
10 changed files with 121 additions and 28 deletions
@@ -46,6 +46,13 @@ public class StartNormalGameTest extends TestBase {
false));
PokerTHMessage msg;
// Waiting for player list update.
msg = receiveMessage();
if (!msg.isPlayerListMessageSelected()) {
failOnErrorMessage(msg);
fail("Invalid message.");
}
msg = receiveMessage();
if (!msg.isGameListMessageSelected()) {
failOnErrorMessage(msg);