Metric fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
6319ec8ab6
commit
640a1e0fb6
13 changed files with 153 additions and 99 deletions
|
@ -111,7 +111,7 @@ public class TurnControlTest {
|
|||
mockPlayer.hand = mockHand;
|
||||
testControl = new HumanTurnControl(mockTimer);
|
||||
testControl.setup(new GameSettings(), mockPlayer, mockTable, mockView,
|
||||
false, false);
|
||||
TurnMode.NORMAL_TURN);
|
||||
}
|
||||
|
||||
/** */
|
||||
|
@ -136,7 +136,7 @@ public class TurnControlTest {
|
|||
|
||||
testControl = new HumanTurnControl(mockTimer);
|
||||
testControl.setup(new GameSettings(), mockPlayer, mockTable, mockView,
|
||||
false, false);
|
||||
TurnMode.NORMAL_TURN);
|
||||
testControl.startTurn();
|
||||
|
||||
int i = 0;
|
||||
|
@ -629,8 +629,8 @@ public class TurnControlTest {
|
|||
public void testAddLeft() {
|
||||
AccessibleTable table = new AccessibleTable();
|
||||
HumanTurnControl turnControl = new HumanTurnControl(mockTimer);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView, false,
|
||||
false);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView,
|
||||
TurnMode.NORMAL_TURN);
|
||||
turnControl.startTurn();
|
||||
Stone blueOne = new Stone(1, BLUE);
|
||||
Stone redOne = new Stone(1, RED);
|
||||
|
@ -747,8 +747,8 @@ public class TurnControlTest {
|
|||
public void testAddRight() {
|
||||
AccessibleTable table = new AccessibleTable();
|
||||
HumanTurnControl turnControl = new HumanTurnControl(mockTimer);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView, false,
|
||||
false);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView,
|
||||
TurnMode.NORMAL_TURN);
|
||||
turnControl.startTurn();
|
||||
Stone blueOne = new Stone(1, BLUE);
|
||||
Stone redOne = new Stone(1, RED);
|
||||
|
@ -865,8 +865,8 @@ public class TurnControlTest {
|
|||
public void testAddNewSet() {
|
||||
AccessibleTable table = new AccessibleTable();
|
||||
HumanTurnControl turnControl = new HumanTurnControl(mockTimer);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView, false,
|
||||
false);
|
||||
turnControl.setup(new GameSettings(), mockPlayer, table, mockView,
|
||||
TurnMode.NORMAL_TURN);
|
||||
turnControl.startTurn();
|
||||
Stone blueOne = new Stone(1, BLUE);
|
||||
Stone redOne = new Stone(1, RED);
|
||||
|
|
Reference in a new issue