summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control
diff options
context:
space:
mode:
Diffstat (limited to 'test/jrummikub/control')
-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());
-
}
/** */