Changeset 32351 in osm for applications/editors/josm/plugins/ElevationProfile/test
- Timestamp:
- 2016-06-21T00:47:41+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/HgtReaderTest.java
r30558 r32351 9 9 import java.nio.file.Paths; 10 10 11 import junit.framework.TestCase; 12 13 import org.openstreetmap.josm.JOSMFixture; 11 import org.junit.Rule; 14 12 import org.openstreetmap.josm.TestUtils; 15 13 import org.openstreetmap.josm.data.coor.LatLon; 16 14 import org.openstreetmap.josm.plugins.elevation.HgtReader; 15 import org.openstreetmap.josm.testutils.JOSMTestRules; 16 17 import junit.framework.TestCase; 17 18 18 19 public class HgtReaderTest extends TestCase { 20 21 @Rule 22 public JOSMTestRules rules = new JOSMTestRules().preferences(); 19 23 20 24 /** … … 24 28 @Override 25 29 public void setUp() throws IOException { 26 JOSMFixture.createUnitTestFixture().init();27 30 // Install SRTM files to plugin directory 28 31 try (DirectoryStream<Path> stream = Files.newDirectoryStream(Paths.get(TestUtils.getTestDataRoot()), "*.hgt")) {
Note:
See TracChangeset
for help on using the changeset viewer.