From ec53437da1d1ddd56fc4a4ba5429d1f3e9c5c558 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Fri, 10 Jun 2011 17:05:50 +0200 Subject: LoginControl ist fertig und getestet git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@398 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/network/LoginControlTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/jrummikub/control/network/LoginControlTest.java') diff --git a/test/jrummikub/control/network/LoginControlTest.java b/test/jrummikub/control/network/LoginControlTest.java index 21c3eed..b0220be 100644 --- a/test/jrummikub/control/network/LoginControlTest.java +++ b/test/jrummikub/control/network/LoginControlTest.java @@ -19,6 +19,7 @@ public class LoginControlTest { public void setup() { view = new MockView(); loginControl = new LoginControl(view); + loginControl.startLogin(); } /** */ @@ -53,13 +54,12 @@ public class LoginControlTest { /** */ @Test public void cancelEventTest() { - loginControl.getCancelEvent().add( - new IListener() { - @Override - public void handle() { - handled = true; - } - }); + loginControl.getCancelEvent().add(new IListener() { + @Override + public void handle() { + handled = true; + } + }); view.loginPanel.cancelEvent.emit(); assertTrue(handled); assertFalse(view.isLoginPanelVisible); -- cgit v1.2.3