Changeset 7327 in josm for trunk


Ignore:
Timestamp:
2014-07-22T01:34:02+02:00 (10 years ago)
Author:
Don-vip
Message:

see #10292 - cleanup unit test

File:
1 edited

Legend:

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

    r7326 r7327  
    1212import org.junit.Test;
    1313import org.openstreetmap.josm.JOSMFixture;
    14 import org.openstreetmap.josm.Main;
    1514import org.openstreetmap.josm.TestUtils;
    16 import org.openstreetmap.josm.gui.MainApplication;
    1715import org.openstreetmap.josm.gui.layer.GpxLayer;
    1816import org.openstreetmap.josm.gui.layer.Layer;
    1917import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    2018import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
    21 import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;
    22 import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
    2319import org.openstreetmap.josm.io.IllegalDataException;
    2420
     
    3430    public static void setUpBeforeClass() {
    3531        JOSMFixture.createUnitTestFixture().init();
    36         ProjectionPreference.setProjection();
    37         Main.toolbar = new ToolbarPreferences();
    38         new MainApplication();
    39         Main.main.createMapFrame(null, null);
    4032    }
    4133
Note: See TracChangeset for help on using the changeset viewer.