Ignore:
Timestamp:
2015-07-30T13:17:43+02:00 (10 years ago)
Author:
nokutu
Message:

Created a few more tests. In order to run them, a JOSM window is opened.

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

Legend:

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

    r31347 r31417  
    11package org.openstreetmap.josm.plugins.mapillary.util;
     2
     3import java.io.File;
    24
    35import org.openstreetmap.josm.Main;
    46import org.openstreetmap.josm.data.projection.Projections;
     7import org.openstreetmap.josm.plugins.PluginException;
     8import org.openstreetmap.josm.plugins.PluginInformation;
    59import org.openstreetmap.josm.plugins.mapillary.MapillaryLayer;
     10import org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin;
    611import org.openstreetmap.josm.tools.I18n;
    712
     
    3035            I18n.set(Main.pref.get("language", "en"));
    3136            Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
    32 
     37            try {
     38              new MapillaryPlugin(new PluginInformation(new File("/home/nokutu/.josm/plugins/Mapillary.jar")));
     39            } catch (PluginException e) {
     40              // TODO Auto-generated catch block
     41              e.printStackTrace();
     42            }
    3343            isInitialized = true;
    3444        }
Note: See TracChangeset for help on using the changeset viewer.