Changeset 15979 in josm for trunk/test


Ignore:
Timestamp:
2020-03-01T23:35:47+01:00 (5 years ago)
Author:
simon04
Message:

see #18802 - Extract MapCSSTagCheckerAsserts class

File:
1 edited

Legend:

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

    r15959 r15979  
    185185        Set<String> assertionErrors = new LinkedHashSet<>();
    186186        for (Set<TagCheck> schecks : c.checks.values()) {
    187             assertionErrors.addAll(c.checkAsserts(schecks));
     187            assertionErrors.addAll(MapCSSTagCheckerAsserts.checkAsserts(schecks));
    188188        }
    189189        for (String msg : assertionErrors) {
     
    205205                "  assertNoMatch: \"node amenity=restaurant\";\n" +
    206206                "}");
    207         Set<String> errors = test.checkAsserts(test.checks.get("test"));
     207        Set<String> errors = MapCSSTagCheckerAsserts.checkAsserts(test.checks.get("test"));
    208208        assertTrue(errors.toString(), errors.isEmpty());
    209209    }
     
    221221                "  assertNoMatch: \"way name=Hauptstrasse\";\n" +
    222222                "}");
    223         Set<String> errors = test.checkAsserts(test.checks.get("test"));
     223        Set<String> errors = MapCSSTagCheckerAsserts.checkAsserts(test.checks.get("test"));
    224224        assertTrue(errors.toString(), errors.isEmpty());
    225225    }
Note: See TracChangeset for help on using the changeset viewer.