Changeset 13907 in josm for trunk/test


Ignore:
Timestamp:
2018-06-10T21:05:01+02:00 (13 months ago)
Author:
Don-vip
Message:

add IWay.setNodes()

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/command/AddPrimitivesCommandTest.java

    r13079 r13907  
    268268        WayData way = new WayData();
    269269        way.put("test", "test");
    270         way.setNodes(Arrays.asList(node1.getId(), node2.getId()));
     270        way.setNodeIds(Arrays.asList(node1.getId(), node2.getId()));
    271271        List<PrimitiveData> testData = Arrays.<PrimitiveData>asList(node1, node2, way);
    272272        return testData;
  • trunk/test/unit/org/openstreetmap/josm/data/osm/WayDataTest.java

    r11324 r13907  
    1919    public void testSerializationForDragAndDrop() throws Exception {
    2020        final WayData data = new WayData();
    21         data.setNodes(Arrays.asList(1415L, 9265L, 3589L, 7932L, 3846L));
     21        data.setNodeIds(Arrays.asList(1415L, 9265L, 3589L, 7932L, 3846L));
    2222        data.setId(314);
    2323        data.setVersion(14);
Note: See TracChangeset for help on using the changeset viewer.