Ignore:
Timestamp:
2020-03-03T02:12:44+01:00 (4 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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/ExifReaderTest.java

    r15672 r16006  
    4242    @Before
    4343    public void setUp() {
    44         directionSampleFile = new File("data_nodist/exif-example_direction.jpg");
    45         orientationSampleFile = new File("data_nodist/exif-example_orientation=6.jpg");
     44        directionSampleFile = new File("nodist/data/exif-example_direction.jpg");
     45        orientationSampleFile = new File("nodist/data/exif-example_orientation=6.jpg");
    4646    }
    4747
     
    6262    @Test
    6363    public void testReadTimeSubSecond1() throws ParseException {
    64         Date date = ExifReader.readTime(new File("data_nodist/IMG_20150711_193419.jpg"));
     64        Date date = ExifReader.readTime(new File("nodist/data/IMG_20150711_193419.jpg"));
    6565        doTest("2015-07-11T19:34:19.100", date);
    6666    }
     
    108108    @Test
    109109    public void testReadSpeed() {
    110         assertEquals(Double.valueOf(12.3), ExifReader.readSpeed(new File("data_nodist/exif-example_speed_ele.jpg")));
     110        assertEquals(Double.valueOf(12.3), ExifReader.readSpeed(new File("nodist/data/exif-example_speed_ele.jpg")));
    111111    }
    112112
     
    116116    @Test
    117117    public void testReadElevation() {
    118         assertEquals(Double.valueOf(23.4), ExifReader.readElevation(new File("data_nodist/exif-example_speed_ele.jpg")));
     118        assertEquals(Double.valueOf(23.4), ExifReader.readElevation(new File("nodist/data/exif-example_speed_ele.jpg")));
    119119    }
    120120
Note: See TracChangeset for help on using the changeset viewer.