summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-30 20:16:48 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-30 20:16:48 +0200
commit1660736239d9f437f0ffa336d3f3bb8ed7ae407f (patch)
tree96185492c79b33ec3354b61550edff3f81c90aa1 /test
parentc398c081ed4d83660ec867cabfb0ee9bc56b90ad (diff)
downloadJRummikub-1660736239d9f437f0ffa336d3f3bb8ed7ae407f.tar
JRummikub-1660736239d9f437f0ffa336d3f3bb8ed7ae407f.zip
Man kann jetzt die Anzahl der Steinsätze einstellen
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@328 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test')
-rw-r--r--test/jrummikub/control/SettingsControlTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jrummikub/control/SettingsControlTest.java b/test/jrummikub/control/SettingsControlTest.java
index ff870d0..969b554 100644
--- a/test/jrummikub/control/SettingsControlTest.java
+++ b/test/jrummikub/control/SettingsControlTest.java
@@ -61,6 +61,7 @@ public class SettingsControlTest {
for (int i = 0; i < 14; i++) {
view.settingsPanel.addPlayerEvent.emit();
}
+ view.settingsPanel.changeStoneSetNumberEvent.emit(8);
view.settingsPanel.startGameEvent.emit();
assertNotNull(gameSettings);
assertEquals(16, gameSettings.getPlayerList().size());
@@ -75,6 +76,7 @@ public class SettingsControlTest {
view.settingsPanel.addPlayerEvent.emit();
}
view.settingsPanel.removePlayerEvent.emit(0);
+ view.settingsPanel.changeStoneSetNumberEvent.emit(8);
view.settingsPanel.startGameEvent.emit();
assertNotNull(gameSettings);
assertEquals(15, gameSettings.getPlayerList().size());
@@ -209,7 +211,6 @@ public class SettingsControlTest {
view.settingsPanel.changeStoneSetNumberEvent.emit(3);
view.settingsPanel.startGameEvent.emit();
assertEquals(3, gameSettings.getStoneSetNumber());
-
}
/** */