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


Ignore:
Timestamp:
2014-03-30T01:11:39+01:00 (11 years ago)
Author:
Don-vip
Message:

see #9667 - fix unit test

File:
1 edited

Legend:

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

    r6881 r6949  
    7575        LinkedHashSet<String> assertionErrors = new LinkedHashSet<String>();
    7676        for (final MapCSSTagChecker.TagCheck check : c.checks) {
     77            System.out.println("Check: "+check);
    7778            for (final Map.Entry<String, Boolean> i : check.assertions.entrySet()) {
     79                System.out.println("- Assertion: "+i);
    7880                final OsmPrimitive p = TestUtils.createPrimitive(i.getKey());
    7981                final boolean isError = Utils.exists(c.getErrorsForPrimitive(p, true), new Predicate<TestError>() {
     
    9395        }
    9496        assertTrue("not all assertions included in the tests are met", assertionErrors.isEmpty());
    95 
    9697    }
    9798}
Note: See TracChangeset for help on using the changeset viewer.