Changeset 8509 in josm for trunk/test/functional/org/openstreetmap/josm/io
- Timestamp:
- 2015-06-20T14:36:00+02:00 (10 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r7937 r8509 114 114 * 115 115 * @param ds the data set 116 * @throws OsmTransferException 116 * @throws OsmTransferException if something goes wrong 117 117 */ 118 118 public static void createDataSetOnServer(DataSet ds) throws OsmTransferException { … … 125 125 OsmServerWriter writer = new OsmServerWriter(); 126 126 Changeset cs = new Changeset(); 127 writer.uploadOsm(new UploadStrategySpecification().setStrategy(UploadStrategy.SINGLE_REQUEST_STRATEGY), primitives,cs,NullProgressMonitor.INSTANCE); 127 writer.uploadOsm(new UploadStrategySpecification().setStrategy(UploadStrategy.SINGLE_REQUEST_STRATEGY), 128 primitives, cs, NullProgressMonitor.INSTANCE); 128 129 OsmApi.getOsmApi().closeChangeset(cs, NullProgressMonitor.INSTANCE); 129 130 } … … 135 136 136 137 // don't use atomic upload, the test API server can't cope with large diff uploads 137 //138 138 Main.pref.put("osm-server.atomic-upload", false); 139 139 140 File dataSetCacheOutputFile = new File(System.getProperty("java.io.tmpdir"), MultiFetchServerObjectReaderTest.class.getName() + ".dataset"); 140 File dataSetCacheOutputFile = new File(System.getProperty("java.io.tmpdir"), 141 MultiFetchServerObjectReaderTest.class.getName() + ".dataset"); 141 142 142 143 String p = System.getProperties().getProperty("useCachedDataset"); … … 146 147 } 147 148 148 logger.info(MessageFormat.format("property ''{0}'' not set to true, creating test dataset on the server. property is ''{1}''", "useCachedDataset", p)); 149 logger.info(MessageFormat.format( 150 "property ''{0}'' not set to true, creating test dataset on the server. property is ''{1}''", "useCachedDataset", p)); 149 151 150 152 // build and upload the test data set 151 //152 153 logger.info("creating test data set ...."); 153 154 testDataSet = buildTestDataSet(); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r7937 r8509 129 129 * 130 130 * @param ds the data set 131 * @throws OsmTransferException 131 * @throws OsmTransferException if something goes wrong 132 132 */ 133 133 static public void createDataSetOnServer(APIDataSet ds) throws OsmTransferException, CyclicUploadDependencyException { … … 164 164 } 165 165 166 logger.info(MessageFormat.format("property ''{0}'' not set to true, creating test dataset on the server. property is ''{1}''", "useCachedDataset", p)); 166 logger.info(MessageFormat.format( 167 "property ''{0}'' not set to true, creating test dataset on the server. property is ''{1}''", "useCachedDataset", p)); 167 168 168 169 // build and upload the test data set
Note:
See TracChangeset
for help on using the changeset viewer.