Changeset 15399 in josm
- Timestamp:
- 2019-10-01T01:15:47+02:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
r15398 r15399 11 11 import java.util.Collection; 12 12 import java.util.HashMap; 13 import java.util.Locale;14 13 import java.util.TimeZone; 15 14 16 15 import javax.swing.JScrollPane; 17 16 18 import org.junit.Before;19 17 import org.junit.Rule; 20 18 import org.junit.Test; … … 44 42 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 45 43 public JOSMTestRules test = new JOSMTestRules().main().projection().i18n(); 46 47 /**48 * Setup test49 */50 @Before51 public void before() {52 // Make sure we don't rely on a specific country, for distance units53 Locale.setDefault(Locale.ENGLISH);54 }55 44 56 45 private static String getHtml(GpxLayer layer) { -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r15232 r15399 34 34 import org.openstreetmap.josm.command.DeleteCommand; 35 35 import org.openstreetmap.josm.data.Preferences; 36 import org.openstreetmap.josm.data.SystemOfMeasurement; 36 37 import org.openstreetmap.josm.data.UserIdentityManager; 37 38 import org.openstreetmap.josm.data.Version; … … 500 501 } 501 502 503 // Make sure we're using the metric system 504 SystemOfMeasurement.setSystemOfMeasurement(SystemOfMeasurement.METRIC.getName()); 505 502 506 if (useHttps) { 503 507 try {
Note:
See TracChangeset
for help on using the changeset viewer.