summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-05 14:38:35 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-05 14:38:35 +0200
commitaa0f3e658bce79311eef57b74bda505ec7db858c (patch)
treec04f3cb1cf7ad63cce4888ea8b3632c6cb115635 /mock/jrummikub/view
parentcabf7868e2f476577c6f4c2c2f001ca556b11bc1 (diff)
downloadJRummikub-aa0f3e658bce79311eef57b74bda505ec7db858c.tar
JRummikub-aa0f3e658bce79311eef57b74bda505ec7db858c.zip
MockApplicationControlTest: added quitWarningTest
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@607 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockView.java4
1 files changed, 3 insertions, 1 deletions
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