summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 02:25:59 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 02:25:59 +0200
commit26086f1130512558e810f9e4bc5167e3e6cba598 (patch)
treee979740589ce23cb0e584e8d5fc285059a4b9f39 /test/jrummikub/control
parent5cf7db2a867773abe127e956b8a5f03012647fdf (diff)
downloadJRummikub-26086f1130512558e810f9e4bc5167e3e6cba598.tar
JRummikub-26086f1130512558e810f9e4bc5167e3e6cba598.zip
Fixed AIControlTest
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@530 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r--test/jrummikub/control/turn/AIControlTest.java4
1 files changed, 3 insertions, 1 deletions
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);