Polishing test cases.

This commit is contained in:
lotodore
2011-02-13 17:26:17 +00:00
parent dafd78c578
commit 89c613ab85
3 changed files with 13 additions and 14 deletions
+1 -2
View File
@@ -87,8 +87,7 @@ public abstract class TestBase {
public long guestInit(Socket s) throws Exception {
long playerId = 0;
PokerTHMessage msg = receiveMessage(s);
AnnounceMessage announce = msg.getAnnounceMessage();
assertTrue(announce.getValue().getServerType().getValue() == ServerTypeEnumType.EnumType.serverTypeInternetAuth);
assertTrue(msg.isAnnounceMessageSelected());
Version requestedVersion = new Version();
requestedVersion.setMajor(PROTOCOL_VERSION_MAJOR);