Changeset 5556 in josm for trunk/test/performance


Ignore:
Timestamp:
2012-11-03T18:32:39+01:00 (7 years ago)
Author:
Don-vip
Message:

see #8172 - fix JUnit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/data/osm/MapPaintVisitorPerformanceTest.java

    r4126 r5556  
    1212import org.openstreetmap.josm.data.osm.visitor.paint.Rendering;
    1313import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer;
    14 import org.openstreetmap.josm.data.projection.Mercator;
     14import org.openstreetmap.josm.data.projection.Projections;
    1515import org.openstreetmap.josm.gui.NavigatableComponent;
    1616import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
     
    3232    @BeforeClass
    3333    public static void load() throws Exception {
    34         Main.setProjection(new Mercator());
     34        Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
    3535        img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_3BYTE_BGR);
    3636        g = (Graphics2D)img.getGraphics();
Note: See TracChangeset for help on using the changeset viewer.