test/unit/org/openstreetmap/josm/plugins/opendata/core/io/geographic/ShpReaderTest.java
@Test
    @Ignore("work in progress")
    public void testTicket11761() throws Exception {
        File file = new File(TestUtils.getRegressionDataFile(11761, "HAR.shp"));
        try (InputStream is = new FileInputStream(file)) {
            for (Node n : ShpReader.parseDataSet(is, file, null, null).getNodes()) {
                assertNotNull(n.toString(), n.getCoor());
                assertFalse(n.toString(), LatLon.ZERO.equals(n.getCoor()));
                assertFalse(n.toString(), n.getCoor().isOutSideWorld());
                assertTrue(n.toString(), n.getCoor().isValid());
            }
        }
    }
/**
     * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/11761">#11761</a>
     * @throws Exception if an error occurs during reading
     */
Non-regression test for ticket #11761
@throws Exception if an error occurs during reading
Non - regression test for ticket #11761 @throws Exception if an error occurs during reading
@Test
    @Ignore("work in progress")
    public void testTicket11761() throws Exception {
        File file = new File(TestUtils.getRegressionDataFile(11761, "HAR.shp"));
        try (InputStream is = new FileInputStream(file)) {
            for (Node n : ShpReader.parseDataSet(is, file, null, null).getNodes()) {
                assertNotNull(n.toString(), n.getCoor());
                assertFalse(n.toString(), LatLon.ZERO.equals(n.getCoor()));
                assertFalse(n.toString(), n.getCoor().isOutSideWorld());
                assertTrue(n.toString(), n.getCoor().isValid());
            }
        }
    }
@ Test @ Ignore ( "work in progress" ) public void testTicket11761 ( ) throws Exception { File file = new File ( TestUtils . getRegressionDataFile ( 11761 , "HAR.shp" ) ) ; try ( InputStream is = new FileInputStream ( file ) ) { for ( Node n : ShpReader . parseDataSet ( is , file , null , null ) . getNodes ( ) ) { assertNotNull ( n . toString ( ) , n . getCoor ( ) ) ; assertFalse ( n . toString ( ) , LatLon . ZERO . equals ( n . getCoor ( ) ) ) ; assertFalse ( n . toString ( ) , n . getCoor ( ) . isOutSideWorld ( ) ) ; assertTrue ( n . toString ( ) , n . getCoor ( ) . isValid ( ) ) ; } } }
Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/11761">#11761</a>
 @throws Exception if an error occurs during reading
Non - regression test for ticket <a href = " https : // josm . openstreetmap . de / ticket / 11761 " > #11761< / a > @throws Exception if an error occurs during reading