Ignore:
Timestamp:
2015-12-15T12:20:46+01:00 (8 years ago)
Author:
bastiK
Message:

see #12186 - move projection data files to separate directory

Location:
trunk/test/unit/org/openstreetmap/josm/data/projection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java

    r8509 r9130  
    2222 * Test projections using reference data. (Currently provided by proj.4)
    2323 *
    24  * The data file data_nodist/projection-reference-data.csv can be created like this:
     24 * The data file data_nodist/projection/projection-reference-data.csv can be created like this:
    2525 *      Fist run this file's main method to collect epsg codes and bounds data.
    2626 *      Then pipe the result into test/generate-proj-data.pl.
     
    5050    public void test() throws IOException, FileNotFoundException {
    5151        try (BufferedReader in = new BufferedReader(new InputStreamReader(
    52                 new FileInputStream("data_nodist/projection-reference-data.csv"), StandardCharsets.UTF_8))) {
     52                new FileInputStream("data_nodist/projection/projection-reference-data.csv"), StandardCharsets.UTF_8))) {
    5353            StringBuilder fail = new StringBuilder();
    5454            String line;
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java

    r8793 r9130  
    3535 * This test is used to monitor changes in projection code.
    3636 *
    37  * It keeps a record of test data in the file data_nodist/projection-regression-test-data.csv.
     37 * It keeps a record of test data in the file data_nodist/projection/projection-regression-test-data.
    3838 * This record is generated from the current Projection classes available in JOSM. It needs to
    3939 * be updated, whenever a projection is added / removed or an algorithm is changed, such that
     
    4545public class ProjectionRegressionTest {
    4646
    47     private static final String PROJECTION_DATA_FILE = "data_nodist/projection-regression-test-data.csv";
    48     private static final String PROJECTION_DATA_FILE_JAVA_9 = "data_nodist/projection-regression-test-data-java9.csv";
     47    private static final String PROJECTION_DATA_FILE = "data_nodist/projection/projection-regression-test-data";
     48    private static final String PROJECTION_DATA_FILE_JAVA_9 = "data_nodist/projection/projection-regression-test-data-java9";
    4949
    5050    private static class TestData {
Note: See TracChangeset for help on using the changeset viewer.