]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - tests/phpunit/data/xmp/7.result.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / tests / phpunit / data / xmp / 7.result.php
diff --git a/tests/phpunit/data/xmp/7.result.php b/tests/phpunit/data/xmp/7.result.php
new file mode 100644 (file)
index 0000000..ad88df3
--- /dev/null
@@ -0,0 +1,52 @@
+<?php
+$result = [
+       'xmp-exif' =>
+       [
+               'CameraOwnerName' => 'Me!',
+       ],
+       'xmp-general' =>
+       [
+               'LicenseUrl' => 'http://creativecommons.com/cc-by-2.9',
+               'ImageDescription' =>
+               [
+                       'x-default' => 'Test image for the cc: xmp: xmpRights: namespaces in xmp',
+                       '_type' => 'lang',
+               ],
+               'ObjectName' =>
+               [
+                       'x-default' => 'xmp core/xmp rights/cc ns test',
+                       '_type' => 'lang',
+               ],
+               'DateTimeDigitized' => '2005:04:03',
+               'Software' => 'The one true editor: Vi (ok i used gimp)',
+               'Identifier' =>
+               [
+                       0 => 'http://example.com/identifierurl',
+                       1 => 'urn:sha1:342524abcdef',
+                       '_type' => 'ul',
+               ],
+               'Label' => 'Test image',
+               'DateTimeMetadata' => '2011:05:12',
+               'DateTime' => '2007:03:04 06:34:10',
+               'Nickname' => 'My little xmp test image',
+               'Rating' => '5',
+               'RightsCertificate' => 'http://example.com/rights-certificate/',
+               'Copyrighted' => 'True',
+               'CopyrightOwner' =>
+               [
+                       0 => 'Bawolff is copyright owner',
+                       '_type' => 'ul',
+               ],
+               'UsageTerms' =>
+               [
+                       'x-default' => 'do whatever you want',
+                       'en-gb' => 'Do whatever you want in british english',
+                       '_type' => 'lang',
+               ],
+               'WebStatement' => 'http://example.com/web_statement',
+       ],
+       'xmp-deprecated' =>
+       [
+               'Identifier' => 'http://example.com/identifierurl/wrong',
+       ],
+];