Changeset 7073 in josm for trunk/test/unit/org
- Timestamp:
- 2014-05-07T23:21:47+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r7068 r7073 64 64 n2.put("natural", "wood"); 65 65 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}"), 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 , 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()); 91 91 System.err.println(error); 92 92 assertionErrors.add(error);
Note:
See TracChangeset
for help on using the changeset viewer.