public function setUp() { if (!extension_loaded('exif')) { $this->markTestSkipped('exif extension not available'); } parent::setUp(); }
/** * 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); }