From 26086f1130512558e810f9e4bc5167e3e6cba598 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 21 Jun 2011 02:25:59 +0200 Subject: Fixed AIControlTest git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@530 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/control/turn/AIControlTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/jrummikub') diff --git a/test/jrummikub/control/turn/AIControlTest.java b/test/jrummikub/control/turn/AIControlTest.java index 91d0b94..722e464 100644 --- a/test/jrummikub/control/turn/AIControlTest.java +++ b/test/jrummikub/control/turn/AIControlTest.java @@ -67,6 +67,8 @@ public class AIControlTest { }); + roundState.nextTurn(); + roundState.nextTurn(); IHand hand = roundState.getActivePlayer().getHand(); hand.drop(new Stone(11, StoneColor.RED), new Position(0, 0)); hand.drop(new Stone(12, StoneColor.RED), new Position(0, 0)); @@ -105,7 +107,7 @@ public class AIControlTest { * @throws InterruptedException * if timeout */ - @Test(timeout = 10000) + @Test public void testNormalTurnMelding() throws InterruptedException { aiControl.setup(new ITurnControl.TurnInfo(roundState, TurnMode.NORMAL_TURN), gameSettings, view); -- cgit v1.2.3