summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-30 19:08:33 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-30 19:08:33 +0200
commitae9ce59d36eed2b133977d37ab5e73a844ef334c (patch)
treea64d467c9e1852b6df663c72878285c02850ffa5 /test
parent498c2529bdd1b35406412a4b1c96f887871646f6 (diff)
downloadJRummikub-ae9ce59d36eed2b133977d37ab5e73a844ef334c.tar
JRummikub-ae9ce59d36eed2b133977d37ab5e73a844ef334c.zip
Warnings tauchen auf, wenn man beim Einstellen Unfug macht
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@325 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test')
-rw-r--r--test/jrummikub/control/SettingsControlTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jrummikub/control/SettingsControlTest.java b/test/jrummikub/control/SettingsControlTest.java
index 65c4c29..8fab97a 100644
--- a/test/jrummikub/control/SettingsControlTest.java
+++ b/test/jrummikub/control/SettingsControlTest.java
@@ -131,7 +131,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(1, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();
@@ -146,7 +146,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(1, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();
@@ -169,7 +169,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(0, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.NO_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.NO_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();