Changeset 6471 in josm for trunk/test/unit/org/openstreetmap/josm/tools
- Timestamp:
- 2013-12-11T00:51:08+01:00 (10 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/TextTagParserTest.java
r5756 r6471 15 15 @BeforeClass 16 16 public static void before() { 17 Main. pref = newPreferences();17 Main.initApplicationPreferences(); 18 18 } 19 19 -
trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
r6421 r6471 74 74 @Test 75 75 public void testOpenUrlGzip() throws Exception { 76 Main. pref = newPreferences();76 Main.initApplicationPreferences(); 77 77 final BufferedReader x = Utils.openURLReaderAndDecompress(new URL("http://www.openstreetmap.org/trace/1613906/data"), true); 78 78 Assert.assertTrue(x.readLine().startsWith("<?xml version=")); … … 82 82 @Test 83 83 public void testOpenUrlBzip() throws Exception { 84 Main. pref = newPreferences();84 Main.initApplicationPreferences(); 85 85 final BufferedReader x = Utils.openURLReaderAndDecompress(new URL("http://www.openstreetmap.org/trace/785544/data"), true); 86 86 Assert.assertTrue(x.readLine().startsWith("<?xml version=")); -
trunk/test/unit/org/openstreetmap/josm/tools/template_engine/TemplateEngineTest.java
r6289 r6471 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.tools.template_engine; 3 4 3 5 4 import java.util.Arrays; … … 12 11 import org.openstreetmap.josm.actions.search.SearchCompiler; 13 12 import org.openstreetmap.josm.actions.search.SearchCompiler.Match; 14 import org.openstreetmap.josm.data.Preferences;15 13 import org.openstreetmap.josm.data.osm.DatasetFactory; 16 14 import org.openstreetmap.josm.data.osm.Node; … … 23 21 @BeforeClass 24 22 public static void before() { 25 Main. pref = newPreferences();23 Main.initApplicationPreferences(); 26 24 } 27 25
Note:
See TracChangeset
for help on using the changeset viewer.