From 433a0c3561eeaec96c23656a347e38e3a3602597 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 5 May 2011 13:16:46 +0200 Subject: Moved mock classes to separate source folder git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@142 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/view/MockTablePanel.java | 89 --------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 test/jrummikub/view/MockTablePanel.java (limited to 'test/jrummikub/view/MockTablePanel.java') diff --git a/test/jrummikub/view/MockTablePanel.java b/test/jrummikub/view/MockTablePanel.java deleted file mode 100644 index c32946f..0000000 --- a/test/jrummikub/view/MockTablePanel.java +++ /dev/null @@ -1,89 +0,0 @@ -package jrummikub.view; - -import java.util.Map; - -import jrummikub.model.Position; -import jrummikub.model.Stone; -import jrummikub.model.StoneSet; -import jrummikub.util.Event1; -import jrummikub.util.Event2; -import jrummikub.util.IEvent1; -import jrummikub.util.IEvent2; -import jrummikub.util.Pair; - -public class MockTablePanel implements ITablePanel { - - public Event2 stoneClickEvent = new Event2(); - public Event2 setClickEvent = new Event2(); - public Event2 rangeClickEvent = new Event2(); - - public MockStoneCollectionPanel stoneCollectionPanel = new MockStoneCollectionPanel(); - public String leftPlayerName; - public String topPlayerName; - public String rightPlayerName; - - public Iterable> stoneSets; - - @Override - public IEvent2 getStoneClickEvent() { - // TODO Auto-generated method stub - return null; - } - - @Override - public IEvent2 getRangeClickEvent() { - // TODO Auto-generated method stub - return null; - } - - @Override - public IEvent2 getSetClickEvent() { - // TODO Auto-generated method stub - return null; - } - - @Override - public IEvent1 getClickEvent() { - // TODO Auto-generated method stub - return null; - } - - @Override - public void setLeftPlayerName(String playerName) { - leftPlayerName = playerName; - } - - @Override - public void setTopPlayerName(String playerName) { - topPlayerName = playerName; - } - - @Override - public void setRightPlayerName(String playerName) { - rightPlayerName = playerName; - } - - @Override - public void setStoneSets(Iterable> stoneSets) { - this.stoneSets = stoneSets; - } - - @Override - public IStoneCollectionPanel getStoneCollectionPanel() { - // TODO Auto-generated method stub - return null; - } - - @Override - public Event1 getLeftConnectorClickEvent() { - // TODO Auto-generated method stub - return null; - } - - @Override - public Event1 getRightConnectorClickEvent() { - // TODO Auto-generated method stub - return null; - } - -} -- cgit v1.2.3