From aca4b2521072561e3dfb3ce0e5034f5c5d76c8b3 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sat, 2 Jul 2011 12:21:10 +0200 Subject: =?UTF-8?q?Tests=20f=C3=BCr=20die=20Control=20Klasse,=20jetzt=20zu?= =?UTF-8?q?=2091.9=20Prozent=20abgedeckt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@601 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockSettingsPanel.java | 9 +++++++++ mock/jrummikub/view/MockView.java | 12 ++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) (limited to 'mock') diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java index 7bed40f..0e7dbf8 100644 --- a/mock/jrummikub/view/MockSettingsPanel.java +++ b/mock/jrummikub/view/MockSettingsPanel.java @@ -77,6 +77,12 @@ public class MockSettingsPanel implements ISettingsPanel { /** */ public int highestValue; /** */ + public int totalTime; + /** */ + public boolean noLimits; + /** */ + public boolean seeHandSize; + /** */ public Set stoneColors; /** */ public MockEvent backEvent = new MockEvent(); @@ -159,6 +165,9 @@ public class MockSettingsPanel implements ISettingsPanel { stoneSetNumber = gameSettings.getStoneSetNumber(); numberOfStonesDealt = gameSettings.getNumberOfStonesDealt(); highestValue = gameSettings.getHighestValue(); + totalTime = gameSettings.getTotalTime(); + noLimits = gameSettings.isNoLimits(); + seeHandSize = gameSettings.getSeeHandSize(); stoneColors = new HashSet(gameSettings.getStoneColors()); } diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index 8dc261b..e664c67 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -49,6 +49,12 @@ public class MockView implements IView { public boolean isConnectPanelVisible = false; /** */ public boolean pauseModeEnabled = false; + /** */ + public boolean isPaused = false; + /** */ + public boolean savingEnabled = false; + /** */ + public boolean loadingError = false; /** */ public Collection selectedStones; @@ -290,14 +296,12 @@ public class MockView implements IView { @Override public void showLoadingError() { - // TODO Auto-generated method stub - + loadingError = true; } @Override public void enableSave(boolean enable) { - // TODO Auto-generated method stub - + savingEnabled = enable; } @Override -- cgit v1.2.3