Changeset 11995 in josm for trunk/test/unit
- Timestamp:
- 2017-04-24T21:16:45+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/MainTest.java
r11988 r11995 12 12 import java.util.Collection; 13 13 import java.util.List; 14 import java.util.concurrent.ExecutionException; 15 import java.util.concurrent.Future; 14 16 15 17 import javax.swing.UIManager; … … 100 102 private static void doTestPostConstructorProcessCmdLine(String download, String downloadGps, boolean gpx) { 101 103 assertNull(Main.getLayerManager().getEditDataSet()); 102 Main.postConstructorProcessCmdLine(new ProgramArguments(new String[]{104 for (Future<?> f : Main.postConstructorProcessCmdLine(new ProgramArguments(new String[]{ 103 105 "--download=" + download, 104 106 "--downloadgps=" + downloadGps, 105 "--selection=type: node"})); 107 "--selection=type: node"}))) { 108 try { 109 f.get(); 110 } catch (InterruptedException | ExecutionException e) { 111 Main.error(e); 112 } 113 } 106 114 DataSet ds = Main.getLayerManager().getEditDataSet(); 107 115 assertNotNull(ds);
Note:
See TracChangeset
for help on using the changeset viewer.