Changeset 12128 in josm for trunk/test/unit/org
- Timestamp:
- 2017-05-12T20:18:02+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r12125 r12128 6 6 import static org.junit.Assert.fail; 7 7 8 import java.awt.BorderLayout; 8 9 import java.io.File; 9 10 import java.io.IOException; … … 14 15 import java.util.TimeZone; 15 16 17 import javax.swing.JPanel; 18 16 19 import org.openstreetmap.josm.data.projection.Projections; 17 20 import org.openstreetmap.josm.gui.MainApplication; 21 import org.openstreetmap.josm.gui.MainPanel; 18 22 import org.openstreetmap.josm.gui.layer.LayerManagerTest.TestLayer; 19 23 import org.openstreetmap.josm.gui.preferences.ToolbarPreferences; … … 146 150 assertNull(Main.getLayerManager().getActiveLayer()); 147 151 152 if (Main.contentPanePrivate == null) { 153 Main.contentPanePrivate = new JPanel(new BorderLayout()); 154 } 155 if (Main.mainPanel == null) { 156 Main.mainPanel = new MainPanel(Main.getLayerManager()); 157 } 148 158 if (Main.toolbar == null) { 149 159 Main.toolbar = new ToolbarPreferences();
Note:
See TracChangeset
for help on using the changeset viewer.