Changeset 16006 in josm for trunk/test/performance/org/openstreetmap/josm
- Timestamp:
- 2020-03-03T02:12:44+01:00 (5 years ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/OsmDataGenerator.java
r14093 r16006 18 18 private static final int DEFAULT_KEY_VALUE_RATIO = 3; 19 19 private static final int DEFAULT_NODE_COUNT = 1000; 20 private static final String DATA_DIR = " data_nodist" + File.separator + "osmfiles";20 private static final String DATA_DIR = "nodist/data" + File.separator + "osmfiles"; 21 21 22 22 private OsmDataGenerator() { -
trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRendererPerformanceTestParent.java
r15034 r16006 81 81 StyledMapRenderer.PREFERENCE_TEXT_ANTIALIASING.put("gasp"); 82 82 83 try (InputStream fisR = Files.newInputStream(Paths.get(" data_nodist/restriction.osm"));84 InputStream fisM = Files.newInputStream(Paths.get(" data_nodist/multipolygon.osm"));85 InputStream fisC = Compression.getUncompressedFileInputStream(new File(" data_nodist/neubrandenburg.osm.bz2"));86 InputStream fisO = Compression.getUncompressedFileInputStream(new File(" data_nodist/overpass-download.osm.bz2"));) {83 try (InputStream fisR = Files.newInputStream(Paths.get("nodist/data/restriction.osm")); 84 InputStream fisM = Files.newInputStream(Paths.get("nodist/data/multipolygon.osm")); 85 InputStream fisC = Compression.getUncompressedFileInputStream(new File("nodist/data/neubrandenburg.osm.bz2")); 86 InputStream fisO = Compression.getUncompressedFileInputStream(new File("nodist/data/overpass-download.osm.bz2"));) { 87 87 dsRestriction = OsmReader.parseDataSet(fisR, NullProgressMonitor.INSTANCE); 88 88 dsMultipolygon = OsmReader.parseDataSet(fisM, NullProgressMonitor.INSTANCE); -
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java
r15987 r16006 19 19 import javax.imageio.ImageIO; 20 20 21 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;22 21 import org.junit.AfterClass; 23 22 import org.junit.Assert; … … 49 48 import org.openstreetmap.josm.tools.Logging; 50 49 50 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 51 51 52 /** 52 53 * Performance test of map renderer. … … 152 153 153 154 try ( 154 InputStream fisC = Compression.getUncompressedFileInputStream(new File(" data_nodist/neubrandenburg.osm.bz2"));155 InputStream fisC = Compression.getUncompressedFileInputStream(new File("nodist/data/neubrandenburg.osm.bz2")); 155 156 ) { 156 157 dsCity = OsmReader.parseDataSet(fisC, NullProgressMonitor.INSTANCE); -
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java
r12825 r16006 35 35 * The path to the style file used for rendering. 36 36 */ 37 static final String STYLE_FILE = " styles/standard/elemstyles.mapcss";37 static final String STYLE_FILE = "resources/styles/standard/elemstyles.mapcss"; 38 38 39 39 /** 40 40 * The data file to be rendered 41 41 */ 42 static final String DATA_FILE = " data_nodist/neubrandenburg.osm.bz2";42 static final String DATA_FILE = "nodist/data/neubrandenburg.osm.bz2"; 43 43 /* ------------------------ / configuration section ---------------------------- */ 44 44 -
trunk/test/performance/org/openstreetmap/josm/io/OsmReaderPerformanceTest.java
r10758 r16006 31 31 public class OsmReaderPerformanceTest { 32 32 private static final int TIMES = 4; 33 private static String DATA_FILE = " data_nodist/neubrandenburg.osm.bz2";33 private static String DATA_FILE = "nodist/data/neubrandenburg.osm.bz2"; 34 34 35 35 /**
Note:
See TracChangeset
for help on using the changeset viewer.