More network tests

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@604 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-07-04 22:26:29 +02:00
parent ce6cc738ad
commit f1ecdcbe59
8 changed files with 110 additions and 28 deletions

View file

@ -75,6 +75,8 @@ public class MockConnectionControl implements IConnectionControl {
public boolean nextPlayer;
/** */
public boolean startRoundCalled;
/** */
public boolean redealCalled;
@Override
public String getNickname() {
@ -269,7 +271,6 @@ public class MockConnectionControl implements IConnectionControl {
@Override
public void redeal() {
// TODO Auto-generated method stub
redealCalled = true;
}
}

View file

@ -7,11 +7,12 @@ import jrummikub.util.MockEvent;
public class MockConnectPanel implements IConnectPanel {
/** */
public MockEvent cancelEvent = new MockEvent();
/** */
public LoginError errorMode;
@Override
public void setMode(LoginError error) {
// TODO Auto-generated method stub
errorMode = error;
}
@Override