Changeset 12637 in josm for trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
- Timestamp:
- 2017-08-24T23:29:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r12636 r12637 19 19 import org.openstreetmap.josm.data.projection.Projections; 20 20 import org.openstreetmap.josm.gui.MainApplication; 21 import org.openstreetmap.josm.gui.MainApplicationTest; 21 22 import org.openstreetmap.josm.gui.MainPanel; 22 23 import org.openstreetmap.josm.gui.layer.LayerManagerTest.TestLayer; 23 import org.openstreetmap.josm.gui.preferences.ToolbarPreferences;24 24 import org.openstreetmap.josm.gui.util.GuiHelper; 25 25 import org.openstreetmap.josm.io.CertificateAmendment; … … 201 201 * Make sure {@code Main.toolbar} is initialized. 202 202 */ 203 @SuppressWarnings("deprecation") 203 204 public static void initToolbar() { 205 MainApplicationTest.initToolbar(); 204 206 if (Main.toolbar == null) { 205 Main.toolbar = new ToolbarPreferences();207 Main.toolbar = MainApplication.getToolbar(); 206 208 } 207 209 }
Note:
See TracChangeset
for help on using the changeset viewer.