diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-07-04 22:26:29 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-07-04 22:26:29 +0200 |
commit | f1ecdcbe59cfaaad647cb5a6c50ceb39c9496c8d (patch) | |
tree | 8ed56faebc6194bb92c620916bed8c19dc15a521 /mock/jrummikub | |
parent | ce6cc738adb3c923b3e993adf5c338327df6ecf2 (diff) | |
download | JRummikub-f1ecdcbe59cfaaad647cb5a6c50ceb39c9496c8d.tar JRummikub-f1ecdcbe59cfaaad647cb5a6c50ceb39c9496c8d.zip |
More network tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@604 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub')
-rw-r--r-- | mock/jrummikub/control/network/MockConnectionControl.java | 5 | ||||
-rw-r--r-- | mock/jrummikub/view/MockConnectPanel.java | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java index 33aa4aa..c01ebf2 100644 --- a/mock/jrummikub/control/network/MockConnectionControl.java +++ b/mock/jrummikub/control/network/MockConnectionControl.java @@ -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; } } diff --git a/mock/jrummikub/view/MockConnectPanel.java b/mock/jrummikub/view/MockConnectPanel.java index 952839c..d06c915 100644 --- a/mock/jrummikub/view/MockConnectPanel.java +++ b/mock/jrummikub/view/MockConnectPanel.java @@ -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 |