Changeset 10447 in josm for trunk/test
- Timestamp:
- 2016-06-21T01:03:50+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/AutosaveTaskTest.java
r10444 r10447 17 17 import java.util.Date; 18 18 import java.util.List; 19 import java.util.concurrent.ExecutionException;20 19 21 20 import org.junit.Before; … … 206 205 207 206 /** 208 * Tests that {@link AutosaveTask#run()} handles dupplicate layers 209 * @throws InterruptedException 207 * Tests that {@link AutosaveTask#run()} handles duplicate layers 210 208 */ 211 209 @Test … … 234 232 235 233 /** 236 * Test that 237 * @throws IOException 238 * @throws ExecutionException 239 * @throws InterruptedException 240 */ 241 @Test 242 public void testRecoverLayers() throws IOException, InterruptedException, ExecutionException { 234 * Test that {@link AutosaveTask#recoverUnsavedLayers()} recovers unsaved layers. 235 * @throws Exception in case of error 236 */ 237 @Test 238 public void testRecoverLayers() throws Exception { 243 239 runAutosaveTaskSeveralTimes(1); 244 240 try (FileWriter file = new FileWriter(new File(task.getAutosaveDir().toFile(), "any_other_file.osm"))) {
Note:
See TracChangeset
for help on using the changeset viewer.