summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-05 00:06:34 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-05 00:06:34 +0200
commit0318d8cee285d98e69851c450a029a434cd4dce7 (patch)
tree88d3d8502059c1769f7da61393de2ba793b5f4a6
parent6cac00762bce24c3997a9e4958419013b60c4be2 (diff)
downloadJRummikub-0318d8cee285d98e69851c450a029a434cd4dce7.tar
JRummikub-0318d8cee285d98e69851c450a029a434cd4dce7.zip
Completely test initial display of hand stones
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@135 72836036-5685-4462-b002-a69064685172
-rw-r--r--test/jrummikub/control/TurnControlTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java
index bc259d1..2efab67 100644
--- a/test/jrummikub/control/TurnControlTest.java
+++ b/test/jrummikub/control/TurnControlTest.java
@@ -75,6 +75,9 @@ public class TurnControlTest {
mockTable = new MockTable();
mockHand = new MockHand();
+
+ mockView.displayStartTurnPanel = false;
+
List<Pair<Stone, Position>> stones = Arrays.asList(new Pair<Stone, Position>(new Stone(RED), new Position(0,0)),
new Pair<Stone, Position>(new Stone(BLACK), new Position(1,0)));
@@ -88,6 +91,8 @@ public class TurnControlTest {
i++;
}
assertEquals(stones.size(), i);
+
+ assertTrue(mockView.displayStartTurnPanel);
}
@Test