Author: Michael J Rubinsky (mrubinsk@horde.org)
Inheritance: extends Horde_Test_Case
Beispiel #1
0
 public function setUp()
 {
     if (!extension_loaded('exif')) {
         $this->markTestSkipped('exif extension not available');
     }
     parent::setUp();
 }
Beispiel #2
0
 /**
  * Tests ability to extract EXIF data without errors. Does not test data
  * for validity.
  */
 public function testExtract()
 {
     $fixture = __DIR__ . '/../Fixtures/img_exif.jpg';
     setlocale(LC_ALL, 'de_DE');
     self::$_data = self::$_exif->getData($fixture);
     $this->assertInternalType('array', self::$_data);
 }