Changeset 12848 in josm for trunk/test/unit
- Timestamp:
- 2017-09-14T00:09:59+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r12795 r12848 23 23 import org.openstreetmap.josm.io.CertificateAmendment; 24 24 import org.openstreetmap.josm.io.OsmApi; 25 import org.openstreetmap.josm.spi.preferences.Config; 25 26 import org.openstreetmap.josm.testutils.JOSMTestRules; 26 27 import org.openstreetmap.josm.tools.I18n; … … 96 97 System.setProperty("josm.home", josmHome); 97 98 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); 99 Config.setPreferencesInstance(Main.pref); 98 100 Main.pref.resetToInitialState(); 99 101 Main.pref.enableSaveOnPut(false); -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r12807 r12848 40 40 41 41 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 42 import org.openstreetmap.josm.spi.preferences.Config; 42 43 43 44 /** … … 276 277 cleanUpFromJosmFixture(); 277 278 279 Config.setPreferencesInstance(Main.pref); 278 280 // All tests use the same timezone. 279 281 TimeZone.setDefault(DateUtils.UTC);
Note:
See TracChangeset
for help on using the changeset viewer.