Changeset 12728 in josm for trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java
- Timestamp:
- 2017-09-05T01:22:57+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java
r12641 r12728 15 15 import org.openstreetmap.josm.command.SequenceCommand; 16 16 import org.openstreetmap.josm.data.APIDataSet; 17 import org.openstreetmap.josm.data.osm. Node;17 import org.openstreetmap.josm.data.osm.DataSet; 18 18 import org.openstreetmap.josm.data.osm.OsmPrimitive; 19 19 import org.openstreetmap.josm.data.osm.Relation; … … 46 46 assertTrue(MainApplication.undoRedo.commands.isEmpty()); 47 47 48 // Complete data set 49 Node emptyNode = new Node(); 48 // Complete data set (except empty which cannot be tested anymore) 50 49 Way emptyWay = new Way(); 51 50 Relation emptyRelation = new Relation(); … … 75 74 r2.put(" space_both ", "test"); 76 75 APIDataSet ads = new APIDataSet(); 77 ads.init( Arrays.asList(emptyNode,emptyWay, emptyRelation, w1, w2, w3, w4, w5, w6, w7, r1, r2));76 ads.init(new DataSet(emptyWay, emptyRelation, w1, w2, w3, w4, w5, w6, w7, r1, r2)); 78 77 79 78 MainApplication.undoRedo.commands.clear();
Note:
See TracChangeset
for help on using the changeset viewer.