summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/jrummikub/control/RoundControlTest.java6
-rw-r--r--test/jrummikub/model/RoundStateTest.java (renamed from test/jrummikub/model/GameStateTest.java)8
2 files changed, 7 insertions, 7 deletions
diff --git a/test/jrummikub/control/RoundControlTest.java b/test/jrummikub/control/RoundControlTest.java
index 1be11e4..4cfb03f 100644
--- a/test/jrummikub/control/RoundControlTest.java
+++ b/test/jrummikub/control/RoundControlTest.java
@@ -20,7 +20,7 @@ import java.util.Set;
import jrummikub.model.Hand;
import jrummikub.model.IHand;
import jrummikub.model.ITable;
-import jrummikub.model.MockGameState;
+import jrummikub.model.MockRoundState;
import jrummikub.model.MockTable;
import jrummikub.model.Position;
import jrummikub.model.Stone;
@@ -37,7 +37,7 @@ import org.junit.Test;
*/
public class RoundControlTest {
private MockView view;
- private MockGameState testGameState;
+ private MockRoundState testGameState;
private RoundControl testRound;
private MockTable newTable;
@@ -47,7 +47,7 @@ public class RoundControlTest {
@Before
public void setup() {
view = new MockView();
- testGameState = new MockGameState();
+ testGameState = new MockRoundState();
testRound = new RoundControl(testGameState, view);
Stone stone = testGameState.getGameHeap().drawStone();
testGameState.table.drop(new StoneSet(stone), new Position(5, 0));
diff --git a/test/jrummikub/model/GameStateTest.java b/test/jrummikub/model/RoundStateTest.java
index 5a55aef..80b752e 100644
--- a/test/jrummikub/model/GameStateTest.java
+++ b/test/jrummikub/model/RoundStateTest.java
@@ -7,15 +7,15 @@ import java.awt.Color;
import org.junit.Before;
import org.junit.Test;
/**
- * Test class for {@link GameState}
+ * Test class for {@link RoundState}
*/
-public class GameStateTest {
- private IGameState testGame;
+public class RoundStateTest {
+ private IRoundState testGame;
/** */
@Before
public void createGame() {
- testGame = new GameState();
+ testGame = new RoundState();
}
/** */