Ignore:
Timestamp:
2015-12-12T19:53:47+01:00 (9 years ago)
Author:
floscher
Message:

[mapillary] Add test for MapillaryPreferenceSetting

Location:
applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary
Files:
1 added
1 edited

Legend:

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

    r31795 r31820  
    1010import org.openstreetmap.josm.Main;
    1111import org.openstreetmap.josm.data.projection.Projections;
     12import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;
    1213import org.openstreetmap.josm.plugins.mapillary.MapillaryLayer;
    1314import org.openstreetmap.josm.tools.I18n;
     
    4445      Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
    4546      isInitialized = true;
     47      if (Main.toolbar == null) {
     48        Main.toolbar = new ToolbarPreferences();
     49      }
    4650    }
    4751  }
Note: See TracChangeset for help on using the changeset viewer.