Changeset 17615 in josm for trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss
- Timestamp:
- 2021-03-21T13:56:13+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java
r17275 r17615 13 13 import org.junit.jupiter.api.BeforeAll; 14 14 import org.openstreetmap.josm.JOSMFixture; 15 import org.openstreetmap.josm.PerformanceTestUtils; 15 16 import org.openstreetmap.josm.data.Bounds; 16 17 import org.openstreetmap.josm.data.osm.DataSet; … … 20 21 import org.openstreetmap.josm.gui.NavigatableComponent; 21 22 import org.openstreetmap.josm.gui.mappaint.MapRendererPerformanceTest; 22 import org.openstreetmap.josm.io.Compression;23 23 import org.openstreetmap.josm.io.IllegalDataException; 24 import org.openstreetmap.josm.io.OsmReader;25 24 26 25 /** … … 37 36 static final String STYLE_FILE = "resources/styles/standard/elemstyles.mapcss"; 38 37 39 /**40 * The data file to be rendered41 */42 static final String DATA_FILE = "nodist/data/neubrandenburg.osm.bz2";43 38 /* ------------------------ / configuration section ---------------------------- */ 44 39 … … 89 84 90 85 void loadData() throws IllegalDataException, IOException { 91 System.out.print("Loading data file '"+DATA_FILE+"' ..."); 92 ds = OsmReader.parseDataSet(Compression.getUncompressedFileInputStream(new File(DATA_FILE)), null);86 System.out.print("Loading data file '"+PerformanceTestUtils.DATA_FILE+"' ..."); 87 ds = PerformanceTestUtils.getNeubrandenburgDataSet(); 93 88 System.out.println("DONE"); 94 89 } … … 116 111 ); 117 112 System.out.println("DONE"); 118 System.out.println("data file : "+DATA_FILE); 113 System.out.println("data file : "+PerformanceTestUtils.DATA_FILE); 119 114 System.out.println("style file: "+STYLE_FILE); 120 115 System.out.println("");
Note:
See TracChangeset
for help on using the changeset viewer.
