From cce3c6bc6e7f7473a2c5fc9462fac864fd075714 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Thu, 5 May 2011 19:49:56 +0200 Subject: Check removal of listener in turn control git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@147 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/TurnControlTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java index 2cca3e8..685a745 100644 --- a/test/jrummikub/control/TurnControlTest.java +++ b/test/jrummikub/control/TurnControlTest.java @@ -112,6 +112,7 @@ public class TurnControlTest { assertTrue(eventFired); assertFalse(mockTimer.timerRunning); + assertTrue(mockView.playerPanel.endTurnEvent.listeners.isEmpty()); } @Test -- cgit v1.2.3