summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/control
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 05:53:31 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-10 05:53:31 +0200
commitcdd0949db3bdec31a4d0516bc9180ca39dca2782 (patch)
tree32c41093571d979682f4e0af39d7c1403915594d /test/jrummikub/control
parent32d07341a5399f83968c698bb0fac3d8349caf57 (diff)
downloadJRummikub-cdd0949db3bdec31a4d0516bc9180ca39dca2782.tar
JRummikub-cdd0949db3bdec31a4d0516bc9180ca39dca2782.zip
Fix up tests for new invalid range click behaviour
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@226 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/control')
-rw-r--r--test/jrummikub/control/TurnControlTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jrummikub/control/TurnControlTest.java b/test/jrummikub/control/TurnControlTest.java
index 197623e..15b6937 100644
--- a/test/jrummikub/control/TurnControlTest.java
+++ b/test/jrummikub/control/TurnControlTest.java
@@ -474,7 +474,7 @@ public class TurnControlTest {
// Select second stone
mockView.tablePanel.rangeClickEvent.emit(stone2, false);
- assertCollection(Arrays.asList(stone2));
+ assertCollection(Arrays.asList(stone1, stone2));
}
@@ -583,7 +583,7 @@ public class TurnControlTest {
// Select second stone
mockView.playerPanel.handPanel.rangeClickEvent.emit(stone2, false);
- assertCollection(Arrays.asList(stone2));
+ assertCollection(Arrays.asList(stone1, stone2));
}