From aa0f3e658bce79311eef57b74bda505ec7db858c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 5 Jul 2011 14:38:35 +0200 Subject: MockApplicationControlTest: added quitWarningTest git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@607 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mock') diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index a78aefe..50aa1b0 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -67,6 +67,8 @@ public class MockView implements IView { /** */ public MockEvent quitEvent = new MockEvent(); /** */ + public MockEvent endProgramEvent = new MockEvent(); + /** */ public MockEvent newRoundEvent = new MockEvent(); /** */ public MockEvent newGameEvent = new MockEvent(); @@ -133,7 +135,7 @@ public class MockView implements IView { @Override public IEvent getEndProgramEvent() { - return quitEvent; + return endProgramEvent; } @Override -- cgit v1.2.3