merge tests into development #25

Closed
j23f0712 wants to merge 24 commits from dev/test into development
Showing only changes of commit 8d49528a92 - Show all commits

View File

@@ -2832,7 +2832,8 @@ public void testPodiumToStatistics() {
ceremony.setState(podium); ceremony.setState(podium);
assertEquals(ceremony.getState(), podium); assertEquals(ceremony.getState(), podium);
//TODO //simulate button-push
clientGameLogic.selectNext();
//tests if the client is in statistics //tests if the client is in statistics
assertEquals(clientGameLogic.getState(), ceremony); assertEquals(clientGameLogic.getState(), ceremony);
@@ -2852,7 +2853,8 @@ public void testStatisticsToCeremonyEndState() {
ceremony.setState(statistics); ceremony.setState(statistics);
assertEquals(ceremony.getState(), statistics); assertEquals(ceremony.getState(), statistics);
//TODO simulate button-push //simulate button-push
clientGameLogic.selectNext();
//tests if client is in startDialog //tests if client is in startDialog
assertEquals(clientGameLogic.getState(), dialogs); assertEquals(clientGameLogic.getState(), dialogs);