Hello, I have tried to run our current MediaWiki tests using PHP 5.4 on a Gentoo machine against +/- git master:
+ git -C . log --oneline -1 5c63cce Merge "ApiQueryAllRevisions: Actually use 'start' and 'end'" + git -C vendor log --oneline -1 5efd7d7 Update OOjs UI to v0.12.12 + git -C skins/Vector log --oneline -1 9f5f333 Localisation updates from https://translatewiki.net. I have posted my php.ini to https://phabricator.wikimedia.org/P2226 I am running PHPUnit 4.3.1; 3.x series crashes at some point. I am getting few interesting failures: - floating point format problems - various XMP XML metadata issues and few others. This looks to me like some environment problems (some library too old etc. etc.). Any hints where those come from? If those are env problems indeed, I'd like to try to add some checks to the installers. ~saper env LC_MESSAGES=C LANG=C LC_TIME=C php5.4 -c ${HOME}/php54.ini tests/phpunit/phpunit.php --configuration tests/phpunit/suite.xml --exclude-group Broken,Stub,Dump,ParserFuzz --log-junit "${HOME}/tests/log/postgres-log.xml" Script started on Sun Oct 25 00:47:01 2015 #!/usr/bin/env php Using PHPUnit from /usr/share/php/phpunit/phpunit.phar PHPUnit 4.3.1 by Sebastian Bergmann. Configuration read from /usr/home/saper/public_html/ybabel/tests/phpunit/suite.xml (...) Time: 12.45 minutes, Memory: 1301.75Mb There were 35 failures: 1) ApiFormatPhpTest::testGeneralEncoding with data set #7 (array(1.0E+42), 'a:1:{i:0;d:1.0E+42;}', array(1)) Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -a:1:{i:0;d:1.0E+42;} +a:1:{i:0;d:1000000000000000044885712678075916785549312;} /usr/home/saper/public_html/ybabel/tests/phpunit/includes/api/format/ApiFormatTestBase.php:61 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 2) ApiFormatPhpTest::testGeneralEncoding with data set #30 (array(1.0E+42), 'a:1:{i:0;d:1.0E+42;}', array(2)) Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -a:1:{i:0;d:1.0E+42;} +a:1:{i:0;d:1000000000000000044885712678075916785549312;} /usr/home/saper/public_html/ybabel/tests/phpunit/includes/api/format/ApiFormatTestBase.php:61 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 3) JavaScriptContentTest::testUpdateRedirect with data set #1 ('/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=MediaWiki:MonoBook.js\\u0026action=raw\\u0026ctype=text/javascript");', '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=TestUpdateRedirect_target\\u0026action=raw\\u0026ctype=text/javascript");') Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=TestUpdateRedirect_target\u0026action=raw\u0026ctype=text/javascript");' +'/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=MediaWiki:MonoBook.js\u0026action=raw\u0026ctype=text/javascript");' /usr/home/saper/public_html/ybabel/tests/phpunit/includes/content/JavaScriptContentTest.php:268 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 4) JavaScriptContentTest::testGetRedirectTarget with data set #0 ('MediaWiki:MonoBook.js', '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=MediaWiki:MonoBook.js\\u0026action=raw\\u0026ctype=text/javascript");') Failed asserting that null matches expected 'MediaWiki:MonoBook.js'. /usr/home/saper/public_html/ybabel/tests/phpunit/includes/content/JavaScriptContentTest.php:324 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 5) JavaScriptContentTest::testGetRedirectTarget with data set #1 ('User:FooBar/common.js', '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=User:FooBar/common.js\\u0026action=raw\\u0026ctype=text/javascript");') Failed asserting that null matches expected 'User:FooBar/common.js'. /usr/home/saper/public_html/ybabel/tests/phpunit/includes/content/JavaScriptContentTest.php:324 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 6) JavaScriptContentTest::testGetRedirectTarget with data set #2 ('Gadget:FooBaz.js', '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=Gadget:FooBaz.js\\u0026action=raw\\u0026ctype=text/javascript");') Failed asserting that null matches expected 'Gadget:FooBaz.js'. /usr/home/saper/public_html/ybabel/tests/phpunit/includes/content/JavaScriptContentTest.php:324 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 7) BitmapMetadataHandlerTest::testMultilingualCascade 'right(iptc)' does not match expected type "array". /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php:43 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 8) BitmapMetadataHandlerTest::testPNGXMP Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 'frameCount' => 0 'loopCount' => 1 - 'duration' => 0 + 'duration' => 0.0 'bitDepth' => 1 'colorType' => 'index-coloured' 'metadata' => Array ( - 'SerialNumber' => '123456789' '_MW_PNG_VERSION' => 1 ) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php:146 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 9) GIFHandlerTest::testGetMetadata with data set #1 ('animated-xmp.gif', 'a:4:{s:10:"frameCount";i:4;s:6:"looped";b:1;s:8:"duration";d:2.399999999999999911182158029987476766109466552734375;s:8:"metadata";a:5:{s:6:"Artist";s:7:"Bawolff";s:16:"ImageDescription";a:2:{s:9:"x-default";s:18:"A file to test GIF";s:5:"_type";s:4:"lang";}s:15:"SublocationDest";s:13:"The interwebs";s:14:"GIFFileComment";a:1:{i:0;s:16:"GIÆÂ·test·file";}s:15:"_MW_GIF_VERSION";i:1;}}') Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 'frameCount' => 4 'looped' => true 'duration' => 2.4 'metadata' => Array ( - 'Artist' => 'Bawolff' - 'ImageDescription' => Array (...) - 'SublocationDest' => 'The interwebs' 'GIFFileComment' => Array (...) '_MW_GIF_VERSION' => 1 ) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/GIFTest.php:95 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 10) GIFHandlerTest::testGetIndependentMetaArray with data set #1 ('animated-xmp.gif', array('Bawolff', array('A file to test GIF', 'lang'), 'The interwebs', array('GIÆÂ·test·file'))) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'Artist' => 'Bawolff' - 'ImageDescription' => Array (...) - 'SublocationDest' => 'The interwebs' 'GIFFileComment' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/GIFTest.php:116 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 11) IPTCTest::testIPTCParseForcedUTFButInvalid Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 0 => 'ø' + 0 => '' ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/IPTCTest.php:50 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 12) PNGHandlerTest::testGetMetadata with data set #1 ('xmp.png', 'a:6:{s:10:"frameCount";i:0;s:9:"loopCount";i:1;s:8:"duration";d:0;s:8:"bitDepth";i:1;s:9:"colorType";s:14:"index-coloured";s:8:"metadata";a:2:{s:12:"SerialNumber";s:9:"123456789";s:15:"_MW_PNG_VERSION";i:1;}}') Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'a:6:{s:10:"frameCount";i:0;s:9:"loopCount";i:1;s:8:"duration";d:0;s:8:"bitDepth";i:1;s:9:"colorType";s:14:"index-coloured";s:8:"metadata";a:2:{s:12:"SerialNumber";s:9:"123456789";s:15:"_MW_PNG_VERSION";i:1;}}' +'a:6:{s:10:"frameCount";i:0;s:9:"loopCount";i:1;s:8:"duration";d:0;s:8:"bitDepth";i:1;s:9:"colorType";s:14:"index-coloured";s:8:"metadata";a:1:{s:15:"_MW_PNG_VERSION";i:1;}}' /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/PNGTest.php:97 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 13) PNGHandlerTest::testGetIndependentMetaArray with data set #1 ('xmp.png', array('123456789')) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'SerialNumber' => '123456789' ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/PNGTest.php:118 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 14) XMPTest::testXMPParse with data set #0 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" exif:DigitalZoomRatio="0/10"> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '9')), '[1.xmp] parseType=Resource test') [1.xmp] parseType=Resource test Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 15) XMPTest::testXMPParse with data set #1 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" exif:DigitalZoomRatio="0/10"> <exif:Flash> <rdf:Description exif:Return="0"> <exif:Fired>True</exif:Fired> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></rdf:Description></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '9')), '[2.xmp] Structure with mixed attribute and element props') [2.xmp] Structure with mixed attribute and element props Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 16) XMPTest::testXMPParse with data set #2 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" > <exif:DigitalZoomRatio> <rdf:Description> <rdf:value> 0/10 </rdf:value> <exif:foobarbaz>fred</exif:foobarbaz> </rdf:Description> </exif:DigitalZoomRatio> <exif:Flash> <rdf:Description exif:Return="0"> <exif:Fired>True</exif:Fired> <exif:Mode><rdf:Description> <rdf:value>1</rdf:value> <exif:Fired>False</exif:Fired> <!-- qualifier. should be ignored--> </rdf:Description> </exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></rdf:Description></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '9')), '[3.xmp] Extra qualifiers (that should be ignored)') [3.xmp] Extra qualifiers (that should be ignored) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 17) XMPTest::testXMPParse with data set #3 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <!-- This file has an invalid flash compoenent (one of the values are a qualifier) --> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" > <exif:DigitalZoomRatio> <rdf:Description> <rdf:value> 0/10 </rdf:value> <exif:foobarbaz>fred</exif:foobarbaz> </rdf:Description> </exif:DigitalZoomRatio> <exif:Flash> <rdf:Description exif:Return="0"> <exif:Mode><rdf:Description> <rdf:value>1</rdf:value> <exif:Fired>False</exif:Fired> <!-- qualifier. should be ignored--> </rdf:Description> </exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></rdf:Description></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10')), '[3-invalid.xmp] Test ignoring qualifiers that look like normal props') [3-invalid.xmp] Test ignoring qualifiers that look like normal props Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 18) XMPTest::testXMPParse with data set #4 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <!-- Valid output is just the DigitalZoomRatio as the flash is a qualifier --> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/"> <exif:DigitalZoomRatio> <rdf:Description> <rdf:value> 0/10 </rdf:value> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></exif:Flash> </rdf:Description> </exif:DigitalZoomRatio> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10')), '[4.xmp] Flash as qualifier') [4.xmp] Flash as qualifier Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 19) XMPTest::testXMPParse with data set #5 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/"> <exif:DigitalZoomRatio> <rdf:Description rdf:value="0/10"> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></exif:Flash> </rdf:Description> </exif:DigitalZoomRatio> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10')), '[5.xmp] Flash as qualifier 2') [5.xmp] Flash as qualifier 2 Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 20) XMPTest::testXMPParse with data set #6 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/"> <exif:DigitalZoomRatio> 0/10 </exif:DigitalZoomRatio> </rdf:Description> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/"> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '9')), '[6.xmp] Multiple rdf:Description') [6.xmp] Multiple rdf:Description Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 21) XMPTest::testXMPParse with data set #7 ('<?xpacket begin=\'\' id=\'W5M0MpCehiHzreSzNTczkc9d\'?> <x:xmpmeta xmlns:x=\'adobe:ns:meta/\' x:xmptk=\'Image::ExifTool 7.30\'> <rdf:RDF xmlns:rdf=\'http://www.w3.org/1999/02/22-rdf-syntax-ns#\'> <rdf:Description rdf:about=\'\' xmlns:aux=\'http://ns.adobe.com/exif/1.0/aux/\'> <aux:OwnerName>Me!</aux:OwnerName> </rdf:Description> <rdf:Description rdf:about=\'\' xmlns:cc=\'http://creativecommons.org/ns#\'> <cc:license>http://creativecommons.com/cc-by-2.9</cc:license> </rdf:Description> <rdf:Description rdf:about=\'\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\'> <dc:description> <rdf:Alt> <rdf:li xml:lang=\'x-default\'>Test image for the cc: xmp: xmpRights: namespaces in xmp</rdf:li> </rdf:Alt> </dc:description> <dc:identifier>http://example.com/identifierurl/wrong</dc:identifier> <dc:title> <rdf:Alt> <rdf:li xml:lang=\'x-default\'>xmp core/xmp rights/cc ns test</rdf:li> </rdf:Alt> </dc:title> </rdf:Description> <rdf:Description rdf:about=\'\' xmlns:xmp=\'http://ns.adobe.com/xap/1.0/\'> <xmp:CreateDate>2005-04-03</xmp:CreateDate> <xmp:CreatorTool>The one true editor: Vi (ok i used gimp)</xmp:CreatorTool> <xmp:Identifier> <rdf:Bag> <rdf:li>http://example.com/identifierurl </rdf:li> <rdf:li>urn:sha1:342524abcdef</rdf:li> </rdf:Bag> </xmp:Identifier> <xmp:Label>Test image</xmp:Label> <xmp:MetadataDate>2011-05-12</xmp:MetadataDate> <xmp:ModifyDate>2007-03-04T12:34:10-06:00</xmp:ModifyDate> <xmp:Nickname>My little xmp test image</xmp:Nickname> <xmp:Rating>7</xmp:Rating> </rdf:Description> <rdf:Description rdf:about=\'\' xmlns:xmpRights=\'http://ns.adobe.com/xap/1.0/rights/\'> <xmpRights:Certificate>http://example.com/rights-certificate/</xmpRights:Certificate> <xmpRights:Marked>True</xmpRights:Marked> <xmpRights:Owner> <rdf:Bag> <rdf:li>Bawolff is copyright owner</rdf:li> </rdf:Bag> </xmpRights:Owner> <xmpRights:UsageTerms> <rdf:Alt> <rdf:li xml:lang=\'x-default\'>do whatever you want</rdf:li> <rdf:li xml:lang=\'en-GB\'>Do whatever you want in british english</rdf:li> </rdf:Alt> </xmpRights:UsageTerms> <xmpRights:WebStatement>http://example.com/web_statement</xmpRights:WebStatement> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end=\'r\'?> ', array(array('Me!'), array('http://creativecommons.com/cc-by-2.9', array('Test image for the cc: xmp: xmpRights: namespaces in xmp', 'lang'), array('xmp core/xmp rights/cc ns test', 'lang'), '2005:04:03', 'The one true editor: Vi (ok i used gimp)', array('http://example.com/identifierurl', 'urn:sha1:342524abcdef', 'ul'), 'Test image', '2011:05:12', '2007:03:04 06:34:10', 'My little xmp test image', '5', 'http://example.com/rights-certificate/', 'True', array('Bawolff is copyright owner', 'ul'), array('do whatever you want', 'Do whatever you want in british english', 'lang'), 'http://example.com/web_statement'), array('http://example.com/identifierurl/wrong')), '[7.xmp] Generic test of several property types') [7.xmp] Generic test of several property types Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) - 'xmp-general' => Array (...) - 'xmp-deprecated' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 22) XMPTest::testXMPParse with data set #8 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" exif:DigitalZoomRatio="0/10"> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>3</exif:Return> <exif:Mode>3</exif:Mode> <exif:Function>True</exif:Function> <exif:RedEyeMode>True</exif:RedEyeMode></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '127')), '[flash.xmp] Test of Flash property') [flash.xmp] Test of Flash property Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 23) XMPTest::testXMPParse with data set #9 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" exif:DigitalZoomRatio="0/10"> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10')), '[invalid-child-not-struct.xmp] Test child props not in struct or ignored') [invalid-child-not-struct.xmp] Test child props not in struct or ignored Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 24) XMPTest::testXMPParse with data set #11 ('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <!-- Testing it handles random non-namespaced properties in files ok. Some older photoshop\'s did not include the rdf: prefix on about. --> <rdf:Description about="" rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" exif:FNumber="28/10"> </rdf:Description> </rdf:RDF> <?xpacket end="w"?> ', array(array('28/10')), '[no-namespace.xmp] Test non-namespaced attributes are ignored') [no-namespace.xmp] Test non-namespaced attributes are ignored Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 25) XMPTest::testXMPParse with data set #12 ('<?xpacket begin=""?> <x:xmpmeta xmlns:x="adobe:ns:meta/"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:creator> <rdf:Bag> <rdf:li>The author</rdf:li> </rdf:Bag> </dc:creator> </rdf:Description> </rdf:RDF> </x:xmpmeta> ', array(array(array('ul', 'The author'))), '[bag-for-seq.xmp] Allow bag\'s instead of seq\'s. (bug 27105)') [bag-for-seq.xmp] Allow bag's instead of seq's. (bug 27105) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-general' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 26) XMPTest::testXMPParse with data set #13 ('' . "\0" . '<' . "\0" . '?' . "\0" . 'x' . "\0" . 'p' . "\0" . 'a' . "\0" . 'c' . "\0" . 'k' . "\0" . 'e' . "\0" . 't' . "\0" . ' ' . "\0" . 'b' . "\0" . 'e' . "\0" . 'g' . "\0" . 'i' . "\0" . 'n' . "\0" . '=' . "\0" . '"þÿ' . "\0" . '"' . "\0" . ' ' . "\0" . 'i' . "\0" . 'd' . "\0" . '=' . "\0" . '"' . "\0" . 'W' . "\0" . '5' . "\0" . 'M' . "\0" . '0' . "\0" . 'M' . "\0" . 'p' . "\0" . 'C' . "\0" . 'e' . "\0" . 'h' . "\0" . 'i' . "\0" . 'H' . "\0" . 'z' . "\0" . 'r' . "\0" . 'e' . "\0" . 'S' . "\0" . 'z' . "\0" . 'N' . "\0" . 'T' . "\0" . 'c' . "\0" . 'z' . "\0" . 'k' . "\0" . 'c' . "\0" . '9' . "\0" . 'd' . "\0" . '"' . "\0" . '?' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'x' . "\0" . '=' . "\0" . '"' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . ':' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 't' . "\0" . 'k' . "\0" . '=' . "\0" . '"' . "\0" . 'A' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . ' ' . "\0" . 'X' . "\0" . 'M' . "\0" . 'P' . "\0" . ' ' . "\0" . 'C' . "\0" . 'o' . "\0" . 'r' . "\0" . 'e' . "\0" . ' ' . "\0" . ' ' . "\0" . '4' . "\0" . '.' . "\0" . '1' . "\0" . '.' . "\0" . '3' . "\0" . '-' . "\0" . 'c' . "\0" . '0' . "\0" . '0' . "\0" . '1' . "\0" . ' ' . "\0" . '4' . "\0" . '9' . "\0" . '.' . "\0" . '2' . "\0" . '8' . "\0" . '2' . "\0" . '6' . "\0" . '9' . "\0" . '6' . "\0" . ',' . "\0" . ' ' . "\0" . 'M' . "\0" . 'o' . "\0" . 'n' . "\0" . ' ' . "\0" . 'A' . "\0" . 'p' . "\0" . 'r' . "\0" . ' ' . "\0" . '0' . "\0" . '2' . "\0" . ' ' . "\0" . '2' . "\0" . '0' . "\0" . '0' . "\0" . '7' . "\0" . ' ' . "\0" . '2' . "\0" . '1' . "\0" . ':' . "\0" . '1' . "\0" . '6' . "\0" . ':' . "\0" . '1' . "\0" . '0' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . '"' . "\0" . '>' . "\0" . ' ' . "\0" . ' ' . "\0" . '<' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'R' . "\0" . 'D' . "\0" . 'F' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'w' . "\0" . 'w' . "\0" . 'w' . "\0" . '.' . "\0" . 'w' . "\0" . '3' . "\0" . '.' . "\0" . 'o' . "\0" . 'r' . "\0" . 'g' . "\0" . '/' . "\0" . '1' . "\0" . '9' . "\0" . '9' . "\0" . '9' . "\0" . '/' . "\0" . '0' . "\0" . '2' . "\0" . '/' . "\0" . '2' . "\0" . '2' . "\0" . '-' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . '-' . "\0" . 's' . "\0" . 'y' . "\0" . 'n' . "\0" . 't' . "\0" . 'a' . "\0" . 'x' . "\0" . '-' . "\0" . 'n' . "\0" . 's' . "\0" . '#' . "\0" . '"' . "\0" . '>' . "\0" . ' ' . "\0" . ' ' . "\0" . '<' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'e' . "\0" . 's' . "\0" . 'c' . "\0" . 'r' . "\0" . 'i' . "\0" . 'p' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . 'n' . "\0" . ' ' . "\0" . ' ' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'a' . "\0" . 'b' . "\0" . 'o' . "\0" . 'u' . "\0" . 't' . "\0" . '=' . "\0" . '"' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'n' . "\0" . 's' . "\0" . '.' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . '.' . "\0" . 'c' . "\0" . 'o' . "\0" . 'm' . "\0" . '/' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . '/' . "\0" . '1' . "\0" . '.' . "\0" . '0' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'n' . "\0" . 's' . "\0" . '.' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . '.' . "\0" . 'c' . "\0" . 'o' . "\0" . 'm' . "\0" . '/' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . '/' . "\0" . '1' . "\0" . '.' . "\0" . '0' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'i' . "\0" . 'g' . "\0" . 'i' . "\0" . 't' . "\0" . 'a' . "\0" . 'l' . "\0" . 'Z' . "\0" . 'o' . "\0" . 'o' . "\0" . 'm' . "\0" . 'R' . "\0" . 'a' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . '=' . "\0" . '"' . "\0" . '0' . "\0" . '/' . "\0" . '1' . "\0" . '0' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . ':' . "\0" . 'L' . "\0" . 'a' . "\0" . 'b' . "\0" . 'e' . "\0" . 'l' . "\0" . '=' . "\0" . '"ÛêßÍ' . "\0" . '"' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'e' . "\0" . 's' . "\0" . 'c' . "\0" . 'r' . "\0" . 'i' . "\0" . 'p' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . 'n' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'R' . "\0" . 'D' . "\0" . 'F' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '?' . "\0" . 'x' . "\0" . 'p' . "\0" . 'a' . "\0" . 'c' . "\0" . 'k' . "\0" . 'e' . "\0" . 't' . "\0" . ' ' . "\0" . 'e' . "\0" . 'n' . "\0" . 'd' . "\0" . '=' . "\0" . '"' . "\0" . 'w' . "\0" . '"' . "\0" . '?' . "\0" . '>' . "\0" . ' ', array(array('0/10'), array('ô¯')), '[utf16BE.xmp] UTF-16BE encoding') [utf16BE.xmp] UTF-16BE encoding Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) - 'xmp-general' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 27) XMPTest::testXMPParse with data set #14 ('<' . "\0" . '?' . "\0" . 'x' . "\0" . 'p' . "\0" . 'a' . "\0" . 'c' . "\0" . 'k' . "\0" . 'e' . "\0" . 't' . "\0" . ' ' . "\0" . 'b' . "\0" . 'e' . "\0" . 'g' . "\0" . 'i' . "\0" . 'n' . "\0" . '=' . "\0" . '"' . "\0" . 'ÿþ"' . "\0" . ' ' . "\0" . 'i' . "\0" . 'd' . "\0" . '=' . "\0" . '"' . "\0" . 'W' . "\0" . '5' . "\0" . 'M' . "\0" . '0' . "\0" . 'M' . "\0" . 'p' . "\0" . 'C' . "\0" . 'e' . "\0" . 'h' . "\0" . 'i' . "\0" . 'H' . "\0" . 'z' . "\0" . 'r' . "\0" . 'e' . "\0" . 'S' . "\0" . 'z' . "\0" . 'N' . "\0" . 'T' . "\0" . 'c' . "\0" . 'z' . "\0" . 'k' . "\0" . 'c' . "\0" . '9' . "\0" . 'd' . "\0" . '"' . "\0" . '?' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'x' . "\0" . '=' . "\0" . '"' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . ':' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 't' . "\0" . 'k' . "\0" . '=' . "\0" . '"' . "\0" . 'A' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . ' ' . "\0" . 'X' . "\0" . 'M' . "\0" . 'P' . "\0" . ' ' . "\0" . 'C' . "\0" . 'o' . "\0" . 'r' . "\0" . 'e' . "\0" . ' ' . "\0" . ' ' . "\0" . '4' . "\0" . '.' . "\0" . '1' . "\0" . '.' . "\0" . '3' . "\0" . '-' . "\0" . 'c' . "\0" . '0' . "\0" . '0' . "\0" . '1' . "\0" . ' ' . "\0" . '4' . "\0" . '9' . "\0" . '.' . "\0" . '2' . "\0" . '8' . "\0" . '2' . "\0" . '6' . "\0" . '9' . "\0" . '6' . "\0" . ',' . "\0" . ' ' . "\0" . 'M' . "\0" . 'o' . "\0" . 'n' . "\0" . ' ' . "\0" . 'A' . "\0" . 'p' . "\0" . 'r' . "\0" . ' ' . "\0" . '0' . "\0" . '2' . "\0" . ' ' . "\0" . '2' . "\0" . '0' . "\0" . '0' . "\0" . '7' . "\0" . ' ' . "\0" . '2' . "\0" . '1' . "\0" . ':' . "\0" . '1' . "\0" . '6' . "\0" . ':' . "\0" . '1' . "\0" . '0' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . ' ' . "\0" . '"' . "\0" . '>' . "\0" . ' ' . "\0" . ' ' . "\0" . '<' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'R' . "\0" . 'D' . "\0" . 'F' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'w' . "\0" . 'w' . "\0" . 'w' . "\0" . '.' . "\0" . 'w' . "\0" . '3' . "\0" . '.' . "\0" . 'o' . "\0" . 'r' . "\0" . 'g' . "\0" . '/' . "\0" . '1' . "\0" . '9' . "\0" . '9' . "\0" . '9' . "\0" . '/' . "\0" . '0' . "\0" . '2' . "\0" . '/' . "\0" . '2' . "\0" . '2' . "\0" . '-' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . '-' . "\0" . 's' . "\0" . 'y' . "\0" . 'n' . "\0" . 't' . "\0" . 'a' . "\0" . 'x' . "\0" . '-' . "\0" . 'n' . "\0" . 's' . "\0" . '#' . "\0" . '"' . "\0" . '>' . "\0" . ' ' . "\0" . ' ' . "\0" . '<' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'e' . "\0" . 's' . "\0" . 'c' . "\0" . 'r' . "\0" . 'i' . "\0" . 'p' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . 'n' . "\0" . ' ' . "\0" . ' ' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'a' . "\0" . 'b' . "\0" . 'o' . "\0" . 'u' . "\0" . 't' . "\0" . '=' . "\0" . '"' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'n' . "\0" . 's' . "\0" . '.' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . '.' . "\0" . 'c' . "\0" . 'o' . "\0" . 'm' . "\0" . '/' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . '/' . "\0" . '1' . "\0" . '.' . "\0" . '0' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'm' . "\0" . 'l' . "\0" . 'n' . "\0" . 's' . "\0" . ':' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . '=' . "\0" . '"' . "\0" . 'h' . "\0" . 't' . "\0" . 't' . "\0" . 'p' . "\0" . ':' . "\0" . '/' . "\0" . '/' . "\0" . 'n' . "\0" . 's' . "\0" . '.' . "\0" . 'a' . "\0" . 'd' . "\0" . 'o' . "\0" . 'b' . "\0" . 'e' . "\0" . '.' . "\0" . 'c' . "\0" . 'o' . "\0" . 'm' . "\0" . '/' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . '/' . "\0" . '1' . "\0" . '.' . "\0" . '0' . "\0" . '/' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'e' . "\0" . 'x' . "\0" . 'i' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'i' . "\0" . 'g' . "\0" . 'i' . "\0" . 't' . "\0" . 'a' . "\0" . 'l' . "\0" . 'Z' . "\0" . 'o' . "\0" . 'o' . "\0" . 'm' . "\0" . 'R' . "\0" . 'a' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . '=' . "\0" . '"' . "\0" . '0' . "\0" . '/' . "\0" . '1' . "\0" . '0' . "\0" . '"' . "\0" . ' ' . "\0" . ' ' . "\0" . 'x' . "\0" . 'a' . "\0" . 'p' . "\0" . ':' . "\0" . 'L' . "\0" . 'a' . "\0" . 'b' . "\0" . 'e' . "\0" . 'l' . "\0" . '=' . "\0" . '"' . "\0" . 'êÛÍß"' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'D' . "\0" . 'e' . "\0" . 's' . "\0" . 'c' . "\0" . 'r' . "\0" . 'i' . "\0" . 'p' . "\0" . 't' . "\0" . 'i' . "\0" . 'o' . "\0" . 'n' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'r' . "\0" . 'd' . "\0" . 'f' . "\0" . ':' . "\0" . 'R' . "\0" . 'D' . "\0" . 'F' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '/' . "\0" . 'x' . "\0" . ':' . "\0" . 'x' . "\0" . 'm' . "\0" . 'p' . "\0" . 'm' . "\0" . 'e' . "\0" . 't' . "\0" . 'a' . "\0" . '>' . "\0" . ' ' . "\0" . '<' . "\0" . '?' . "\0" . 'x' . "\0" . 'p' . "\0" . 'a' . "\0" . 'c' . "\0" . 'k' . "\0" . 'e' . "\0" . 't' . "\0" . ' ' . "\0" . 'e' . "\0" . 'n' . "\0" . 'd' . "\0" . '=' . "\0" . '"' . "\0" . 'w' . "\0" . '"' . "\0" . '?' . "\0" . '>' . "\0" . ' ' . "\0" . '', array(array('0/10'), array('ô¯')), '[utf16LE.xmp] UTF-16LE encoding') [utf16LE.xmp] UTF-16LE encoding Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) - 'xmp-general' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 28) XMPTest::testXMPParse with data set #15 ('' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . 'þÿ' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'W' . "\0" . '' . "\0" . '' . "\0" . '5' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'C' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'H' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'S' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'N' . "\0" . '' . "\0" . '' . "\0" . 'T' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'A' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'X' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'P' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'C' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '4' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '3' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '4' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '8' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . ',' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'A' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '7' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'F' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '3' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'y' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '#' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'u' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'Z' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'L' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '«Í' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'F' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ', array(array('0/10'), array('ô¯')), '[utf32BE.xmp] UTF-32BE encoding') [utf32BE.xmp] UTF-32BE encoding Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) - 'xmp-general' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 29) XMPTest::testXMPParse with data set #16 ('<' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'ÿþ' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'W' . "\0" . '' . "\0" . '' . "\0" . '5' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'C' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'H' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'S' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'N' . "\0" . '' . "\0" . '' . "\0" . 'T' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'z' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'A' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'X' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'P' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'C' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '4' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '3' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '4' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '8' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . ',' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'M' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'A' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '7' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '6' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'F' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '3' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '9' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '2' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'y' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . '-' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '#' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'u' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'h' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '.' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'g' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . 'Z' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . '1' . "\0" . '' . "\0" . '' . "\0" . '0' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'L' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'b' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'l' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'Í«' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 's' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'i' . "\0" . '' . "\0" . '' . "\0" . 'o' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'r' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . 'f' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'R' . "\0" . '' . "\0" . '' . "\0" . 'D' . "\0" . '' . "\0" . '' . "\0" . 'F' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '/' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . ':' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'm' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '<' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . 'x' . "\0" . '' . "\0" . '' . "\0" . 'p' . "\0" . '' . "\0" . '' . "\0" . 'a' . "\0" . '' . "\0" . '' . "\0" . 'c' . "\0" . '' . "\0" . '' . "\0" . 'k' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 't' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . 'e' . "\0" . '' . "\0" . '' . "\0" . 'n' . "\0" . '' . "\0" . '' . "\0" . 'd' . "\0" . '' . "\0" . '' . "\0" . '=' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . 'w' . "\0" . '' . "\0" . '' . "\0" . '"' . "\0" . '' . "\0" . '' . "\0" . '?' . "\0" . '' . "\0" . '' . "\0" . '>' . "\0" . '' . "\0" . '' . "\0" . ' ' . "\0" . '' . "\0" . '' . "\0" . '', array(array('0/10'), array('ô¯')), '[utf32LE.xmp] UTF-32LE encoding') [utf32LE.xmp] UTF-32LE encoding Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) - 'xmp-general' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 30) XMPTest::testXMPParse with data set #17 ('<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.3-c001 49.282696, Mon Apr 02 2007 21:16:10 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:xmpNote="http://ns.adobe.com/xmp/note/" exif:DigitalZoomRatio="0/10" xmpNote:HasExtendedXMP="28C74E0AC2D796886759006FBE2E57B7"> <exif:Flash rdf:parseType=\'Resource\'> <exif:Fired>True</exif:Fired> <exif:Return>0</exif:Return> <exif:Mode>1</exif:Mode> <exif:Function>False</exif:Function> <exif:RedEyeMode>False</exif:RedEyeMode></exif:Flash> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ', array(array('0/10', '9')), '[xmpExt.xmp] Extended XMP missing second part') [xmpExt.xmp] Extended XMP missing second part Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 31) XMPTest::testXMPParse with data set #18 ('<?xpacket begin=\'\' id=\'W5M0MpCehiHzreSzNTczkc9d\'?> <x:xmpmeta xmlns:x=\'adobe:ns:meta/\' x:xmptk=\'Image::ExifTool 7.30\'> <rdf:RDF xmlns:rdf=\'http://www.w3.org/1999/02/22-rdf-syntax-ns#\'> <rdf:Description rdf:about=\'\' xmlns:exif=\'http://ns.adobe.com/exif/1.0/\'> <exif:GPSAltitude>103993/33102</exif:GPSAltitude> <exif:GPSAltitudeRef>1</exif:GPSAltitudeRef> <exif:GPSDOP>5/1</exif:GPSDOP> <exif:GPSLatitude>88,31.083333N</exif:GPSLatitude> <exif:GPSLongitude>21,7.414167W</exif:GPSLongitude> <exif:GPSVersionID>2.2.0.0</exif:GPSVersionID> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end=\'w\'?> ', array(array(-3.14159265301, '5/1', 88.51805555, -21.12356945, '2.2.0.0')), '[gps.xmp] Handling of exif GPS parameters in XMP') [gps.xmp] Handling of exif GPS parameters in XMP Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:32 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 32) XMPTest::testExtendedXMP Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:111 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 33) XMPTest::testExtendedXMPWithWrongGUID Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:142 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 34) XMPTest::testExtendedXMPMissingPacket Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'xmp-exif' => Array (...) ) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:173 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 35) XMPTest::testCheckParseSafety Check for false-positive detecting doctype in fragmented XML Failed asserting that false is true. /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/XMPTest.php:211 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 -- There were 36 risky tests: 1) MWNamespaceTest::testIsMovable Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 2) MWNamespaceTest::testIsCapitalizedWithWgCapitalLinkOverrides Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 3) StatusTest::testGetWikiText with data set "GoodStatus" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getWikiText called for a good re | +------+---------------------------+------------------------------------------+ , 'Internal error: Status::getWikiText called for a good result, this is incorrect ', '<p>Internal error: Status::getWikiText called for a good result, this is incorrect </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 4) StatusTest::testGetWikiText with data set "GoodButNoError" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getWikiText: Invalid result obje | +------+---------------------------+------------------------------------------+ , 'Internal error: Status::getWikiText: Invalid result object: no error text but not OK ', '<p>Internal error: Status::getWikiText: Invalid result object: no error text but not OK </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 5) StatusTest::testGetWikiText with data set "1StringWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | | +------+---------------------------+------------------------------------------+ , '<fooBar!>', '<p><fooBar!> </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 6) StatusTest::testGetWikiText with data set "2StringWarnings" (<OK, collected 2 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | | | 2 | fooBar2! | | +------+---------------------------+------------------------------------------+ , '* <fooBar!> * <fooBar2!> ', '<ul><li> <fooBar!></li> <li> <fooBar2!></li></ul> ') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 7) StatusTest::testGetWikiText with data set "1MessageWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | +------+---------------------------+------------------------------------------+ , '<fooBar!>', '<p><fooBar!> </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 8) StatusTest::testGetWikiText with data set "2MessageWarnings" (<OK, collected 2 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | | 2 | fooBar2! | | +------+---------------------------+------------------------------------------+ , '* <fooBar!> * <fooBar2!> ', '<ul><li> <fooBar!></li> <li> <fooBar2!></li></ul> ') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 9) StatusTest::testGetHtml with data set "GoodStatus" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getWikiText called for a good re | +------+---------------------------+------------------------------------------+ , 'Internal error: Status::getWikiText called for a good result, this is incorrect ', '<p>Internal error: Status::getWikiText called for a good result, this is incorrect </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 10) StatusTest::testGetHtml with data set "GoodButNoError" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getWikiText: Invalid result obje | +------+---------------------------+------------------------------------------+ , 'Internal error: Status::getWikiText: Invalid result object: no error text but not OK ', '<p>Internal error: Status::getWikiText: Invalid result object: no error text but not OK </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 11) StatusTest::testGetHtml with data set "1StringWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | | +------+---------------------------+------------------------------------------+ , '<fooBar!>', '<p><fooBar!> </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 12) StatusTest::testGetHtml with data set "2StringWarnings" (<OK, collected 2 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | | | 2 | fooBar2! | | +------+---------------------------+------------------------------------------+ , '* <fooBar!> * <fooBar2!> ', '<ul><li> <fooBar!></li> <li> <fooBar2!></li></ul> ') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 13) StatusTest::testGetHtml with data set "1MessageWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | +------+---------------------------+------------------------------------------+ , '<fooBar!>', '<p><fooBar!> </p>') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 14) StatusTest::testGetHtml with data set "2MessageWarnings" (<OK, collected 2 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | | 2 | fooBar2! | | +------+---------------------------+------------------------------------------+ , '* <fooBar!> * <fooBar2!> ', '<ul><li> <fooBar!></li> <li> <fooBar2!></li></ul> ') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 15) StatusTest::testGetMessage with data set "GoodStatus" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getMessage called for a good res | +------+---------------------------+------------------------------------------+ , array('Status::getMessage called for a good result, this is incorrect '), 'internalerror_info') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 16) StatusTest::testGetMessage with data set "GoodButNoError" (<Error, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | internalerror_info | Status::getMessage: Invalid result objec | +------+---------------------------+------------------------------------------+ , array('Status::getMessage: Invalid result object: no error text but not OK '), 'internalerror_info') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 17) StatusTest::testGetMessage with data set "1StringWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | | +------+---------------------------+------------------------------------------+ , array(), 'fooBar!') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 18) StatusTest::testGetMessage with data set "1MessageWarning" (<OK, collected 1 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | +------+---------------------------+------------------------------------------+ , array('foo', 'bar'), 'fooBar!') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 19) StatusTest::testGetMessage with data set "2MessageWarnings" (<OK, collected 2 error(s) on the way, no value set> +------+---------------------------+------------------------------------------+ | 1 | fooBar! | foo bar | | 2 | fooBar2! | | +------+---------------------------+------------------------------------------+ , array(<fooBar!>, <fooBar2!>), '* $1 * $2') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 20) TitlePermissionTest::testQuickPermissions Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 21) TitlePermissionTest::testSpecialsAndNSPermissions Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 22) TitlePermissionTest::testCssAndJavascriptPermissions Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 23) TitlePermissionTest::testPageRestrictions Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 24) TitlePermissionTest::testActionPermissions Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 25) TitleTest::testGetSubpageText with data set #0 ('User:John_Doe/subOne/subTwo', 'subTwo') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 26) TitleTest::testGetSubpageText with data set #1 ('User:John_Doe/subOne', 'subOne') Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 27) EnhancedChangesListTest::testRecentChangesLine Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 28) EnhancedChangesListTest::testEndRecentChangesList Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 29) DatabaseSqliteTest::testUpgrades Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 30) XMPTest::testExtendedXMP Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 31) WikiPageTest::testDoRollback Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 32) SpecialPreferencesTest::testBug41337 Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 33) UploadStashTest::testBug29408 Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 34) IPTest::testSanitizeIP Test method is annotated with @todo 35) LanguageArTest::testFormatNum Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 36) LanguageNlTest::testFormatNum Test method is annotated with @todo /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 -- There were 22 skipped tests: 1) HtmlFormatterTest::testTransform with data set #0 ('<img src="/foo/bar.jpg" alt="Blah"/>', '', array('<img src="/foo/bar.jpg" alt="Blah">'), Closure) Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 2) HtmlFormatterTest::testTransform with data set #1 ('<table><tr><td>foo</td></tr></table><div class="foo">foo</div><div class="foo quux">foo</div><span id="bar">bar</span> <strong class="foo" id="bar">foobar</strong><div class="notfoo">test</div><div class="baz"/> <span class="baz">baz</span>', '<div class="notfoo">test</div> <span class="baz">baz</span>', array('<table><tr><td>foo</td></tr></table>', '<div class="foo">foo</div>', '<div class="foo quux">foo</div>', '<span id="bar">bar</span>', '<strong class="foo" id="bar">foobar</strong>', '<div class="baz"/>'), Closure) Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 3) HtmlFormatterTest::testTransform with data set #2 ('<div><s>foo</s> <span>bar</span></div>', 'foo <span>bar</span>', array(), Closure) Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 4) HtmlFormatterTest::testTransform with data set #3 ('<div style="foo">bar<sup>2</sup></div>', 'bar2', array(), Closure) Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 5) HtmlFormatterTest::testTransform with data set #4 ('<span title="" \' &"><ТеÑÑ!></span> &<&&&&', '<span title="" \' &"><ТеÑÑ!></span> &<&&&&', array(), Closure) Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 6) HtmlFormatterTest::testTransform with data set #5 ('Foo<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup> <a href="/wiki/Bar" title="Bar" class="mw-redirect">Bar</a>', 'Foo<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup> <a href="/wiki/Bar" title="Bar" class="mw-redirect">Bar</a>') Tidy extension not installed /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1128 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:1107 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/HtmlFormatterTest.php:45 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 7) ImportTest::testHandlePageContainsRedirect with data set #0 ('<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en"> <page> <title>Test</title> <ns>0</ns> <id>21</id> <redirect title="Test22"/> <revision> <id>20</id> <timestamp>2014-05-27T10:00:00Z</timestamp> <contributor> <username>Admin</username> <id>10</id> </contributor> <comment>Admin moved page [[Test]] to [[Test22]]</comment> <model>wikitext</model> <format>text/x-wiki</format> <text xml:space="preserve" bytes="20">#REDIRECT [[Test22]]</text> <sha1>tq456o9x3abm7r9ozi6km8yrbbc56o6</sha1> </revision> </page> </mediawiki>', 'Test22') bug 73283: this test needs allow_url_fopen to be enabled /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:14 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:31 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 8) ImportTest::testHandlePageContainsRedirect with data set #1 ('<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.9/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.9/ http://www.mediawiki.org/xml/export-0.9.xsd" version="0.9" xml:lang="en"> <page> <title>Test</title> <ns>0</ns> <id>42</id> <revision> <id>421</id> <timestamp>2014-05-27T11:00:00Z</timestamp> <contributor> <username>Admin</username> <id>10</id> </contributor> <text xml:space="preserve" bytes="4">Abcd</text> <sha1>n7uomjq96szt60fy5w3x7ahf7q8m8rh</sha1> <model>wikitext</model> <format>text/x-wiki</format> </revision> </page> </mediawiki>', NULL) bug 73283: this test needs allow_url_fopen to be enabled /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:14 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:31 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 9) ImportTest::testSiteInfoContainsNamespaces with data set #0 ('<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en"> <siteinfo> <namespaces> <namespace key="-2" case="first-letter">Media</namespace> <namespace key="-1" case="first-letter">Special</namespace> <namespace key="0" case="first-letter" /> <namespace key="1" case="first-letter">Talk</namespace> <namespace key="2" case="first-letter">User</namespace> <namespace key="3" case="first-letter">User talk</namespace> <namespace key="100" case="first-letter">Portal</namespace> <namespace key="101" case="first-letter">Portal talk</namespace> </namespaces> </siteinfo> </mediawiki>', array('Media', 'Special', '', 'Talk', 'User', 'User talk', 'Portal', 'Portal talk')) bug 73283: this test needs allow_url_fopen to be enabled /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:14 /usr/home/saper/public_html/ybabel/tests/phpunit/includes/ImportTest.php:117 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 10) MemoizedCallableTest::testCallableMemoized Function apc_store is required. 11) ExifBitmapTest::testSwappingICCProfile with data set #0 ('srgb.jpg', 'tinyrgb.jpg', 'tinyrgb.icc', 'IEC 61966-2.1 Default RGB colour space - sRGB') Exiftool not installed, cannot test ICC profile swapping /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/ExifBitmapTest.php:157 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 12) ExifBitmapTest::testSwappingICCProfile with data set #1 ('tinyrgb.jpg', 'tinyrgb.jpg', 'tinyrgb.icc', 'IEC 61966-2.1 Default RGB colour space - sRGB') Exiftool not installed, cannot test ICC profile swapping /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/ExifBitmapTest.php:157 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 13) ExifBitmapTest::testSwappingICCProfile with data set #2 ('test.jpg', 'test.jpg', 'tinyrgb.icc', 'IEC 61966-2.1 Default RGB colour space - sRGB') Exiftool not installed, cannot test ICC profile swapping /usr/home/saper/public_html/ybabel/tests/phpunit/includes/media/ExifBitmapTest.php:157 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 14) TidyTest::testTidyWrapping with data set #0 ('<mw:editsection page="foo" section="bar">foo</mw:editsection>', '<mw:editsection page="foo" section="bar">foo</mw:editsection>', '<mw:editsection> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 15) TidyTest::testTidyWrapping with data set #1 ('<editsection page="foo" section="bar">foo</editsection>', '<editsection page="foo" section="bar">foo</editsection>', '<editsection> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 16) TidyTest::testTidyWrapping with data set #2 ('<mw:toc>foo</mw:toc>', '<mw:toc>foo</mw:toc>', '<mw:toc> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 17) TidyTest::testTidyWrapping with data set #3 ('<link foo="bar" /> foo', '<link foo="bar"/>foo', '<link> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 18) TidyTest::testTidyWrapping with data set #4 ('<meta foo="bar" /> foo', '<meta foo="bar"/>foo', '<meta> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 19) TidyTest::testTidyWrapping with data set #5 ('<math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>a</mi> <mo>⁢</mo> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mi>b</mi> <mo>⁢ </mo> <mi>x</mi> <mo>+</mo> <mi>c</mi> </mrow> </math>', '<math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>a</mi> <mo>⁢</mo> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mi>b</mi> <mo>⁢ </mo> <mi>x</mi> <mo>+</mo> <mi>c</mi> </mrow> </math>', '<math> should survive tidy') Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 20) TidyTest::testMediaWikiTestCaseParentSetupCalled Tidy not found /usr/home/saper/public_html/ybabel/tests/phpunit/includes/parser/TidyTest.php:11 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 21) QueryAllSpecialPagesTest::testQuerypageSqlQuery SQL query for page BrokenRedirects can not be tested on MySQL backend (it reopens a temporary table) /usr/home/saper/public_html/ybabel/tests/phpunit/includes/specials/QueryAllSpecialPagesTest.php:60 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 22) LanguageTest::testKnownCldrLanguageTag The LanguageNames class is not available. The CLDR extension is probably not installed. /usr/home/saper/public_html/ybabel/tests/phpunit/languages/LanguageTest.php:505 /usr/home/saper/public_html/ybabel/tests/phpunit/MediaWikiTestCase.php:137 FAILURES! Tests: 10691, Assertions: 56750, Failures: 35, Skipped: 22. Script done on Sun Oct 25 00:59:32 2015 _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
