Changeset 5556 in josm for trunk/test/functional/org
- Timestamp:
- 2012-11-03T18:32:39+01:00 (12 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/fixtures/JOSMFixture.java
r4126 r5556 12 12 import org.openstreetmap.josm.Main; 13 13 import org.openstreetmap.josm.data.Preferences; 14 import org.openstreetmap.josm.data.projection. Mercator;14 import org.openstreetmap.josm.data.projection.Projections; 15 15 import org.openstreetmap.josm.io.OsmApi; 16 16 import org.openstreetmap.josm.tools.I18n; … … 68 68 69 69 // init projection 70 Main.setProjection( new Mercator());70 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 71 71 72 72 // make sure we don't upload to or test against production -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergerTest.java
r4126 r5556 11 11 import org.openstreetmap.josm.data.osm.Node; 12 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 import org.openstreetmap.josm.data.projection. Epsg4326;13 import org.openstreetmap.josm.data.projection.Projections; 14 14 15 15 public class PropertiesMergerTest extends JFrame{ … … 18 18 19 19 protected void build() { 20 Main.setProjection( new Epsg4326());20 Main.setProjection(Projections.getProjectionByCode("EPSG:4326")); // WGS 84 21 21 22 22 setLayout(new BorderLayout()); -
trunk/test/functional/org/openstreetmap/josm/gui/history/HistoryBrowserTest.java
r4126 r5556 19 19 import org.openstreetmap.josm.data.osm.history.History; 20 20 import org.openstreetmap.josm.data.osm.history.HistoryDataSet; 21 import org.openstreetmap.josm.data.projection. Mercator;21 import org.openstreetmap.josm.data.projection.Projections; 22 22 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 23 23 import org.openstreetmap.josm.io.OsmServerHistoryReader; … … 58 58 59 59 // init projection 60 Main.setProjection( new Mercator());60 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 61 61 } 62 62 -
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r4126 r5556 31 31 import org.openstreetmap.josm.data.osm.RelationMember; 32 32 import org.openstreetmap.josm.data.osm.Way; 33 import org.openstreetmap.josm.data.projection. Mercator;33 import org.openstreetmap.josm.data.projection.Projections; 34 34 import org.openstreetmap.josm.gui.io.UploadStrategy; 35 35 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; … … 176 176 // 177 177 Main.pref.put("osm-server.atomic-upload", false); 178 Main.setProjection( new Mercator());178 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 179 179 180 180 File dataSetCacheOutputFile = new File(tempOutputDir, MultiFetchServerObjectReaderTest.class.getName() + ".dataset"); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r4126 r5556 32 32 import org.openstreetmap.josm.data.osm.RelationMember; 33 33 import org.openstreetmap.josm.data.osm.Way; 34 import org.openstreetmap.josm.data.projection. Mercator;34 import org.openstreetmap.josm.data.projection.Projections; 35 35 import org.openstreetmap.josm.gui.io.UploadStrategy; 36 36 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; … … 183 183 // 184 184 Main.pref.put("osm-server.atomic-upload", false); 185 Main.setProjection( new Mercator());185 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 186 186 187 187 File dataSetCacheOutputFile = new File(tempOutputDir, MultiFetchServerObjectReaderTest.class.getName() + ".dataset");
Note:
See TracChangeset
for help on using the changeset viewer.