Changeset 18981 in josm
- Timestamp:
- 2024-02-13T22:24:20+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/TagCheckerTest.java
r18958 r18981 235 235 final List<TestError> errors = test(OsmUtils.createPrimitive("node highway=crossing crossing_ref=zebra")); 236 236 assertEquals(1, errors.size()); 237 assertEquals(" Invalid region for this preset", errors.get(0).getMessage());237 assertEquals("Key from a preset is invalid in this region", errors.get(0).getMessage()); 238 238 assertEquals("Preset Pedestrian Crossing should not have the key crossing_ref", errors.get(0).getDescription()); 239 239 assertEquals(Severity.WARNING, errors.get(0).getSeverity()); … … 246 246 final List<TestError> errors = test(OsmUtils.createPrimitive("relation type=waterway ref:gnis=123456")); 247 247 assertEquals(1, errors.size()); 248 assertEquals(" Invalid region for this preset", errors.get(0).getMessage());248 assertEquals("Key from a preset is invalid in this region", errors.get(0).getMessage()); 249 249 assertEquals("Preset Waterway should not have the key ref:gnis", errors.get(0).getDescription()); 250 250 assertEquals(Severity.WARNING, errors.get(0).getSeverity());
Note:
See TracChangeset
for help on using the changeset viewer.