Ignore:
Timestamp:
2015-08-21T20:44:09+02:00 (10 years ago)
Author:
nokutu
Message:

Extracted import methods and added a few more links when right clicking on the hyperlink label of the main dialog. Now you can copy the tag and open the edit website.

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

Legend:

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

    r31460 r31512  
    1111
    1212import org.openstreetmap.josm.data.coor.LatLon;
    13 import org.openstreetmap.josm.plugins.mapillary.actions.MapillaryImportAction;
     13import org.openstreetmap.josm.plugins.mapillary.utils.MapillaryUtils;
    1414
    1515/**
     
    2727  public void importNoTagsTest() {
    2828    File image = new File("images/icon16.png");
    29     MapillaryImportedImage img = new MapillaryImportAction().readNoTags(image,
     29    MapillaryImportedImage img = MapillaryUtils.readNoTags(image,
    3030        new LatLon(0, 0));
    3131    assertEquals(0, img.getCa(), 0.01);
  • applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/oauth/UploadTest.java

    r31460 r31512  
    2020import org.openstreetmap.josm.plugins.mapillary.AbstractTest;
    2121import org.openstreetmap.josm.plugins.mapillary.MapillaryImportedImage;
    22 import org.openstreetmap.josm.plugins.mapillary.actions.MapillaryImportAction;
    2322import org.openstreetmap.josm.plugins.mapillary.oauth.UploadUtils;
    2423import org.openstreetmap.josm.plugins.mapillary.utils.MapillaryUtils;
     
    3837  public void updateFileTest() {
    3938    File image = new File("images/icon16.png");
    40     MapillaryImportedImage img = new MapillaryImportAction().readNoTags(image,
     39    MapillaryImportedImage img = MapillaryUtils.readNoTags(image,
    4140        new LatLon(0, 0));
    4241    File updatedFile = null;
Note: See TracChangeset for help on using the changeset viewer.