mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Fixed initializationError(mage.client.game.StartMultiGamesTest)
This commit is contained in:
parent
88fb9b3cc6
commit
be707b3b52
1 changed files with 10 additions and 3 deletions
|
|
@ -10,6 +10,9 @@ import mage.client.components.MageComponents;
|
||||||
import mage.client.components.MageUI;
|
import mage.client.components.MageUI;
|
||||||
import mage.util.Logging;
|
import mage.util.Logging;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
public class StartMultiGamesTest {
|
public class StartMultiGamesTest {
|
||||||
|
|
||||||
private final static Logger logger = Logging.getLogger(StartMultiGamesTest.class.getName());
|
private final static Logger logger = Logging.getLogger(StartMultiGamesTest.class.getName());
|
||||||
|
|
@ -24,12 +27,16 @@ public class StartMultiGamesTest {
|
||||||
private MageUI ui;
|
private MageUI ui;
|
||||||
|
|
||||||
public static void main(String[] argv) throws Exception {
|
public static void main(String[] argv) throws Exception {
|
||||||
new StartMultiGamesTest().test();
|
new StartMultiGamesTest().testMultiGames();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//@Test
|
@Test
|
||||||
public void test() throws Exception {
|
public void testEmpty() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void testMultiGames() throws Exception {
|
||||||
for (int i = 0; i < GAME_START_COUNT; i++) {
|
for (int i = 0; i < GAME_START_COUNT; i++) {
|
||||||
logger.log(Level.INFO, "Starting game");
|
logger.log(Level.INFO, "Starting game");
|
||||||
startGame();
|
startGame();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue