Merge pull request #2992 from ingmargoudt/optionals

rewrites to optionals
This commit is contained in:
LevelX2 2017-03-19 23:27:09 +01:00 committed by GitHub
commit bc81f7974a
28 changed files with 760 additions and 494 deletions

View file

@ -107,7 +107,7 @@ public class LoadTest {
if (!session.joinTable(roomId, table.getTableId(), TEST_USER_NAME + i, "Human", 1, deckList,"")) {
log.error("Error while joining table");
Assert.assertTrue("Error while joining table", false);
Assert.fail("Error while joining table");
return;
}
@ -121,7 +121,7 @@ public class LoadTest {
// connect to the table with the same deck
if (!session2.joinTable(roomId2, table.getTableId(), TEST_USER_NAME_2 + i, "Human", 1, deckList,"")) {
log.error("Error while joining table");
Assert.assertTrue("Error while joining table", false);
Assert.fail("Error while joining table");
return;
}
@ -179,7 +179,7 @@ public class LoadTest {
if (!session.joinTable(roomId, table.getTableId(), TEST_USER_NAME + i, "Human", 1, deckList,"")) {
log.error("Error while joining table");
Assert.assertTrue("Error while joining table", false);
Assert.fail("Error while joining table");
return true;
}
@ -195,7 +195,7 @@ public class LoadTest {
// connect to the table with the same deck
if (!session2.joinTable(roomId2, table.getTableId(), TEST_USER_NAME_2 + i, "Human", 1, deckList,"")) {
log.error("Error while joining table");
Assert.assertTrue("Error while joining table", false);
Assert.fail("Error while joining table");
return true;
}