Changeset 13927 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2018-06-13T22:17:23+02:00 (6 years ago)
Author:
Don-vip
Message:

see #11000 - Remote control: allow to specify layer_name for import

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  
    4545        mockHttp();
    4646        DownloadGpsTask task = new DownloadGpsTask();
    47         task.loadUrl(false, getRemoteFileUrl(), null).get();
     47        task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get();
    4848        GpxData data = task.getDownloadedData();
    4949        assertNotNull(data);
  • trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadNotesTaskTest.java

    r12558 r13927  
    4040        mockHttp();
    4141        DownloadNotesTask task = new DownloadNotesTask();
    42         task.loadUrl(false, getRemoteFileUrl(), null).get();
     42        task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get();
    4343        NoteData data = task.getDownloadedData();
    4444        assertNotNull(data);
  • trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTaskTest.java

    r12558 r13927  
    4242        mockHttp();
    4343        DownloadOsmTask task = new DownloadOsmTask();
    44         task.loadUrl(false, getRemoteFileUrl(), null).get();
     44        task.loadUrl(new DownloadParams(), getRemoteFileUrl(), null).get();
    4545        DataSet ds = task.getDownloadedData();
    4646        assertNotNull(ds);
  • trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/PostDownloadHandlerTest.java

    r13261 r13927  
    3737        return new DownloadTask() {
    3838            @Override
    39             public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor) {
     39            public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
    4040                return null;
    4141            }
     
    6262
    6363            @Override
    64             public Future<?> download(boolean newLayer, Bounds downloadArea, ProgressMonitor progressMonitor) {
     64            public Future<?> download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor) {
    6565                return null;
    6666            }
Note: See TracChangeset for help on using the changeset viewer.