Changeset 18827 in josm for trunk/test


Ignore:
Timestamp:
2023-09-12T20:04:52+02:00 (15 months ago)
Author:
taylor.smock
Message:

See #23165: Use test file with smaller (Integer.MAX_VALUE) changeset id

Location:
trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/io/importexport/OsmPbfImporterTest.java

    r18826 r18827  
    145145        assertNotNull(dataSet.getPrimitiveById(9223372036854775806L, OsmPrimitiveType.RELATION));
    146146    }
    147 
    148     @ParameterizedTest
    149     @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     }
    168147}
Note: See TracChangeset for help on using the changeset viewer.