Changeset 7065 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2014-05-05T15:54:21+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r7027 r7065 64 64 n2.put("natural", "wood"); 65 65 assertFalse(check.evaluate(n2)); 66 assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selector s.get(0), "The key is {0.key} and the value is {0.value}"),66 assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selector, "The key is {0.key} and the value is {0.value}"), 67 67 is("The key is natural and the value is marsh")); 68 68 } … … 88 88 if (isError != i.getValue()) { 89 89 final String error = MessageFormat.format("Expecting test ''{0}'' (i.e., {1}) to {2} {3} (i.e., {4})", 90 check.getMessage(p), check.rule.selector s, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys());90 check.getMessage(p), check.rule.selector, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys()); 91 91 System.err.println(error); 92 92 assertionErrors.add(error);
Note:
See TracChangeset
for help on using the changeset viewer.