Changeset 31455 in osm for applications/editors/josm/plugins/mapillary/test
- Timestamp:
- 2015-08-05T11:46:38+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/UploadTest.java
r31454 r31455 2 2 3 3 import static org.junit.Assert.assertEquals; 4 import static org.junit.Assert.assertTrue; 4 5 import static org.junit.Assert.fail; 5 6 … … 35 36 ImageMetadata metadata = Imaging.getMetadata(updatedFile); 36 37 final JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata; 37 assert 38 assertTrue(jpegMetadata 38 39 .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LATITUDE_REF) != null); 39 assert 40 assertTrue(jpegMetadata 40 41 .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LATITUDE) != null); 41 assert 42 assertTrue(jpegMetadata 42 43 .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LONGITUDE_REF) != null); 43 assert 44 assertTrue(jpegMetadata 44 45 .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LONGITUDE) != null); 45 assert 46 assertTrue(jpegMetadata 46 47 .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_IMG_DIRECTION) != null); 47 assert 48 assertTrue(jpegMetadata 48 49 .findEXIFValueWithExactMatch(ExifTagConstants.EXIF_TAG_DATE_TIME_ORIGINAL) != null); 49 50 assertEquals(0, MapillaryImportAction.degMinSecToDouble(
Note:
See TracChangeset
for help on using the changeset viewer.