summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/gallery3d/exif
Commit message (Collapse)AuthorAgeFilesLines
* ExifModifierEarl Ou2012-11-303-1/+175
| | | | Change-Id: I001b24d8ba004a4080cd898f0d26d706b1839425
* Use getValueAt() to read different data in ExifTagEarl Ou2012-11-144-23/+14
| | | | Change-Id: I4d8a72523a6ad4ae34e173c4b845a462644e83c7
* Handle wrong thumbnail tag typeEarl Ou2012-11-072-45/+88
| | | | Change-Id: If41834f0aa86425a06aaede815f3e0c3cdd17fd9
* Handle undefined tags and ignore copyright tag in exif testEarl Ou2012-11-073-2/+147
| | | | Change-Id: I531518555257bdaefb79b681282c6aad07542b4b
* Handle invalid offset value in ExifParserEarl Ou2012-11-071-2/+2
| | | | Change-Id: I6d4a0edec361f8359535761d7f12ab9363ff1ad1
* ignore image with invalid thumbnail type in Exif testEarl Ou2012-11-071-3/+3
| | | | Change-Id: I6fc3a2dde4caf881b3b63aa95f1997ee9ccd4dbc
* Handle tag not found in ExifParserTestEarl Ou2012-11-071-0/+3
| | | | Change-Id: I892336ff3f73f91f5ac45ab9868f4ecfa61051ac
* fix OOM in exif testEarl Ou2012-11-071-0/+1
| | | | Change-Id: I41831e5831b2081f9b6bef6e57bd914faa41385b
* print image path when setup error in Exif testEarl Ou2012-10-311-9/+13
| | | | Change-Id: Ia4391571695ea518eac53f2b8c6b1a2acb5159c1
* Use List to store duplicated exif tagEarl Ou2012-10-243-17/+21
| | | | | | Use List so the number of tags can be calculated. Change-Id: I5dfb085fccadab4f0febf2944b64d4dfe9ecbd63
* Use NO_VALUE in ground truth of exif test when no valid value from exiftoolEarl Ou2012-10-243-23/+17
| | | | Change-Id: Ia33edf0aba8562eb2dbd61b5753657f245bf7310
* Handle duplicated tags in the Exif testEarl Ou2012-10-183-15/+27
| | | | Change-Id: If9bd9712de1eaa71c8e355c5268f9cc29247bd2e
* Print image path for exception in Exif testEarl Ou2012-10-183-148/+168
| | | | Change-Id: Ib5b502ea91c9fb14dbd9e0ede664136943e50401
* Make original exif test pass with the exiftool ground truthEarl Ou2012-10-183-20/+45
| | | | | | Also add assertion message for debugging Change-Id: I4287afde01a2ad334b3d181d17863b1fa763950b
* Read exif test images from the external storage of the test packageEarl Ou2012-10-176-76/+166
| | | | | | | | We can now add more exif test images under the application's private Pictures directory, and put their corresponding xml files under Xml directory. The tests will try to load them and use them as a testcase. Change-Id: I2bc82bb7703e3a4516d1bc433ac5fabed2080987
* Use exiftool as ground truth for Exif API testEarl Ou2012-10-123-109/+97
| | | | | | | | The ground truth XML file was generated by parsing the output from Phil Harvey's exiftool. Then we can test photos from 5000+ different camera provided by exiftool's website. Change-Id: Ida2c0409929be450a3cbb4331504aadb41138bea
* Tests for ExifDataEarl Ou2012-09-197-26/+304
| | | | | | Bug:7192363 Change-Id: Ic74ecad2eff50e26efa85f928ef7904a2c51ecc7
* Simplify the usage of ExifDataEarl Ou2012-09-192-4/+4
| | | | | | Bug:7192363 Change-Id: I2c6ab9974f4472f63483a4de814728584944535e
* Rearrange the constants in ExifTagEarl Ou2012-09-062-14/+14
| | | | Change-Id: I62ab6e52869dfa5b3fee7993bd109f4c5eed91a9
* Remove the parameter of getAllExifTags() in IfdDataEarl Ou2012-08-311-1/+1
| | | | Change-Id: Iec7f04a9866c53caa2d66d5ea6f679460980b378
* ExifOutputStreamEarl Ou2012-08-302-0/+78
| | | | Change-Id: I9f2de77e87a502ccdadba0b18658621028c538c9
* Redesign the set function of ExifTagEarl Ou2012-08-302-6/+6
| | | | Change-Id: Iaf5632d759fe14c167cba54099b99719b31e3431
* Read thumbnail into ExifDataEarl Ou2012-08-271-1/+57
| | | | Change-Id: Iccc0fbbda1734795ff431075bade700ca5076a08
* Re-design ExifParser for some strange Exif headerEarl Ou2012-08-243-346/+136
| | | | | | | The previous design failed to parser file with strange IFD position. Therefore we need a new design. Change-Id: I9f008a9259df6ef7d9a5022e126d6f25069e3d00
* A simple ExifReader and its testEarl Ou2012-08-154-80/+263
| | | | Change-Id: I1a30d24591bbdab288e04e3705ece388b533f247
* Check if the ExifParser paser every part in the testEarl Ou2012-08-081-2/+27
| | | | Change-Id: I1c58dfbbf74ada1d7f3d629ace4851d5022170f6
* ignore uncompressed thumbnail when test exif thumbnailEarl Ou2012-08-081-0/+6
| | | | Change-Id: I32baae44994f3b113405082f55539e1a2a3db8bb
* Handle error when string length=0 in IfdParserEarl Ou2012-08-081-6/+2
| | | | Change-Id: I3a51e85060f3acd5026555e5f8d21f8cb2e0641e
* 1. add interoperability ifd in exif test and 2. add some logEarl Ou2012-08-071-4/+52
| | | | Change-Id: I888d856a17e59754d5a43b10ec8c4d30b582c503
* Change Thumbnail test for ExifParser when there is no thumbnail or ↵Earl Ou2012-08-071-20/+6
| | | | | | thumbnail's information Change-Id: Iabd632612895051ee73b776616355bf5e3680d34
* Use hex to represent unknown type and byte type for ExifParser debuggingEarl Ou2012-08-071-3/+8
| | | | Change-Id: I1d63698a34cc2c582e3c9c1a117231489ea9e3a2
* 1. Use xml to record true data for ExifParserTest 2. A ExifTestRunnerEarl Ou2012-08-072-80/+149
| | | | Change-Id: I6f0133a42670f5f4cbfa37a06bac41a8f6beceef
* use InstrumentationTestCase for ExifParserTestEarl Ou2012-08-061-2/+2
| | | | | | because we don't need to test Activity Change-Id: I3d21f7f5ca05cffba3bd2cd54c5899255e1103c1
* Remove TYPE_SUB_IFD for next() in IfdParserEarl Ou2012-08-061-31/+29
| | | | | | | | We should not read the offset because there are too many exception. Users should check the id of the tag and decide how to read the block by themselves. Change-Id: Ie3f162c5c6dc25f15107e193adc080c7b51112b5
* Check number of exif tag in testEarl Ou2012-08-061-0/+12
| | | | Change-Id: Ic84c7c004fe0ab5fcea9a0cc6e7f9d86db61abd8
* Test read thumbnailEarl Ou2012-08-061-10/+68
| | | | Change-Id: I2f7add7e3c9fc6ffe8c75f191f4b0322bc3047d5
* Test only keep some exif tags for valueEarl Ou2012-08-011-0/+32
| | | | Change-Id: I06962ffb4e1c6844cc8c0d24b686571483f16c22
* Test skip to next ifd in ExifParserTestEarl Ou2012-08-011-0/+25
| | | | Change-Id: Icc53e75d563acb304c23349c28d604d439b4b314
* ExifParserTestEarl Ou2012-08-011-0/+267
test basic parse function of ExifParser Change-Id: I4dbe9231917c205b0cb95aab639744ce0debbec8