Changeset 2199 in josm


Ignore:
Timestamp:
2009-09-27T16:29:58+02:00 (10 years ago)
Author:
Gubaer
Message:

Updated test cases

Location:
trunk/test/functional/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java

    r2149 r2199  
    2525import org.openstreetmap.josm.Main;
    2626import org.openstreetmap.josm.data.coor.LatLon;
     27import org.openstreetmap.josm.data.osm.Changeset;
    2728import org.openstreetmap.josm.data.osm.DataSet;
    2829import org.openstreetmap.josm.data.osm.Node;
     
    128129
    129130        OsmServerWriter writer = new OsmServerWriter();
    130         writer.uploadOsm("0.6", primitives,null, true,NullProgressMonitor.INSTANCE);
     131        Changeset cs = new Changeset();
     132        writer.uploadOsm("0.6", primitives,cs,NullProgressMonitor.INSTANCE);
     133        OsmApi.getOsmApi().closeChangeset(cs, NullProgressMonitor.INSTANCE);
    131134    }
    132135
  • trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java

    r2149 r2199  
    2424import org.openstreetmap.josm.Main;
    2525import org.openstreetmap.josm.data.coor.LatLon;
     26import org.openstreetmap.josm.data.osm.Changeset;
    2627import org.openstreetmap.josm.data.osm.DataSet;
    2728import org.openstreetmap.josm.data.osm.Node;
     
    130131        primitives.addAll(ds.relations);
    131132        OsmServerWriter writer = new OsmServerWriter();
    132         writer.uploadOsm("0.6", primitives, null, true, NullProgressMonitor.INSTANCE);
     133        Changeset cs  = new Changeset();
     134        writer.uploadOsm("0.6", primitives, cs, NullProgressMonitor.INSTANCE);
     135        OsmApi.getOsmApi().closeChangeset(cs, NullProgressMonitor.INSTANCE);
    133136    }
    134137
Note: See TracChangeset for help on using the changeset viewer.