Changeset 14139 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2018-08-12T02:52:44+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r14138 r14139 22 22 import org.openstreetmap.josm.gui.MainApplication; 23 23 import org.openstreetmap.josm.gui.MainApplicationTest; 24 import org.openstreetmap.josm.gui.MainInitialization; 24 25 import org.openstreetmap.josm.gui.layer.LayerManagerTest.TestLayer; 25 26 import org.openstreetmap.josm.gui.util.GuiHelper; 26 27 import org.openstreetmap.josm.io.CertificateAmendment; 27 28 import org.openstreetmap.josm.io.OsmApi; 29 import org.openstreetmap.josm.spi.lifecycle.Lifecycle; 28 30 import org.openstreetmap.josm.spi.preferences.Config; 29 31 import org.openstreetmap.josm.testutils.JOSMTestRules; … … 161 163 initToolbar(); 162 164 if (Main.main == null) { 163 new MainApplication() .initialize();165 Lifecycle.initialize(new MainInitialization(new MainApplication())); 164 166 } 165 167 // Add a test layer to the layer manager to get the MapFrame
Note:
See TracChangeset
for help on using the changeset viewer.