Changeset 32861 in osm


Ignore:
Timestamp:
2016-08-21T15:11:58+02:00 (8 years ago)
Author:
donvip
Message:

see #josm12567 - add new test case: fixed in previous commits

Location:
applications/editors/josm/plugins/pbf/test
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/test/unit/org/openstreetmap/josm/plugins/pbf/io/PbfImporterTest.java

    r32859 r32861  
    6767        doTestMonaco(TestUtils.getRegressionDataFile(10132, "Monaco-SP.osm.pbf"), true);
    6868    }
     69
     70    /**
     71     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/12567">Ticket #12567</a>.
     72     * @throws Exception if an error occurs
     73     */
     74    @Test
     75    public void testTicket12567() throws Exception {
     76        DataSet ds = new PbfImporter().parseDataSet(TestUtils.getRegressionDataFile(12567, "12390008.osm.pbf"));
     77        assertNotNull(ds);
     78        assertEquals(103210, ds.getNodes().size());
     79        assertEquals(8727, ds.getWays().size());
     80        assertEquals(97, ds.getRelations().size());
     81    }
    6982}
Note: See TracChangeset for help on using the changeset viewer.