summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java5
-rw-r--r--mock/jrummikub/view/MockConnectPanel.java5
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