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