4 protected function setUp() {
7 $this->mediaPath = __DIR__ .
'/../../data/media/';
17 public function testGetMetadata( $filename, $expected ) {
19 $this->assertEquals( $expected, $actual );
22 public static function provideGetMetadata() {
25 <?xpacket
begin=
'' id=
'W5M0MpCehiHzreSzNTczkc9d'?>
26 <x:xmpmeta xmlns:x=
'adobe:ns:meta/' x:xmptk=
'Image::ExifTool 7.30'>
27 <rdf:RDF xmlns:rdf=
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
29 <rdf:Description rdf:about=
''
30 xmlns:Iptc4xmpCore=
'http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/'>
31 <Iptc4xmpCore:Location>The interwebs</Iptc4xmpCore:Location>
34 <rdf:Description rdf:about=
''
35 xmlns:tiff=
'http://ns.adobe.com/tiff/1.0/'>
36 <tiff:Artist>Bawolff</tiff:Artist>
37 <tiff:ImageDescription>
39 <rdf:li xml:lang=
'x-default'>A
file to test GIF</rdf:li>
41 </tiff:ImageDescription>
71 $xmpNugget = str_replace(
"\r",
'', $xmpNugget );
77 'comment' =>
array(
'GIF test file ⁕ Created with GIMP' ),
87 'comment' =>
array(
'GIF test file . Created with GIMP' ),
102 'comment' =>
array(
'GIƒ·test·file' ),