Changeset 3034 in josm for trunk/test/functional/org/openstreetmap
- Timestamp:
- 2010-02-23T08:58:12+01:00 (15 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergerTest.java
r2041 r3034 6 6 import javax.swing.JFrame; 7 7 8 import org.openstreetmap.josm.data.conflict.Conflict; 8 9 import org.openstreetmap.josm.data.osm.Node; 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 11 import org.openstreetmap.josm.data.osm.Way; 10 import org.openstreetmap.josm.gui.conflict.pair.nodes.NodeListMerger;11 12 12 13 public class NodeListMergerTest extends JFrame { … … 35 36 w2.addNode(new Node(6)); 36 37 37 nodeListMerger.populate( w1, w2);38 nodeListMerger.populate(new Conflict<OsmPrimitive>(w1, w2)); 38 39 39 40 } … … 49 50 w2.addNode(new Node(i)); 50 51 } 51 nodeListMerger.populate( w1, w2);52 nodeListMerger.populate(new Conflict<OsmPrimitive>(w1, w2)); 52 53 53 54 } -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergerTest.java
r2077 r3034 7 7 8 8 import org.openstreetmap.josm.Main; 9 import org.openstreetmap.josm.data.conflict.Conflict; 9 10 import org.openstreetmap.josm.data.coor.LatLon; 10 11 import org.openstreetmap.josm.data.osm.Node; 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 13 import org.openstreetmap.josm.data.projection.Epsg4326; 12 import org.openstreetmap.josm.gui.conflict.pair.properties.PropertiesMerger;13 14 14 15 public class PropertiesMergerTest extends JFrame{ … … 31 32 their.setCoor(new LatLon(10,10)); 32 33 33 merger.getModel().populate( my, their);34 merger.getModel().populate(new Conflict<OsmPrimitive>(my, their)); 34 35 } 35 36 -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/relation/RelationMemberMergerTest.java
r2041 r3034 6 6 import javax.swing.JFrame; 7 7 8 import org.openstreetmap.josm.data.conflict.Conflict; 8 9 import org.openstreetmap.josm.data.osm.Node; 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 11 import org.openstreetmap.josm.data.osm.Relation; 10 12 import org.openstreetmap.josm.data.osm.RelationMember; 11 13 import org.openstreetmap.josm.data.osm.Way; 12 import org.openstreetmap.josm.gui.conflict.pair.relation.RelationMemberMerger;13 14 14 15 public class RelationMemberMergerTest extends JFrame { … … 28 29 r2.addMember(new RelationMember("role3", new Relation(3))); 29 30 30 merger.populate( r1, r2);31 merger.populate(new Conflict<OsmPrimitive>(r1, r2)); 31 32 32 33 } -
trunk/test/functional/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialogTest.java
r1912 r3034 4 4 import javax.swing.JFrame; 5 5 6 import org.openstreetmap.josm.data.conflict.Conflict; 6 7 import org.openstreetmap.josm.data.osm.Node; 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; 7 9 import org.openstreetmap.josm.data.osm.Way; 8 10 … … 27 29 w2.addNode(new Node(11)); 28 30 29 dialog.getConflictResolver().populate( w1, w2);31 dialog.getConflictResolver().populate(new Conflict<OsmPrimitive>(w1, w2)); 30 32 } 31 33
Note:
See TracChangeset
for help on using the changeset viewer.