summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/view
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-04 21:37:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-04 21:37:30 +0200
commitd559e1707722a4cd04a70185520f31e94ff26b18 (patch)
tree90133ca6e5c6069b503e13cf1e63e653dd5c5ec0 /test/jrummikub/view
parent4ae29c76c2703bb7f36aee70aaf09c6bb7590464 (diff)
downloadJRummikub-d559e1707722a4cd04a70185520f31e94ff26b18.tar
JRummikub-d559e1707722a4cd04a70185520f31e94ff26b18.zip
Added startRound test to RoundControlTest
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@122 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/view')
-rw-r--r--test/jrummikub/view/MockTablePanel.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/jrummikub/view/MockTablePanel.java b/test/jrummikub/view/MockTablePanel.java
index 04ff926..58ca9c6 100644
--- a/test/jrummikub/view/MockTablePanel.java
+++ b/test/jrummikub/view/MockTablePanel.java
@@ -12,6 +12,9 @@ import jrummikub.util.IEvent2;
public class MockTablePanel implements ITablePanel {
public MockStoneCollectionPanel stoneCollectionPanel = new MockStoneCollectionPanel();
+ public String leftPlayerName;
+ public String topPlayerName;
+ public String rightPlayerName;
@Override
public IEvent2<Stone, Boolean> getStoneClickEvent() {
@@ -39,20 +42,17 @@ public class MockTablePanel implements ITablePanel {
@Override
public void setLeftPlayerName(String playerName) {
- // TODO Auto-generated method stub
-
+ leftPlayerName = playerName;
}
@Override
public void setTopPlayerName(String playerName) {
- // TODO Auto-generated method stub
-
+ topPlayerName = playerName;
}
@Override
public void setRightPlayerName(String playerName) {
- // TODO Auto-generated method stub
-
+ rightPlayerName = playerName;
}
@Override