Ignore:
Timestamp:
2020-03-03T02:12:44+01:00 (5 years ago)
Author:
Don-vip
Message:

see #18140 - reorganization of data(_nodist), images(_nodist), styles(_nodist), IDE and native files in a more practical file tree.

  • Everything belonging to the jar is now in resources (data, images, styles)
  • Everything not belonging to the jar is now in nodist (data, images, styles)
  • Everything related to OS native functions is now in native (linux, macosx, windows)
  • Everything related to an IDE is now in ide (eclipse, netbeans)
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  
    1818    private static final int DEFAULT_KEY_VALUE_RATIO = 3;
    1919    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";
    2121
    2222    private OsmDataGenerator() {
  • trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRendererPerformanceTestParent.java

    r15034 r16006  
    8181        StyledMapRenderer.PREFERENCE_TEXT_ANTIALIASING.put("gasp");
    8282
    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"));) {
    8787            dsRestriction = OsmReader.parseDataSet(fisR, NullProgressMonitor.INSTANCE);
    8888            dsMultipolygon = OsmReader.parseDataSet(fisM, NullProgressMonitor.INSTANCE);
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r15987 r16006  
    1919import javax.imageio.ImageIO;
    2020
    21 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2221import org.junit.AfterClass;
    2322import org.junit.Assert;
     
    4948import org.openstreetmap.josm.tools.Logging;
    5049
     50import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     51
    5152/**
    5253 * Performance test of map renderer.
     
    152153
    153154        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"));
    155156        ) {
    156157            dsCity = OsmReader.parseDataSet(fisC, NullProgressMonitor.INSTANCE);
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java

    r12825 r16006  
    3535     * The path to the style file used for rendering.
    3636     */
    37     static final String STYLE_FILE = "styles/standard/elemstyles.mapcss";
     37    static final String STYLE_FILE = "resources/styles/standard/elemstyles.mapcss";
    3838
    3939    /**
    4040     * The data file to be rendered
    4141     */
    42     static final String DATA_FILE = "data_nodist/neubrandenburg.osm.bz2";
     42    static final String DATA_FILE = "nodist/data/neubrandenburg.osm.bz2";
    4343    /* ------------------------ / configuration section  ---------------------------- */
    4444
  • trunk/test/performance/org/openstreetmap/josm/io/OsmReaderPerformanceTest.java

    r10758 r16006  
    3131public class OsmReaderPerformanceTest {
    3232    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";
    3434
    3535    /**
Note: See TracChangeset for help on using the changeset viewer.