Changeset 18827 in josm for trunk/test
- Timestamp:
- 2023-09-12T20:04:52+02:00 (15 months ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/io/importexport/OsmPbfImporterTest.java
r18826 r18827 145 145 assertNotNull(dataSet.getPrimitiveById(9223372036854775806L, OsmPrimitiveType.RELATION)); 146 146 } 147 148 @ParameterizedTest149 @ValueSource(strings = {"Downloads/24165.osm.pbf", "workspace/tasking-manager/frontend/24165.osmosis.osm.pbf",150 "workspace/tasking-manager/frontend/24165.osmium.osm.pbf"})151 void test23165(String path) throws IOException {152 try (InputStream is = Files.newInputStream(Paths.get("/Users/tsmock", path))) {153 DataSet ds = assertDoesNotThrow(() -> importer.parseDataSet(is, NullProgressMonitor.INSTANCE));154 assertNotNull(ds.getPrimitiveById(22319993769L, OsmPrimitiveType.NODE));155 assertNotNull(ds.getPrimitiveById(32920002105L, OsmPrimitiveType.NODE));156 assertNotNull(ds.getPrimitiveById(29706529395L, OsmPrimitiveType.NODE));157 assertNotNull(ds.getPrimitiveById(23842321089L, OsmPrimitiveType.NODE));158 assertNotNull(ds.getPrimitiveById(31341235510L, OsmPrimitiveType.NODE));159 assertNotNull(ds.getPrimitiveById(30053292843L, OsmPrimitiveType.NODE));160 assertNotNull(ds.getPrimitiveById(28917983832L, OsmPrimitiveType.NODE));161 assertNotNull(ds.getPrimitiveById(29875275836L, OsmPrimitiveType.NODE));162 assertNotNull(ds.getPrimitiveById(32694472600L, OsmPrimitiveType.NODE));163 assertNotNull(ds.getPrimitiveById(22545520445L, OsmPrimitiveType.NODE));164 assertNotNull(ds.getPrimitiveById(23222110547L, OsmPrimitiveType.NODE));165 assertNotNull(ds.getPrimitiveById(2147640293L, OsmPrimitiveType.WAY));166 }167 }168 147 }
Note:
See TracChangeset
for help on using the changeset viewer.