Changeset 33599 in osm


Ignore:
Timestamp:
2017-09-14T20:27:28+02:00 (7 years ago)
Author:
donvip
Message:

fix unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/TestUtil.java

    r33055 r33599  
    1414import org.openstreetmap.josm.data.projection.Projections;
    1515import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;
     16import org.openstreetmap.josm.spi.preferences.Config;
    1617import org.openstreetmap.josm.tools.I18n;
    1718
     
    4344      Main.platform.preStartupHook();
    4445      Main.pref.init(false);
     46      Config.setPreferencesInstance(Main.pref);
     47      Config.setBaseDirectoriesProvider(Main.pref);
    4548      I18n.set(Main.pref.get("language", "en"));
    4649      Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
Note: See TracChangeset for help on using the changeset viewer.