Changeset 2396 in josm for trunk/test/functional


Ignore:
Timestamp:
2009-11-07T07:26:15+01:00 (10 years ago)
Author:
Gubaer
Message:

Made nodes, ways, and relations in DataSet private. Plugin updates to be checked in shortly.
Also added setter/getter for DataSet version.

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

Legend:

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

    r2388 r2396  
    4545    protected static DataSet buildTestDataSet() {
    4646        DataSet ds = new DataSet();
    47         ds.version = "0.6";
     47        ds.setVersion("0.6");
    4848
    4949        int numNodes = 1000;
     
    215215        }
    216216        logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString()));
    217         OsmWriter w = new OsmWriter(pw, false, testDataSet.version);
     217        OsmWriter w = new OsmWriter(pw, false, testDataSet.getVersion());
    218218        w.header();
    219219        w.writeDataSources(testDataSet);
  • trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java

    r2381 r2396  
    109109    protected static DataSet buildTestDataSet() {
    110110        DataSet ds = new DataSet();
    111         ds.version = "0.6";
     111        ds.setVersion("0.6");
    112112
    113113        populateTestDataSetWithNodes(ds);
     
    221221        }
    222222        logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString()));
    223         OsmWriter w = new OsmWriter(pw, false, testDataSet.version);
     223        OsmWriter w = new OsmWriter(pw, false, testDataSet.getVersion());
    224224        w.header();
    225225        w.writeDataSources(testDataSet);
Note: See TracChangeset for help on using the changeset viewer.