Changeset 7077 in josm


Ignore:
Timestamp:
2014-05-08T04:09:23+02:00 (5 years ago)
Author:
Don-vip
Message:

fix another test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java

    r7068 r7077  
    1212import org.openstreetmap.josm.data.Bounds;
    1313import org.openstreetmap.josm.data.osm.DataSet;
    14 import org.openstreetmap.josm.data.osm.visitor.paint.Rendering;
    15 import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer;
    1614import org.openstreetmap.josm.data.projection.Projections;
    1715import org.openstreetmap.josm.gui.NavigatableComponent;
     
    3432    @BeforeClass
    3533    public static void load() throws Exception {
     34        Main.initApplicationPreferences();
    3635        Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
    3736        img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_3BYTE_BGR);
     
    4140
    4241        // TODO Test should have it's own copy of styles because change in style can influence performance
    43         Main.pref.load();
    4442        MapPaintStyles.readFromPreferences();
    4543
Note: See TracChangeset for help on using the changeset viewer.