source: josm/trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/ImageEntryTest.java@ 9669

Last change on this file since 9669 was 9669, checked in by bastiK, 8 years ago

add missing svn:eol-style=native (see #12410)

  • Property svn:eol-style set to native
File size: 659 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.layer.geoimage;
3
4import static org.junit.Assert.assertNotNull;
5
6import java.io.File;
7
8import org.junit.Test;
9import org.openstreetmap.josm.TestUtils;
10
11/**
12 * Unit tests of {@link ImageEntry} class.
13 */
14public class ImageEntryTest {
15
16 /**
17 * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/12255">#12255</a>.
18 */
19 @Test
20 public void testTicket12255() {
21 ImageEntry e = new ImageEntry(new File(TestUtils.getRegressionDataFile(12255, "G0016941.JPG")));
22 e.extractExif();
23 assertNotNull(e.getExifTime());
24 }
25}
Note: See TracBrowser for help on using the repository browser.