Ignore:
Timestamp:
2019-10-01T01:15:47+02:00 (5 years ago)
Author:
Don-vip
Message:

force metric system in unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java

    r15398 r15399  
    1111import java.util.Collection;
    1212import java.util.HashMap;
    13 import java.util.Locale;
    1413import java.util.TimeZone;
    1514
    1615import javax.swing.JScrollPane;
    1716
    18 import org.junit.Before;
    1917import org.junit.Rule;
    2018import org.junit.Test;
     
    4442    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    4543    public JOSMTestRules test = new JOSMTestRules().main().projection().i18n();
    46 
    47     /**
    48      * Setup test
    49      */
    50     @Before
    51     public void before() {
    52         // Make sure we don't rely on a specific country, for distance units
    53         Locale.setDefault(Locale.ENGLISH);
    54     }
    5544
    5645    private static String getHtml(GpxLayer layer) {
Note: See TracChangeset for help on using the changeset viewer.