Changeset 12730 in josm
- Timestamp:
- 2017-09-05T01:30:13+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/data/osm/TaginfoTestIT.java
r10758 r12730 18 18 import org.junit.Test; 19 19 import org.openstreetmap.josm.JOSMFixture; 20 import org.openstreetmap.josm.data.coor.LatLon; 20 21 import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker; 21 22 import org.openstreetmap.josm.data.validation.tests.TagChecker; … … 65 66 if (!TagChecker.isTagInPresets(key, value)) { 66 67 // If not, check if we have either a deprecated mapcss test for it 67 Node n = new Node( );68 Node n = new Node(LatLon.NORTH_POLE); 68 69 Way w = new Way(); 69 70 Relation r = new Relation(); … … 71 72 w.put(key, value); 72 73 r.put(key, value); 74 new DataSet(n, w, r); 73 75 if (mapCssTagChecker.getErrorsForPrimitive(n, false).isEmpty() 74 76 && mapCssTagChecker.getErrorsForPrimitive(w, false).isEmpty()
Note:
See TracChangeset
for help on using the changeset viewer.