summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r--test/jrummikub/model/MockTable.java64
1 files changed, 64 insertions, 0 deletions
diff --git a/test/jrummikub/model/MockTable.java b/test/jrummikub/model/MockTable.java
new file mode 100644
index 0000000..5ac5dca
--- /dev/null
+++ b/test/jrummikub/model/MockTable.java
@@ -0,0 +1,64 @@
+package jrummikub.model;
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import jrummikub.util.Pair;
+import jrummikub.view.MockStoneCollectionPanel;
+
+public class MockTable implements ITable {
+ public Map<Stone, StoneSet> findStoneSet = new HashMap<Stone, StoneSet>();
+
+ @Override
+ public void pickUpStone(Stone stone) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public boolean isValid() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public StoneSet pickUp(Position position) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void drop(StoneSet object, Position position) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Position getPosition(StoneSet object) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void pickUp(StoneSet object) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Iterator<Pair<StoneSet, Position>> iterator() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public StoneSet findStoneSet(Stone stone) {
+ return findStoneSet.get(stone);
+ }
+
+ public MockTable clone() {
+ return null;
+ }
+
+}