Changeset 19029 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2024-04-04T15:19:33+02:00 (10 months ago)
Author:
GerdP
Message:

fix #9304: in validator, check for intersecting roads in different layers

  • initial implementation of the test
  • functional test with examples, also checks code coverage
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/HighwaysTest.java

    r18853 r19029  
    115115        }
    116116    }
     117
     118    /**
     119     * Test all error cases manually created in data.osm.
     120     * @throws Exception in case of error
     121     */
     122    @Test
     123    void testTicket9304() throws Exception {
     124        final Highways test = new Highways();
     125        ValidatorTestUtils.testSampleFile("nodist/data/9304-examples.osm", DataSet::getNodes, null, test);
     126    }
     127
    117128}
Note: See TracChangeset for help on using the changeset viewer.