Switching to English
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 07 Sep 2009 13:31:35 +0200
changeset 625d36990642b7
parent 61 517faddf1320
child 63 d5738061bf2d
Switching to English
freemarkerdor/src/test/java/cz/xelfi/quoridor/freemarkerdor/UITest.java
     1.1 --- a/freemarkerdor/src/test/java/cz/xelfi/quoridor/freemarkerdor/UITest.java	Sat Sep 05 15:52:31 2009 +0200
     1.2 +++ b/freemarkerdor/src/test/java/cz/xelfi/quoridor/freemarkerdor/UITest.java	Mon Sep 07 13:31:35 2009 +0200
     1.3 @@ -32,10 +32,12 @@
     1.4  import java.io.File;
     1.5  import java.io.IOException;
     1.6  import java.net.URI;
     1.7 +import java.util.Locale;
     1.8  import java.util.concurrent.Callable;
     1.9  import javax.ws.rs.core.Cookie;
    1.10  import org.junit.After;
    1.11  import org.junit.Before;
    1.12 +import org.junit.BeforeClass;
    1.13  import org.junit.Test;
    1.14  import static org.junit.Assert.*;
    1.15  
    1.16 @@ -51,6 +53,11 @@
    1.17      public UITest() throws Exception {
    1.18      }
    1.19  
    1.20 +    @BeforeClass
    1.21 +    public static void localeEnglish() {
    1.22 +        Locale.setDefault(Locale.ENGLISH);
    1.23 +    }
    1.24 +
    1.25      @Before
    1.26      public void setUp() throws Exception {
    1.27          dir = File.createTempFile("quoridor", ".dir");