Changeset 31451 in osm for applications/editors/josm/plugins/mapillary/test
- Timestamp:
- 2015-08-05T11:45:56+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillarySequenceDownloadThreadTest.java
r31445 r31451 59 59 60 60 int page = 1; 61 while (!ex.isShutdown() && MapillaryLayer.getInstance().get MapillaryData().getImages().size() <= 0 && page < 50) {61 while (!ex.isShutdown() && MapillaryLayer.getInstance().getData().getImages().size() <= 0 && page < 50) { 62 62 System.out.println("Sending sequence-request "+page+" to Mapillary-servers…"); 63 63 Thread downloadThread = new MapillarySequenceDownloadThread(ex, queryString+"&page="+page); … … 67 67 Thread.sleep(500); 68 68 } 69 assertTrue(MapillaryLayer.getInstance().get MapillaryData().getImages().size() >= 1);69 assertTrue(MapillaryLayer.getInstance().getData().getImages().size() >= 1); 70 70 System.out.println("One or more images were added to the MapillaryLayer within the given bounds."); 71 71 }
Note:
See TracChangeset
for help on using the changeset viewer.