Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java
r10438 r10447 23 23 import javax.swing.AbstractAction; 24 24 import javax.swing.DefaultListSelectionModel; 25 import javax.swing.ImageIcon;26 25 import javax.swing.JButton; 27 26 import javax.swing.JComponent; -
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.