History log of /frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f8ea0973359220a7fd986b45559ed9a86901b04f 10-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "ExifInterface: Reduce the number of iteration in a test" into oc-mr1-dev
ab68451b27e13a861135d8ff147d515a4c4fdff5 08-Aug-2017 Hyundo Moon <hdmoon@google.com> ExifInterfaceTest: Fix failing tests

After ag/2634960 is merged, some of the ExifInterface tests failed.
It is because the tag TAG_ISO_SPEED_RATINGS was deprecated and was
replaced with TAG_PHOTOGRAPHIC_SENSITIVITY in that CL, but the test
was unchanged at that time so that it is still using the old tag.

This CL fixes the failing tests, as well as making ExifInterface
does not break the backward compatibility.

Bug: 64467277
Test: Passed ExifInterfaceTest
Change-Id: Ic5dcd4d355e2935c7773384bf9e2576d4b49e46f
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
fb031bd5506bf0811e4dc0045855b189e948e657 02-Aug-2017 Hyundo Moon <hdmoon@google.com> ExifInterface: Reduce the number of iteration in a test

ExifInterfaceTest.testDoNotFailOnCorruptedImage() tests large amount of
randomly-generated byte streams. This produces thousands of lines of
logcat output, which makes hard to see why other tests failed.
This CL reduces the number of iteration in the test.

Bug: 64268649
Test: Ran testDoNotFailOnCorruptedImage and checked the logs
Change-Id: I8f8a61f99f9392fbabf0c3f4447175d1cca7a451
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
4553d8dff998f532ed5243f5fd91e531adb2f8a0 08-Jul-2017 yangren <yangren@google.com> Add get flip state and rotation degree method

Bug: 62573698
Test: ./gradlew exifinterface:connectedCheck
Change-Id: I35976c9ccf71877c49a9f5ed7c153badc21de323
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
9be8fe28530a67412706eb188981511daf5d3124 22-Jul-2017 Aurimas Liutikas <aurimas@google.com> Mark ExifInterfaceTest#testDoNotFailOnCorruptedImage large.

This test is flaky. Mark it large so it does not run as part of presubmit.

Bug: 63800695
Test: None
Change-Id: I32a1bf3a84b196381191d41538ea53b1a31c7f74
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
a13551b2f80e07ec10f2c025ea50360490773f13 13-Jul-2017 Conrad Chen <conradchen@google.com> Merge "ExifInterface: protect against incorrect tag format" into oc-support-26.0-dev
bc4fd2c642f7db0a091fe6e9179b0380eda16b36 22-Jun-2017 yangren <yangren@google.com> Support rotate method in ExifInterface

Bug: 62573698
Test: ExifInterfaceTest
Change-Id: I4807072b3eec068b2d5810cda106b92c0844b252
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
db4a5b23d1ccd3096cc27657c2b1b95bf68d8739 16-Jun-2017 Conrad Chen <conradchen@google.com> ExifInterface: protect against incorrect tag format

1. Checks tag formats before creating attributes for loaded tags from
image files.
2. Modifies tests about corrupted image. Generates randomly corrupted
image stream to make sure ExifInterface wouldn't crash.

Test: ./gradlew support-exifinterface:connectedCheck
Bug: 37664876
Change-Id: I288375bd174d7168a948a3994a2dfd7e4f24674b
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
c5d30247a9f0ae2d36b4db80c0d7fa6e73bb008d 14-Jun-2017 Conrad Chen <conradchen@google.com> ExifInterface: support setting GPS information

Test: ./gradlew support-exifinterface:connectedCheck
Bug: 62137914
Change-Id: Ibc4c9b9b3b951951a9312e1b449d191907af6928
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
8f31117b0d0b9cb24ef4ef0464f526ace39e2709 13-Jun-2017 yangren <yangren@google.com> Allow set DateTime from TimeStamp in exifinterface

Bug: 62137955
Test: ./gradlew support-exifinterface:connectedCheck
Change-Id: I090742be15f08c8aaccaa7c19ee9dd08f46b7722
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
00f50659f75926df824d973992bbbe5fb213266e 12-Jun-2017 Hyundo Moon <hdmoon@google.com> ExifInterface: Minor fixes

When merging ag/2393242, some variables should have been renamed or
replaced. This CL handles the problems.

Test: Passed ExifInterfaceTest
Change-Id: I34eeaaefa7301de185b7022cb1a49f6661e4ea25
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
a39fc6268fbf33ad5d39829cacebf49b11f35c3e 12-Jun-2017 Hyundo Moon <hdmoon@google.com> ExifInterface: Prevent DATETIME value from being set unproperly

Although the DATETIME and DATETIME_ORIGINAL tags are for different
purposes, the DATETIME value is set to the same value as
DATETIME_ORIGINAL tag's when loading the attributes of an image.
This CL prevents the problem by setting the value of DATETIME tag only
when it does not exist.

Bug: 62137632
Test: Passed ExifInterfaceTest
Change-Id: I30f545fa88803e7eab0150f5a18c89355e480293
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
d56d8611e9a0e06799114a3d4716ac5921c06342 18-Jan-2017 Hyundo Moon <hdmoon@google.com> ExifInterface: Add helper methods to set latitude/longitude

This CL adds two new APIs getLatLong()/setLatLong(double, double)
to help developers to get/set the latitude and longitude values.
Also it deprecates getLatLong(float[]).

Bug: 33219903
Test: ./gradlew support-exifinterface:connectedCheck
Change-Id: I62c25fbd91d803cd77bb49b939f37ca5672c96a2
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java
52fe7d68b384a66dc5347ad4005a3354710eb6c7 31-Jan-2017 Hyundo Moon <hdmoon@google.com> Add tests for exifInterface support library

Bug: 28299989
Test: ./gradlew support-exifinterface:connectedCheck
Change-Id: I03cafb76f6afced09ddf90b8d88285d213292114
/frameworks/support/exifinterface/tests/src/android/support/media/ExifInterfaceTest.java