Changeset 1912 in josm for trunk/test
- Timestamp:
- 2009-08-05T10:25:23+02:00 (15 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialogTest.java
r1910 r1912 20 20 protected void populate() { 21 21 Way w1 = new Way(1); 22 23 22 w1.addNode(new Node(10)); 23 w1.addNode(new Node(11)); 24 24 25 25 Way w2 = new Way(1); 26 27 26 w2.addNode(new Node(10)); 27 w2.addNode(new Node(11)); 28 28 29 dialog.getConflictResolver().populate(w1, w2);29 dialog.getConflictResolver().populate(w1, w2); 30 30 } 31 31 -
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.