Changeset 33518 in osm for applications/editors/josm/plugins/opendata/test/unit/org
- Timestamp:
- 2017-08-25T22:50:43+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/test/unit/org/openstreetmap/josm/plugins/opendata/core/io/archive/ZipReaderTest.java
r33156 r33518 10 10 import org.junit.Rule; 11 11 import org.junit.Test; 12 import org.openstreetmap.josm.Main;13 12 import org.openstreetmap.josm.data.osm.DataSet; 14 13 import org.openstreetmap.josm.plugins.opendata.core.io.NonRegFunctionalTests; 15 14 import org.openstreetmap.josm.testutils.JOSMTestRules; 15 import org.openstreetmap.josm.tools.Logging; 16 16 17 17 /** … … 34 34 for (Path p : NonRegFunctionalTests.listDataFiles("zip")) { 35 35 File zipfile = p.toFile(); 36 Main.info("Testing reading file "+zipfile.getPath());36 Logging.info("Testing reading file "+zipfile.getPath()); 37 37 try (InputStream is = new FileInputStream(zipfile)) { 38 38 for (Entry<File, DataSet> entry : ZipReader.parseDataSets(is, null, null, false).entrySet()) { 39 39 String name = entry.getKey().getName(); 40 Main.info("Checking dataset for entry "+name);40 Logging.info("Checking dataset for entry "+name); 41 41 NonRegFunctionalTests.testGeneric(zipfile.getName()+"/"+name, entry.getValue()); 42 42 }
Note:
See TracChangeset
for help on using the changeset viewer.