Skip to content

Instantly share code, notes, and snippets.

@direvus
Created April 4, 2017 05:15
Show Gist options
  • Save direvus/5215629e690aea3bf45b51258164d8e2 to your computer and use it in GitHub Desktop.
Save direvus/5215629e690aea3bf45b51258164d8e2 to your computer and use it in GitHub Desktop.
Tests in phpunit broken by sebastianbergmann/exporter@4722899
PHPUnit 6.1-g253f1d2 by Sebastian Bergmann and contributors.
Runtime: PHP 7.0.15 with Xdebug 2.4.1
Configuration: /home/direvus/src/phpunit/phpunit.xml
............................................................. 61 / 1536 ( 3%)
............................................................. 122 / 1536 ( 7%)
............................................................. 183 / 1536 ( 11%)
............................................................. 244 / 1536 ( 15%)
............................................................. 305 / 1536 ( 19%)
............................................................. 366 / 1536 ( 23%)
............................................................. 427 / 1536 ( 27%)
............................................................. 488 / 1536 ( 31%)
............................................................. 549 / 1536 ( 35%)
............................................................. 610 / 1536 ( 39%)
............................................................. 671 / 1536 ( 43%)
............................................................. 732 / 1536 ( 47%)
........................F........F........................... 793 / 1536 ( 51%)
............................................................. 854 / 1536 ( 55%)
............................................................. 915 / 1536 ( 59%)
............................................................. 976 / 1536 ( 63%)
............................................................. 1037 / 1536 ( 67%)
............................................................. 1098 / 1536 ( 71%)
............................................................. 1159 / 1536 ( 75%)
............................................................. 1220 / 1536 ( 79%)
............................................................. 1281 / 1536 ( 83%)
............................................................. 1342 / 1536 ( 87%)
............................................................. 1403 / 1536 ( 91%)
.......F....................FFF.............................. 1464 / 1536 ( 95%)
............................................................. 1525 / 1536 ( 99%)
F.......... 1536 / 1536 (100%)
Time: 11.05 seconds, Memory: 14.00MB
There were 7 failures:
1) PHPUnit\Framework\ConstraintTest::testConstraintIsEqual2 with data set #3 ('a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk', 'a\np\nc\nd\ne\nf\ng\nh\ni\nw\nk', 'Failed asserting that two str...n k'\n')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'custom message\n
Failed asserting that two strings are equal.\n
--- Expected\n
+++ Actual\n
@@ @@\n
- 'a\n
--b\n
-+p\n
+ 'a\n\n
+-b\n\n
++p\n\n
\n
@@ @@\n
- i\n
--j\n
-+w\n
+ i\n\n
+-j\n\n
++w\n\n
k'\n
'
/home/direvus/src/phpunit/src/Framework/Constraint/IsEqual.php:140
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:541
/home/direvus/src/phpunit/tests/Framework/ConstraintTest.php:850
/home/direvus/src/phpunit/src/Framework/TestCase.php:1041
/home/direvus/src/phpunit/src/Framework/TestCase.php:900
/home/direvus/src/phpunit/src/Framework/TestResult.php:694
/home/direvus/src/phpunit/src/Framework/TestCase.php:855
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
2) PHPUnit\Framework\ConstraintTest::testConstraintIsEqual2 with data set #12 (stdClass Object (...), stdClass Object (...), 'Failed asserting that two obj...\n )\n')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
@@ @@\n
- 'foo' => 'a\n
-- b\n
-+ p\n
+ 'foo' => 'a\n\n
+- b\n\n
++ p\n\n
\n
@@ @@\n
- i\n
-- j\n
-+ w\n
+ i\n\n
+- j\n\n
++ w\n\n
k'\n
)\n
'self' => stdClass Object (...)\n
'c' => stdClass Object (...)\n
)\n
'
/home/direvus/src/phpunit/src/Framework/Constraint/IsEqual.php:140
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:541
/home/direvus/src/phpunit/tests/Framework/ConstraintTest.php:850
/home/direvus/src/phpunit/src/Framework/TestCase.php:1041
/home/direvus/src/phpunit/src/Framework/TestCase.php:900
/home/direvus/src/phpunit/src/Framework/TestResult.php:694
/home/direvus/src/phpunit/src/Framework/TestCase.php:855
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
3) /home/direvus/src/phpunit/tests/TextUI/dataprovider-debug.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
.
-Starting test 'DataProviderDebugTest::testProvider with data set #3 ('this\nis\na\nvery\nvery\nvery\nvery...g\ntext')'.
+Starting test 'DataProviderDebugTest::testProvider with data set #3 ('this\nis\na\nvery\nvery\nvery...\rtext')'.
.
Starting test 'DataProviderDebugTest::testProvider with data set #4 (stdClass Object (), stdClass Object (...), array(), SplObjectStorage Object (...), stdClass Object (...))'.
.
Starting test 'DataProviderDebugTest::testProvider with data set #5 (Binary String: 0x000102030405, Binary String: 0x0e0f101112131...c1d1e1f)'.
.
Starting test 'DataProviderDebugTest::testProvider with data set #6 (Binary String: 0x0009)'.
. 7 / 7 (100%)
Time: 37 ms, Memory: 4.00MB
OK (7 tests, 7 assertions)
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:117
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:62
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:1768
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:126
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:204
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
4) /home/direvus/src/phpunit/tests/TextUI/failure-isolation.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
@@ @@
- 'foo
--bar
-+baz
+ 'foo\n
+-bar\n
++baz\n
'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:39
7) FailureTest::testAssertStringMatchesFormat
message
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-*%s*
+**
/home/direvus/src/phpunit/tests/_files/FailureTest.php:44
8) FailureTest::testAssertNumericEqualsNumeric
message
Failed asserting that 2 matches expected 1.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:49
9) FailureTest::testAssertTextSameText
message
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'foo'
+'bar'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:54
10) FailureTest::testAssertObjectSameObject
message
Failed asserting that two variables reference the same object.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:59
11) FailureTest::testAssertObjectSameNull
message
Failed asserting that null is identical to an object of class "stdClass".
/home/direvus/src/phpunit/tests/_files/FailureTest.php:64
12) FailureTest::testAssertFloatSameFloat
message
Failed asserting that 1.5 is identical to 1.0.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:69
13) FailureTest::testAssertStringMatchesFormatFile
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-FOO
-
+...BAR...
/home/direvus/src/phpunit/tests/_files/FailureTest.php:75
FAILURES!
Tests: 13, Assertions: 14, Failures: 13.
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:117
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:62
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:1768
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:126
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:204
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
5) /home/direvus/src/phpunit/tests/TextUI/failure-reverse-list.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
@@ @@
- 'foo
--bar
-+baz
+ 'foo\n
+-bar\n
++baz\n
'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:39
9) FailureTest::testAssertStringEqualsString
message
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'foo'
+'bar'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:34
10) FailureTest::testAssertNullEqualsString
message
Failed asserting that 'bar' matches expected null.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:29
11) FailureTest::testAssertObjectEqualsObject
message
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ @@
stdClass Object (
- 'foo' => 'bar'
+ 'bar' => 'foo'
)
/home/direvus/src/phpunit/tests/_files/FailureTest.php:24
12) FailureTest::testAssertIntegerEqualsInteger
message
Failed asserting that 2 matches expected 1.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:13
13) FailureTest::testAssertArrayEqualsArray
message
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 0 => 1
+ 0 => 2
)
/home/direvus/src/phpunit/tests/_files/FailureTest.php:8
FAILURES!
Tests: 13, Assertions: 14, Failures: 13.
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:117
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:62
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:1768
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:126
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:204
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
6) /home/direvus/src/phpunit/tests/TextUI/failure.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
@@ @@
- 'foo
--bar
-+baz
+ 'foo\n
+-bar\n
++baz\n
'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:39
7) FailureTest::testAssertStringMatchesFormat
message
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-*%s*
+**
/home/direvus/src/phpunit/tests/_files/FailureTest.php:44
8) FailureTest::testAssertNumericEqualsNumeric
message
Failed asserting that 2 matches expected 1.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:49
9) FailureTest::testAssertTextSameText
message
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'foo'
+'bar'
/home/direvus/src/phpunit/tests/_files/FailureTest.php:54
10) FailureTest::testAssertObjectSameObject
message
Failed asserting that two variables reference the same object.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:59
11) FailureTest::testAssertObjectSameNull
message
Failed asserting that null is identical to an object of class "stdClass".
/home/direvus/src/phpunit/tests/_files/FailureTest.php:64
12) FailureTest::testAssertFloatSameFloat
message
Failed asserting that 1.5 is identical to 1.0.
/home/direvus/src/phpunit/tests/_files/FailureTest.php:69
13) FailureTest::testAssertStringMatchesFormatFile
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-FOO
-
+...BAR...
/home/direvus/src/phpunit/tests/_files/FailureTest.php:75
FAILURES!
Tests: 13, Assertions: 14, Failures: 13.
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:117
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:62
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:1768
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:126
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:204
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
7) /home/direvus/src/phpunit/tests/Regression/GitHub/581.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
1 => 2
- 2 => 'Test\n'
+ 2 => 'Test\r\n'
3 => 4
- 4 => 5
+ 4 => 1
5 => 6
6 => 7
7 => 8
)
/home/direvus/src/phpunit/tests/Regression/GitHub/581/Issue581Test.php:10
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:117
/home/direvus/src/phpunit/src/Framework/Constraint/Constraint.php:62
/home/direvus/src/phpunit/src/Framework/Assert.php:2116
/home/direvus/src/phpunit/src/Framework/Assert.php:1768
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:126
/home/direvus/src/phpunit/src/Runner/PhptTestCase.php:204
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/Framework/TestSuite.php:733
/home/direvus/src/phpunit/src/TextUI/TestRunner.php:526
/home/direvus/src/phpunit/src/TextUI/Command.php:209
/home/direvus/src/phpunit/src/TextUI/Command.php:140
FAILURES!
Tests: 1536, Assertions: 2778, Failures: 7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment