phpDocumentor Exif
PHPUnit
[ class tree: Exif ] [ index: Exif ] [ all elements ]

Procedural File: ExifHelperTest.class

Source Location: /modules/exif/test/phpunit/ExifHelperTest.class

Page Details

Test Exif Helper functionality

Version:  $Revision: 17580 $
Author:  Bharat Mediratta <bharat@menalto.com>
Author:  Georg Rehfeld <rehfeld@georg-rehfeld.de>
Todo:  (xlerb) more tests, to be really sure, that our new underlying lib/JPEG does it's job well. This will ensure a working G2 even in case, lib/JPEG changes (especially because the lib/JPEG author has delegated some work on the lib to me). Also, there are plans to reduce include penalties for lib/JPEG. Let us protect against failures before actually changing the lib. And, by definition/specs, IPTC data may be spread throughout JPEG files, responsible to follow specs is the application writing IPTC data. Theoretically one could create mock files to test all variants of allowed (per spec) meta data distribution ... when I someday will be able to do that, I'll do for G2 (then as the author of the "final" EXIF/IPTC/XMP application and surely senior developer at Adobe Inc. :). Until then I'm happy to "keep G2 running" and fall back to just test common IPTC apps around and the correctness of lib/exifer and lib/JPEG to handle the resulting binaries. Tests to add are especially JPEG files manipulated by more than one IPTC capable application in turn, e.g. PS->Exifer->IrfanView. Also the current jpeg files are all produced on little endian machines. Small jpeg files produced on big endian machines and stored as big endian would provide for another neccessary test.
Classes
Class Description
ExifHelperTest Test Exif Helper functionality

Documentation generated on Fri, 03 Oct 2008 04:57:43 -0700 by phpDocumentor 1.3.0RC6