summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 00:28:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 00:28:06 +0200
commit3338af2d439019fedced4be5b105ce06129a3712 (patch)
tree6c071a18fcabb1e2f8f0af7d8d323b7dc4a1148c /mock
parent8e73d1ab3734b4e5b88edcf024ffc37bd03225e6 (diff)
downloadJRummikub-3338af2d439019fedced4be5b105ce06129a3712.tar
JRummikub-3338af2d439019fedced4be5b105ce06129a3712.zip
Add tests for hand auto-sort
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@203 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/view/MockPlayerPanel.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java
index fcf560e..8103c7e 100644
--- a/mock/jrummikub/view/MockPlayerPanel.java
+++ b/mock/jrummikub/view/MockPlayerPanel.java
@@ -6,6 +6,8 @@ import jrummikub.util.MockEvent;
public class MockPlayerPanel implements IPlayerPanel {
public MockEvent endTurnEvent = new MockEvent();
public MockHandPanel handPanel = new MockHandPanel();
+ public MockEvent sortByGroupsEvent = new MockEvent();
+ public MockEvent sortByRunsEvent = new MockEvent();
@Override
public IHandPanel getHandPanel() {
@@ -21,14 +23,12 @@ public class MockPlayerPanel implements IPlayerPanel {
@Override
public IEvent getSortByGroupsEvent() {
- // TODO Auto-generated method stub
- return null;
+ return sortByGroupsEvent;
}
@Override
public IEvent getSortByRunsEvent() {
- // TODO Auto-generated method stub
- return null;
+ return sortByRunsEvent;
}
@Override