use of de.westnordost.streetcomplete.data.osm.download.MapDataWithGeometryHandler in project StreetComplete by westnordost.
the class AddHousenumberIntegrationTest method verifyYieldsNoQuest.
private void verifyYieldsNoQuest(BoundingBox bbox, String date) {
OverpassMapDataDao o = OsmModule.overpassOldMapDataDao(OsmModule::overpassMapDataParser, date);
AddHousenumber quest = new AddHousenumber(o);
MapDataWithGeometryHandler verifier = (element, geometry) -> {
fail("Expected zero elements. Element returned: " + element.getType().name() + "#" + element.getId());
};
quest.download(bbox, verifier);
}
Aggregations