Add winning notification and fix test...
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@161 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
55b19cef1d
commit
193e9247fa
2 changed files with 13 additions and 1 deletions
|
@ -61,6 +61,7 @@ public class RoundControlTest {
|
|||
assertNotNull(view.getTablePanel().rightPlayerName);
|
||||
assertTrue(view.displayStartTurnPanel);
|
||||
assertFalse(view.startTurnEvent.listeners.isEmpty());
|
||||
assertFalse(view.displayWinPanel);
|
||||
checkTableDisplay();
|
||||
}
|
||||
|
||||
|
@ -194,6 +195,8 @@ public class RoundControlTest {
|
|||
|
||||
view.startTurnEvent.emit();
|
||||
assertFalse(view.displayStartTurnPanel);
|
||||
Stone stone = testGameState.players.get(0).hand.stones.remove(0);
|
||||
newTable.drop(new StoneSet(stone), new Position(0, 0));
|
||||
testGameState.players.get(0).hand.stones.clear();
|
||||
resetTurnStart();
|
||||
view.getPlayerPanel().endTurnEvent.emit();
|
||||
|
|
Reference in a new issue