Ignore:
Timestamp:
2015-08-05T11:46:38+02:00 (9 years ago)
Author:
nokutu
Message:

Fixed test errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/UploadTest.java

    r31454 r31455  
    22
    33import static org.junit.Assert.assertEquals;
     4import static org.junit.Assert.assertTrue;
    45import static org.junit.Assert.fail;
    56
     
    3536      ImageMetadata metadata = Imaging.getMetadata(updatedFile);
    3637      final JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata;
    37       assert (jpegMetadata
     38      assertTrue(jpegMetadata
    3839          .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LATITUDE_REF) != null);
    39       assert (jpegMetadata
     40      assertTrue(jpegMetadata
    4041          .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LATITUDE) != null);
    41       assert (jpegMetadata
     42      assertTrue(jpegMetadata
    4243          .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LONGITUDE_REF) != null);
    43       assert (jpegMetadata
     44      assertTrue(jpegMetadata
    4445          .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_LONGITUDE) != null);
    45       assert (jpegMetadata
     46      assertTrue(jpegMetadata
    4647          .findEXIFValueWithExactMatch(GpsTagConstants.GPS_TAG_GPS_IMG_DIRECTION) != null);
    47       assert (jpegMetadata
     48      assertTrue(jpegMetadata
    4849          .findEXIFValueWithExactMatch(ExifTagConstants.EXIF_TAG_DATE_TIME_ORIGINAL) != null);
    4950      assertEquals(0, MapillaryImportAction.degMinSecToDouble(
Note: See TracChangeset for help on using the changeset viewer.