# HG changeset patch # User Jaroslav Tulach # Date 1257672106 -3600 # Node ID a441b02a638a83309eb5a11714716a3c58496763 # Parent 8e72d8596e920e86a2cf916a87ea4f9adc58fbee Changing the port value for each test diff -r 8e72d8596e92 -r a441b02a638a webidor/src/test/java/cz/xelfi/quoridor/webidor/FinishedGameTest.java --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/FinishedGameTest.java Sun Nov 08 10:16:10 2009 +0100 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/FinishedGameTest.java Sun Nov 08 10:21:46 2009 +0100 @@ -41,6 +41,9 @@ * @author Jaroslav Tulach */ public class FinishedGameTest extends JerseyTest { + static { + System.setProperty("JERSEY_HTTP_PORT", "33435"); + } private File dir; public FinishedGameTest() throws Exception { diff -r 8e72d8596e92 -r a441b02a638a webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Sun Nov 08 10:16:10 2009 +0100 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Sun Nov 08 10:21:46 2009 +0100 @@ -42,6 +42,9 @@ * @author Jaroslav Tulach */ public class GamesTest extends Object { + static { + System.setProperty("JERSEY_HTTP_PORT", "33436"); + } private File dir; @Before diff -r 8e72d8596e92 -r a441b02a638a webidor/src/test/java/cz/xelfi/quoridor/webidor/resources/ChatTest.java --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/resources/ChatTest.java Sun Nov 08 10:16:10 2009 +0100 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/resources/ChatTest.java Sun Nov 08 10:21:46 2009 +0100 @@ -50,6 +50,9 @@ * @author Jaroslav Tulach */ public class ChatTest extends JerseyTest { + static { + System.setProperty("JERSEY_HTTP_PORT", "33437"); + } private File dir; public ChatTest() throws Exception {