diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-05 14:38:35 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-05 14:38:35 +0200 |
commit | aa0f3e658bce79311eef57b74bda505ec7db858c (patch) | |
tree | c04f3cb1cf7ad63cce4888ea8b3632c6cb115635 /mock | |
parent | cabf7868e2f476577c6f4c2c2f001ca556b11bc1 (diff) | |
download | JRummikub-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')
-rw-r--r-- | mock/jrummikub/view/MockView.java | 4 |
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 |