Changeset 13927 in josm for trunk/test/unit/org
- Timestamp:
- 2018-06-13T22:17:23+02:00 (6 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTaskTest.java
r13572 r13927 45 45 mockHttp(); 46 46 DownloadGpsTask task = new DownloadGpsTask(); 47 task.loadUrl( false, getRemoteFileUrl(), null).get();47 task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get(); 48 48 GpxData data = task.getDownloadedData(); 49 49 assertNotNull(data); -
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadNotesTaskTest.java
r12558 r13927 40 40 mockHttp(); 41 41 DownloadNotesTask task = new DownloadNotesTask(); 42 task.loadUrl( false, getRemoteFileUrl(), null).get();42 task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get(); 43 43 NoteData data = task.getDownloadedData(); 44 44 assertNotNull(data); -
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTaskTest.java
r12558 r13927 42 42 mockHttp(); 43 43 DownloadOsmTask task = new DownloadOsmTask(); 44 task.loadUrl( false, getRemoteFileUrl(), null).get();44 task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get(); 45 45 DataSet ds = task.getDownloadedData(); 46 46 assertNotNull(ds); -
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/PostDownloadHandlerTest.java
r13261 r13927 37 37 return new DownloadTask() { 38 38 @Override 39 public Future<?> loadUrl( boolean newLayer, String url, ProgressMonitor progressMonitor) {39 public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 40 40 return null; 41 41 } … … 62 62 63 63 @Override 64 public Future<?> download( boolean newLayer, Bounds downloadArea, ProgressMonitor progressMonitor) {64 public Future<?> download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor) { 65 65 return null; 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.