Changeset 1912 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm
- Timestamp:
- 2009-08-05T10:25:23+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/visitor/MergeSourceBuildingVisitorTest.java
r1910 r1912 2 2 package org.openstreetmap.josm.data.osm.visitor; 3 3 4 import static org.junit.Assert.assertEquals;5 import static org.junit.Assert.assertNotNull;6 import static org.junit.Assert.assertNull;7 import static org.junit.Assert.assertTrue;8 9 4 import java.util.Collection; 10 5 6 import org.junit.Ignore; 11 7 import org.junit.Test; 12 8 import org.openstreetmap.josm.data.coor.LatLon; … … 17 13 import org.openstreetmap.josm.data.osm.RelationMember; 18 14 import org.openstreetmap.josm.data.osm.Way; 15 16 import static org.junit.Assert.*; 19 17 20 18 public class MergeSourceBuildingVisitorTest { … … 186 184 Node n = (Node)hull.getPrimitiveById(21); 187 185 assertNotNull(n); 188 assertTrue(w. getNodes().contains(n));186 assertTrue(w.containsNode(n)); 189 187 190 188 n = (Node)hull.getPrimitiveById(22); 191 189 assertNotNull(n); 192 assertTrue(w. getNodes().contains(n));190 assertTrue(w.containsNode(n)); 193 191 194 192 Relation r = (Relation)hull.getPrimitiveById(40); … … 310 308 Node n = (Node)lookupByName(hull.nodes, "n21"); 311 309 assertNotNull(n); 312 assertTrue(w. getNodes().contains(n));310 assertTrue(w.containsNode(n)); 313 311 314 312 n = (Node)lookupByName(hull.nodes, "n22"); 315 313 assertNotNull(n); 316 assertTrue(w. getNodes().contains(n));314 assertTrue(w.containsNode(n)); 317 315 318 316 Relation r = (Relation)lookupByName(hull.relations, "r40");
Note:
See TracChangeset
for help on using the changeset viewer.