From ae9ce59d36eed2b133977d37ab5e73a844ef334c Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Mon, 30 May 2011 19:08:33 +0200 Subject: 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 --- test/jrummikub/control/SettingsControlTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3