Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created January 8, 2020 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radmiraal/3451988b880292deb9e98d89277749c9 to your computer and use it in GitHub Desktop.
Save radmiraal/3451988b880292deb9e98d89277749c9 to your computer and use it in GitHub Desktop.
PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
............................................................. 61 / 1179 ( 5%)
............................................................. 122 / 1179 ( 10%)
............................................................. 183 / 1179 ( 15%)
............................................................. 244 / 1179 ( 20%)
............................................................. 305 / 1179 ( 25%)
...................................F......................... 366 / 1179 ( 31%)
............................FF..FF.F......................... 427 / 1179 ( 36%)
............................................................. 488 / 1179 ( 41%)
............................................................. 549 / 1179 ( 46%)
............................................................. 610 / 1179 ( 51%)
............................................................. 671 / 1179 ( 56%)
............................................................. 732 / 1179 ( 62%)
............................................................. 793 / 1179 ( 67%)
............................................................. 854 / 1179 ( 72%)
............................................................. 915 / 1179 ( 77%)
........SSSSSSSSSSSSSSSSSSSS..................SSSSSSSSSSSSSSS 976 / 1179 ( 82%)
SSS......................................SSSSSSSSSSSSSSSSSSSS 1037 / 1179 ( 87%)
SSSSSSSSSSSSSSSSSS.S...SSS...................SSSSSSSSSSSSSSSS 1098 / 1179 ( 93%)
SSS..SS.........SSSSSSSSS..........S.....................FF... 1159 / 1179 ( 98%)
..............FF..... 1179 / 1179 (100%)
Time: 636 ms, Memory: 36.00 MB
There were 8 failures:
1) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\PatternsTest::testSPLIT_PATTERN_SHORTHANDSYNTAX_ARRAY_PARTS
The regular expression splitting the array apart does not work!
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
1 => 'e: {c:d, "e#":f, 'g': "h"}'
'Key' => 'e'
2 => 'e'
- 'QuotedString' => ''
- 3 => ''
- 'VariableIdentifier' => ''
- 4 => ''
+ 'QuotedString' => '"h"'
+ 3 => '"h"'
+ 'VariableIdentifier' => 'f'
+ 4 => 'f'
'Number' => ''
5 => ''
'Subarray' => 'c:d, "e#":f, 'g': "h"'
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserPatternTest.php:420
2) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\TemplateParserTest::testRecursiveArrayHandler with data set "Single subarray" ('array: {number: 123, string: ...ifier}', array(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c254000000004c064066 (
- 'internalArray' => Array &0 (
- 'number' => 123
- 'string' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object &000000004de0c257000000004c064066 (
- 'text' => 'some.string'
- 'childNodes' => Array &1 ()
- )
- 'identifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c256000000004c064066 (
- 'objectPath' => 'some.identifier'
- 'accessors' => Array &2 ()
- 'childNodes' => Array &3 ()
- )
- )
- 'childNodes' => Array &4 ()
+ 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0d124000000004c064066 (
+ 'objectPath' => 'some.identifier'
+ 'accessors' => Array &0 ()
+ 'childNodes' => Array &1 ()
)
)
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserTest.php:995
3) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\TemplateParserTest::testRecursiveArrayHandler with data set "Single subarray with numerical ids" ('array: {0: 123, 1: 'some.stri...ifier}', array(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c251000000004c064066 (
- 'internalArray' => Array &0 (
- 0 => 123
- 1 => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object &000000004de0c250000000004c064066 (
- 'text' => 'some.string'
- 'childNodes' => Array &1 ()
- )
- 2 => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c253000000004c064066 (
- 'objectPath' => 'some.identifier'
- 'accessors' => Array &2 ()
- 'childNodes' => Array &3 ()
- )
- )
- 'childNodes' => Array &4 ()
+ 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c76d000000004c064066 (
+ 'objectPath' => 'some.identifier'
+ 'accessors' => Array &0 ()
+ 'childNodes' => Array &1 ()
)
)
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserTest.php:995
4) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\TemplateParserTest::testRecursiveArrayHandler with data set "Nested subarray" ('array: {number: 123, string: ...fier}}', array(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c26e000000004c064066 (
- 'internalArray' => Array &0 (
- 'number' => 123
- 'string' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object &000000004de0c269000000004c064066 (
- 'text' => 'some.string'
- 'childNodes' => Array &1 ()
- )
- 'identifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c268000000004c064066 (
- 'objectPath' => 'some.identifier'
- 'accessors' => Array &2 ()
- 'childNodes' => Array &3 ()
- )
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c26b000000004c064066 (
- 'internalArray' => Array &4 (
- 'number' => 123
- 'string' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object &000000004de0c26a000000004c064066 (
- 'text' => 'some.string'
- 'childNodes' => Array &5 ()
- )
- 'identifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c265000000004c064066 (
- 'objectPath' => 'some.identifier'
- 'accessors' => Array &6 ()
- 'childNodes' => Array &7 ()
- )
- )
- 'childNodes' => Array &8 ()
- )
- )
- 'childNodes' => Array &9 ()
+ 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0d13a000000004c064066 (
+ 'objectPath' => 'some.identifier'
+ 'accessors' => Array &0 ()
+ 'childNodes' => Array &1 ()
)
)
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserTest.php:995
5) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\TemplateParserTest::testRecursiveArrayHandler with data set "Mixed types" ('number: 123, string: 'some.st...ifier}', array(123, TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object (...), TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object (...), TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
'number' => 123
'string' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object (...)
'identifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object (...)
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c266000000004c064066 (
- 'internalArray' => Array &0 (
- 'number' => 123
- 'string' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode Object &000000004de0c261000000004c064066 (
- 'text' => 'some.string'
- 'childNodes' => Array &1 ()
- )
- 'identifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c260000000004c064066 (
- 'objectPath' => 'some.identifier'
- 'accessors' => Array &2 ()
- 'childNodes' => Array &3 ()
- )
- )
- 'childNodes' => Array &4 ()
+ 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0d14d000000004c064066 (
+ 'objectPath' => 'some.identifier'
+ 'accessors' => Array &0 ()
+ 'childNodes' => Array &1 ()
)
)
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserTest.php:995
6) TYPO3Fluid\Fluid\Tests\Unit\Core\Parser\TemplateParserTest::testRecursiveArrayHandler with data set "variable identifier in array" ('array: {variableIdentifier: '...ex}}'}', array(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ArrayNode Object &000000004de0c27f000000004c064066 (
- 'internalArray' => Array &0 (
- 'variableIdentifier' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode Object &000000004de0c27d000000004c064066 (
- 'childNodes' => Array &1 (
- 0 => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0c27c000000004c064066 (
- 'objectPath' => 'some.{index}'
- 'accessors' => Array &2 ()
- 'childNodes' => Array &3 ()
- )
- )
+ 'array' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode Object &000000004de0d145000000004c064066 (
+ 'childNodes' => Array &0 (
+ 0 => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode Object &000000004de0d147000000004c064066 (
+ 'objectPath' => 'some.{index}'
+ 'accessors' => Array &1 ()
+ 'childNodes' => Array &2 ()
)
)
- 'childNodes' => Array &4 ()
)
)
/home/****/fluid-bug/Fluid/tests/Unit/Core/Parser/TemplateParserTest.php:995
7) TYPO3Fluid\Fluid\Tests\Functional\ExamplesTest::testExampleScriptFileWithoutCache with data set "example_variables.php" ('example_variables.php', array('Simple variable: string foo', 'A string with numbers in it: 132', 'Ditto, with type name stored ...e: 132', 'A comma-separated value itera... - two', 'String variable name with dyn...amic1.', 'String variable name with dyn...amic2.', 'Array member in $array[$dynam...amic1]', 'Array member in $array[$dynam...amic2]', 'Output of variable whose name...ng foo', 'Direct access of numeric pref...riable', 'Aliased access of numeric pre...riable', 'Escaped ternary expression: &.../b&gt;', 'Escaped cast expression: &lt;.../b&gt;', 'Received $array.foobar with v...g</b>)', 'Received $array.printf with f...matted', 'Received $array.baz with value 42', 'Received $array.xyz.foobar wi...string', 'Received $myVariable with val...string'))
Failed asserting that '' contains "Simple variable: string foo".
/home/****/fluid-bug/Fluid/tests/Functional/ExamplesTest.php:67
8) TYPO3Fluid\Fluid\Tests\Functional\ExamplesTest::testExampleScriptFileWithCache with data set "example_variables.php" ('example_variables.php', array('Simple variable: string foo', 'A string with numbers in it: 132', 'Ditto, with type name stored ...e: 132', 'A comma-separated value itera... - two', 'String variable name with dyn...amic1.', 'String variable name with dyn...amic2.', 'Array member in $array[$dynam...amic1]', 'Array member in $array[$dynam...amic2]', 'Output of variable whose name...ng foo', 'Direct access of numeric pref...riable', 'Aliased access of numeric pre...riable', 'Escaped ternary expression: &.../b&gt;', 'Escaped cast expression: &lt;.../b&gt;', 'Received $array.foobar with v...g</b>)', 'Received $array.printf with f...matted', 'Received $array.baz with value 42', 'Received $array.xyz.foobar wi...string', 'Received $myVariable with val...string'))
Failed asserting that '' contains "Simple variable: string foo".
/home/****/fluid-bug/Fluid/tests/Functional/ExamplesTest.php:67
FAILURES!
Tests: 1179, Assertions: 1736, Failures: 8, Skipped: 111.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment