From 9df549727672e8df768d46e3ef1fb0c7957f0f89 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 19 Jun 2011 23:19:01 +0200 Subject: Make NetworkRoundControl test work git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@496 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/control/network/MockConnectionControl.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mock') diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java index fbdfb04..924febb 100644 --- a/mock/jrummikub/control/network/MockConnectionControl.java +++ b/mock/jrummikub/control/network/MockConnectionControl.java @@ -53,6 +53,10 @@ public class MockConnectionControl implements IConnectionControl { public GameData joinedGame; /** */ public Color playerColor; + /** */ + public boolean turnStarted; + /** */ + public boolean turnEnded; @Override public String getNickname() { @@ -191,13 +195,11 @@ public class MockConnectionControl implements IConnectionControl { @Override public void endTurn(ITable table) { - // TODO Auto-generated method stub - + turnEnded = true; } @Override public void startTurn(IRoundState state) { - // TODO Auto-generated method stub - + turnStarted = true; } } -- cgit v1.2.3