Changeset 12094 in josm for trunk/test


Ignore:
Timestamp:
2017-05-10T13:16:05+02:00 (2 years ago)
Author:
bastiK
Message:

update test (see #14734)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionWriterTest.java

    r10937 r12094  
    1313import org.junit.Test;
    1414import org.openstreetmap.josm.JOSMFixture;
     15import org.openstreetmap.josm.Main;
    1516import org.openstreetmap.josm.data.coor.EastNorth;
    1617import org.openstreetmap.josm.data.coor.LatLon;
     
    1819import org.openstreetmap.josm.data.gpx.WayPoint;
    1920import org.openstreetmap.josm.data.imagery.ImageryInfo;
     21import org.openstreetmap.josm.data.imagery.OffsetBookmark;
    2022import org.openstreetmap.josm.data.notes.Note;
    2123import org.openstreetmap.josm.data.osm.DataSet;
     
    133135    private ImageryLayer createImageryLayer() {
    134136        TMSLayer layer = new TMSLayer(new ImageryInfo("the name", "http://www.url.com/"));
    135         layer.getDisplaySettings().setDisplacement(new EastNorth(12, 34));
     137        layer.getDisplaySettings().setOffsetBookmark(
     138                new OffsetBookmark(Main.getProjection().toCode(), layer.getInfo().getName(), "", 12, 34));
    136139        return layer;
    137140    }
Note: See TracChangeset for help on using the changeset viewer.