Changeset 6534 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2013-12-26T01:43:30+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r6513 r6534 43 43 final MapCSSTagChecker.TagCheck check = checks.get(0); 44 44 assertThat(check, notNullValue()); 45 assertThat(check.change.get(0) , is(new Tag("natural")));46 assertThat(check.change.get(1) , is(new Tag("natural", "wetland")));47 assertThat(check.change.get(2) , is(new Tag("wetland", "marsh")));45 assertThat(check.change.get(0).apply(null), is(new Tag("natural"))); 46 assertThat(check.change.get(1).apply(null), is(new Tag("natural", "wetland"))); 47 assertThat(check.change.get(2).apply(null), is(new Tag("wetland", "marsh"))); 48 48 assertThat(check.errors.keySet().iterator().next(), is("natural=marsh is deprecated")); 49 49 final Node n1 = new Node();
Note:
See TracChangeset
for help on using the changeset viewer.