1.1 --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Sun Nov 08 10:21:46 2009 +0100
1.2 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Tue Dec 08 15:34:50 2009 +0100
1.3 @@ -86,7 +86,7 @@
1.4 Thread.sleep(1000);
1.5
1.6 Games games = new Games(dir, new Quoridor());
1.7 - Game g = games.getBoardInfo("x", -1);
1.8 + Game g = games.getBoardInfo("", "x", -1);
1.9 assertNotNull("Game found", g);
1.10 assertNotNull("Board found", g.getBoard());
1.11 assertEquals("List of moves has two", 2, g.getMoves().size());
1.12 @@ -108,7 +108,7 @@
1.13 Thread.sleep(1000);
1.14
1.15 Games games = new Games(dir, new Quoridor());
1.16 - Game g = games.getBoardInfo("x", -1);
1.17 + Game g = games.getBoardInfo("", "x", -1);
1.18 assertNotNull("Game found", g);
1.19 assertNotNull("Board found", g.getBoard());
1.20 assertEquals("List of moves has two", 2, g.getMoves().size());
1.21 @@ -133,7 +133,7 @@
1.22 Thread.sleep(1000);
1.23
1.24 Games games = new Games(dir, new Quoridor());
1.25 - Game g = games.getBoardInfo("x", -1);
1.26 + Game g = games.getBoardInfo("", "x", -1);
1.27 assertNotNull("Game found", g);
1.28 assertNotNull("Board found", g.getBoard());
1.29 assertEquals("List of moves has two", 2, g.getMoves().size());