From 0318d8cee285d98e69851c450a029a434cd4dce7 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Thu, 5 May 2011 00:06:34 +0200 Subject: Completely test initial display of hand stones git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@135 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/TurnControlTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/jrummikub/control') 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> stones = Arrays.asList(new Pair(new Stone(RED), new Position(0,0)), new Pair(new Stone(BLACK), new Position(1,0))); @@ -88,6 +91,8 @@ public class TurnControlTest { i++; } assertEquals(stones.size(), i); + + assertTrue(mockView.displayStartTurnPanel); } @Test -- cgit v1.2.3