Changeset 15979 in josm for trunk/test
- Timestamp:
- 2020-03-01T23:35:47+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r15959 r15979 185 185 Set<String> assertionErrors = new LinkedHashSet<>(); 186 186 for (Set<TagCheck> schecks : c.checks.values()) { 187 assertionErrors.addAll( c.checkAsserts(schecks));187 assertionErrors.addAll(MapCSSTagCheckerAsserts.checkAsserts(schecks)); 188 188 } 189 189 for (String msg : assertionErrors) { … … 205 205 " assertNoMatch: \"node amenity=restaurant\";\n" + 206 206 "}"); 207 Set<String> errors = test.checkAsserts(test.checks.get("test"));207 Set<String> errors = MapCSSTagCheckerAsserts.checkAsserts(test.checks.get("test")); 208 208 assertTrue(errors.toString(), errors.isEmpty()); 209 209 } … … 221 221 " assertNoMatch: \"way name=Hauptstrasse\";\n" + 222 222 "}"); 223 Set<String> errors = test.checkAsserts(test.checks.get("test"));223 Set<String> errors = MapCSSTagCheckerAsserts.checkAsserts(test.checks.get("test")); 224 224 assertTrue(errors.toString(), errors.isEmpty()); 225 225 }
Note:
See TracChangeset
for help on using the changeset viewer.