Changeset 7093 in josm for trunk/test/performance/org


Ignore:
Timestamp:
2014-05-10T12:14:50+02:00 (10 years ago)
Author:
bastiK
Message:

replace current mappaint performance test file by a larger one (but smaller file size due to zipping) (see #9691)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java

    r7077 r7093  
    66import java.io.FileInputStream;
    77import java.io.InputStream;
     8import java.io.File;
    89
    910import org.junit.BeforeClass;
     
    1718import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    1819import org.openstreetmap.josm.io.OsmReader;
     20import org.openstreetmap.josm.io.Compression;
    1921
    2022public class StyledMapRendererPerformanceTest {
     
    4547            InputStream fisR = new FileInputStream("data_nodist/restriction.osm");
    4648            InputStream fisM = new FileInputStream("data_nodist/multipolygon.osm");
    47             InputStream fisC = new FileInputStream("data_nodist/neubrandenburg.osm");
     49            InputStream fisC = Compression.getUncompressedFileInputStream(new File("data_nodist/neubrandenburg.osm.bz2"));
    4850        ) {
    4951            dsRestriction = OsmReader.parseDataSet(fisR, NullProgressMonitor.INSTANCE);
Note: See TracChangeset for help on using the changeset viewer.