Changeset 7535 in josm for trunk/test/performance


Ignore:
Timestamp:
2014-09-14T19:42:23+02:00 (5 years ago)
Author:
Don-vip
Message:

fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.groovy

    r7142 r7535  
    99import org.junit.*
    1010import org.openstreetmap.josm.JOSMFixture
    11 import org.openstreetmap.josm.Main
    1211import org.openstreetmap.josm.data.Bounds
    1312import org.openstreetmap.josm.data.osm.DataSet
    1413import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer
    15 import org.openstreetmap.josm.gui.MainApplication
    1614import org.openstreetmap.josm.gui.NavigatableComponent
    1715import org.openstreetmap.josm.gui.mappaint.MapPaintStyles
    1816import org.openstreetmap.josm.gui.preferences.SourceEntry
    19 import org.openstreetmap.josm.gui.preferences.ToolbarPreferences
    2017import org.openstreetmap.josm.io.Compression
    2118import org.openstreetmap.josm.io.OsmReader
     
    5148    @BeforeClass
    5249    public static void createJOSMFixture() {
    53         JOSMFixture.createPerformanceTestFixture().init();
    54         Main.toolbar = new ToolbarPreferences();
    55         new MainApplication();
     50        JOSMFixture.createPerformanceTestFixture().init(true);
    5651    }
    5752
Note: See TracChangeset for help on using the changeset viewer.