Changeset 8509 in josm for trunk/test/functional
- Timestamp:
- 2015-06-20T14:36:00+02:00 (9 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergerTest.java
r7937 r8509 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.conflict.pair.tags; 3 4 import org.junit.Ignore;5 3 6 4 import java.awt.BorderLayout; 7 5 8 6 import javax.swing.JFrame; 7 8 import org.junit.Ignore; 9 9 10 10 @Ignore … … 27 27 tagMerger.getModel().addItem(new TagMergeItem("key", "myvalue", null)); 28 28 tagMerger.getModel().addItem(new TagMergeItem("key", null, "theirvalue")); 29 tagMerger.getModel().addItem(new TagMergeItem("a very long key asdfasdf asdfasdf", "a very long value asdfasdf", "a very long value asdfasdf")); 29 tagMerger.getModel().addItem(new TagMergeItem("a very long key asdfasdf asdfasdf", "a very long value asdfasdf", 30 "a very long value asdfasdf")); 30 31 for (int i=0; i< 50; i++) { 31 32 tagMerger.getModel().addItem(new TagMergeItem("key", "myvalue", "theirvalue")); -
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.