Changeset 285 in josm for test/functional/framework
- Timestamp:
- 2007-07-11T21:41:12+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/functional/framework/FunctionalTestCase.java
r284 r285 25 25 26 26 import org.openstreetmap.josm.Main; 27 import org.openstreetmap.josm.data.Preferences; 28 import org.openstreetmap.josm.data.osm.DataSet; 27 29 import org.openstreetmap.josm.gui.MainApplication; 28 30 29 public class FunctionalTestCase extends JFCTestCase { 31 abstract public class FunctionalTestCase extends JFCTestCase { 30 32 31 33 private KeyStroke getKey(String s) { … … 65 67 super.setUp(); 66 68 setHelper(new RobotTestHelper()); 69 70 Main.ds = new DataSet(); 71 Main.pref = new Preferences(); 72 if (Main.map != null) 73 Main.main.setMapFrame(null); 74 67 75 MainApplication.main(new String[]{}); 76 } 77 78 @Override protected void tearDown() throws Exception { 79 Main.parent.setVisible(false); 80 super.tearDown(); 68 81 } 69 82
Note:
See TracChangeset
for help on using the changeset viewer.