Ignore:
Timestamp:
2014-05-07T23:21:47+02:00 (11 years ago)
Author:
bastiK
Message:

see #9691 - really fix broken MapCSSTagChecker unit test

File:
1 edited

Legend:

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

    r7068 r7073  
    6464        n2.put("natural", "wood");
    6565        assertFalse(check.evaluate(n2));
    66         assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selector, "The key is {0.key} and the value is {0.value}"),
     66        assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selectors.get(0), "The key is {0.key} and the value is {0.value}"),
    6767                is("The key is natural and the value is marsh"));
    6868    }
     
    8888                if (isError != i.getValue()) {
    8989                    final String error = MessageFormat.format("Expecting test ''{0}'' (i.e., {1}) to {2} {3} (i.e., {4})",
    90                             check.getMessage(p), check.rule.selector, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys());
     90                            check.getMessage(p), check.rule.selectors, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys());
    9191                    System.err.println(error);
    9292                    assertionErrors.add(error);
Note: See TracChangeset for help on using the changeset viewer.