Changeset 11060 in josm for trunk/test
- Timestamp:
- 2016-09-27T19:18:02+02:00 (8 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r10937 r11060 42 42 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; 43 43 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 44 import org.openstreetmap.josm.tools.Logging; 44 45 45 46 /** … … 165 166 Main.pref.put("osm-server.atomic-upload", false); 166 167 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 167 Main.logLevel = 4;168 Logging.setLogLevel(Logging.LEVEL_DEBUG); 168 169 169 170 File dataSetCacheOutputFile = new File(System.getProperty("java.io.tmpdir"), -
trunk/test/unit/org/openstreetmap/josm/data/oauth/OAuthParametersTest.java
r10945 r11060 11 11 import org.openstreetmap.josm.io.OsmApi; 12 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 13 import org.openstreetmap.josm.tools.Logging; 13 14 14 15 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 39 40 assertNotNull(dev); 40 41 assertNotEquals(def, dev); 41 Main.logLevel = 5; // enable trace for line coverage42 Logging.setLogLevel(Logging.LEVEL_TRACE); // enable trace for line coverage 42 43 assertEquals(def, OAuthParameters.createDefault("wrong_url")); 43 44 OAuthParameters dev2 = new OAuthParameters(dev);
Note:
See TracChangeset
for help on using the changeset viewer.