Changeset 3459 in josm for trunk/test/unit
- Timestamp:
- 2010-08-23T21:12:50+02:00 (14 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/osm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java
r3362 r3459 607 607 */ 608 608 @Test 609 public void waySimple_TheirVersionNotVisible () {609 public void waySimple_TheirVersionNotVisibleMyIsModified() { 610 610 611 611 … … 622 622 myWay.addNode(mn1); 623 623 myWay.addNode(mn2); 624 myWay.setModified(true); 624 625 my.addPrimitive(myWay); 625 626 -
trunk/test/unit/org/openstreetmap/josm/data/osm/FilterTest.java
r3402 r3459 17 17 import org.openstreetmap.josm.actions.search.SearchAction.SearchMode; 18 18 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError; 19 import org.openstreetmap.josm.data.coor.LatLon; 19 20 import org.openstreetmap.josm.data.projection.Mercator; 20 21 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; … … 32 33 public void basic_test() throws ParseError { 33 34 DataSet ds = new DataSet(); 34 Node n1 = new Node( );35 Node n1 = new Node(new LatLon(0, 0)); 35 36 n1.put("amenity", "parking"); 36 Node n2 = new Node( );37 Node n2 = new Node(new LatLon(0, 0)); 37 38 n2.put("fixme", "continue"); 38 39 ds.addPrimitive(n1); -
trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveTest.java
r3283 r3459 70 70 @Test 71 71 public void removeMemberFromRelationReferrerTest() { 72 Node n1 = new Node( );72 Node n1 = new Node(new LatLon(0, 0)); 73 73 Relation r1 = new Relation(); 74 74 r1.addMember(new RelationMember("", n1)); … … 82 82 @Test 83 83 public void setRelationMemberReferrerTest() { 84 Node n1 = new Node( );85 Node n2 = new Node( );84 Node n1 = new Node(new LatLon(0, 0)); 85 Node n2 = new Node(new LatLon(0, 0)); 86 86 Relation r1 = new Relation(); 87 87 Relation r2 = new Relation();
Note:
See TracChangeset
for help on using the changeset viewer.