Page MenuHomePhabricator
Paste P2234

allow_url_fopen_false
ActivePublic

Authored by saper on Oct 26 2015, 11:52 PM.
Tags
None
Referenced Files
F2878378: allow_url_fopen_false
Oct 26 2015, 11:52 PM
Subscribers
None
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
F.....F........................................................ 63 / 267 ( 23%)
.....................F.F........F.............................. 126 / 267 ( 47%)
...............................F.F............................. 189 / 267 ( 70%)
..................................FFFFFFFFFF.FFFFFFFF.RFFFF.... 252 / 267 ( 94%)
................
Time: 5.83 seconds, Memory: 51.75Mb
There were 29 failures:
1) 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
2) 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
3) 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
4) 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
5) <-- not relevant here -->
6) 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
7) 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
8) 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
9) 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
...

Event Timeline

saper changed the title of this paste from untitled to allow_url_fopen_false.
saper updated the paste's language from autodetect to autodetect.