Changeset 14120 in josm for trunk/test/functional/org
- Timestamp:
- 2018-08-11T17:29:48+02:00 (6 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/properties/PropertiesMergerTestFT.java
r9546 r14120 6 6 import javax.swing.JFrame; 7 7 8 import org.openstreetmap.josm.Main;9 8 import org.openstreetmap.josm.data.conflict.Conflict; 10 9 import org.openstreetmap.josm.data.coor.LatLon; 11 10 import org.openstreetmap.josm.data.osm.Node; 12 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 13 13 import org.openstreetmap.josm.data.projection.Projections; 14 14 … … 18 18 19 19 protected void build() { 20 Main.setProjection(Projections.getProjectionByCode("EPSG:4326")); // WGS 8420 ProjectionRegistry.setProjection(Projections.getProjectionByCode("EPSG:4326")); // WGS 84 21 21 22 22 setLayout(new BorderLayout()); -
trunk/test/functional/org/openstreetmap/josm/gui/mappaint/MapCSSRendererTest.java
r12996 r14120 31 31 import org.junit.runners.Parameterized; 32 32 import org.junit.runners.Parameterized.Parameters; 33 import org.openstreetmap.josm.Main;34 33 import org.openstreetmap.josm.TestUtils; 35 34 import org.openstreetmap.josm.data.Bounds; … … 38 37 import org.openstreetmap.josm.data.osm.OsmPrimitive; 39 38 import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer; 39 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 40 40 import org.openstreetmap.josm.io.IllegalDataException; 41 41 import org.openstreetmap.josm.io.OsmReader; … … 183 183 184 184 ProjectionBounds pb = new ProjectionBounds(); 185 pb.extend( Main.getProjection().latlon2eastNorth(testConfig.getTestArea().getMin()));186 pb.extend( Main.getProjection().latlon2eastNorth(testConfig.getTestArea().getMax()));185 pb.extend(ProjectionRegistry.getProjection().latlon2eastNorth(testConfig.getTestArea().getMin())); 186 pb.extend(ProjectionRegistry.getProjection().latlon2eastNorth(testConfig.getTestArea().getMax())); 187 187 double scale = (pb.maxEast - pb.minEast) / testConfig.imageWidth; 188 188 -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r12850 r14120 26 26 import org.junit.Test; 27 27 import org.openstreetmap.josm.JOSMFixture; 28 import org.openstreetmap.josm.Main;29 28 import org.openstreetmap.josm.data.APIDataSet; 30 29 import org.openstreetmap.josm.data.coor.LatLon; … … 38 37 import org.openstreetmap.josm.data.osm.RelationMember; 39 38 import org.openstreetmap.josm.data.osm.Way; 39 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 40 40 import org.openstreetmap.josm.data.projection.Projections; 41 41 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; … … 167 167 // 168 168 Config.getPref().putBoolean("osm-server.atomic-upload", false); 169 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator169 ProjectionRegistry.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 170 170 Logging.setLogLevel(Logging.LEVEL_DEBUG); 171 171
Note:
See TracChangeset
for help on using the changeset viewer.