Changeset 17625 in josm
- Timestamp:
- 2021-03-21T15:45:32+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/mappaint/StyleCacheTest.java
r17615 r17625 9 9 import java.awt.Graphics2D; 10 10 import java.awt.image.BufferedImage; 11 import java.io.File; 12 import java.io.InputStream; 11 13 import java.util.IdentityHashMap; 12 14 … … 16 18 import org.junit.jupiter.api.Test; 17 19 import org.junit.jupiter.api.extension.RegisterExtension; 18 import org.openstreetmap.josm.PerformanceTestUtils;19 20 import org.openstreetmap.josm.data.Bounds; 20 21 import org.openstreetmap.josm.data.osm.DataSet; … … 25 26 import org.openstreetmap.josm.gui.MapView; 26 27 import org.openstreetmap.josm.gui.NavigatableComponent; 28 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 29 import org.openstreetmap.josm.io.Compression; 30 import org.openstreetmap.josm.io.OsmReader; 27 31 import org.openstreetmap.josm.testutils.JOSMTestRules; 28 32 import org.openstreetmap.josm.tools.Pair; … … 58 62 public static void load() throws Exception { 59 63 img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_INT_ARGB); 60 dsCity = PerformanceTestUtils.getNeubrandenburgDataSet(); 64 try (InputStream in = Compression.getUncompressedFileInputStream(new File("nodist/data/neubrandenburg.osm.bz2"))) { 65 dsCity = OsmReader.parseDataSet(in, NullProgressMonitor.INSTANCE); 66 } 61 67 dsCity2 = new DataSet(dsCity); 62 68 }
Note:
See TracChangeset
for help on using the changeset viewer.