Fixed initializationError(mage.client.game.StartMultiGamesTest)

This commit is contained in:
magenoxx 2010-11-28 20:23:40 +00:00
parent 88fb9b3cc6
commit be707b3b52

View file

@ -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();