Blame | Last modification | View Log | Download
--TEST--phpunit FailureTest ../_files/FailureTest.php--FILE--<?php$_SERVER['argv'][1] = '--no-configuration';$_SERVER['argv'][2] = 'FailureTest';$_SERVER['argv'][3] = __DIR__ . '/../_files/FailureTest.php';require __DIR__ . '/../bootstrap.php';PHPUnit_TextUI_Command::main();--EXPECTF--PHPUnit %s by Sebastian Bergmann and contributors.FFFFFFFFFFFFF 13 / 13 (100%)Time: %s, Memory: %sThere were 13 failures:1) FailureTest::testAssertArrayEqualsArraymessageFailed asserting that two arrays are equal.--- Expected+++ Actual@@ @@Array (- 0 => 1+ 0 => 2)%s:%i2) FailureTest::testAssertIntegerEqualsIntegermessageFailed asserting that 2 matches expected 1.%s:%i3) FailureTest::testAssertObjectEqualsObjectmessageFailed asserting that two objects are equal.--- Expected+++ Actual@@ @@stdClass Object (- 'foo' => 'bar'+ 'bar' => 'foo')%s:%i4) FailureTest::testAssertNullEqualsStringmessageFailed asserting that 'bar' matches expected null.%s:%i5) FailureTest::testAssertStringEqualsStringmessageFailed asserting that two strings are equal.--- Expected+++ Actual@@ @@-'foo'+'bar'%s:%i6) FailureTest::testAssertTextEqualsTextmessageFailed asserting that two strings are equal.--- Expected+++ Actual@@ @@'foo-bar+baz'%s:%i7) FailureTest::testAssertStringMatchesFormatmessageFailed asserting that format description matches text.--- Expected+++ Actual@@ @@-*%s*+**%s:%i8) FailureTest::testAssertNumericEqualsNumericmessageFailed asserting that 2 matches expected 1.%s:%i9) FailureTest::testAssertTextSameTextmessageFailed asserting that two strings are identical.--- Expected+++ Actual@@ @@-foo+bar%s:%i10) FailureTest::testAssertObjectSameObjectmessageFailed asserting that two variables reference the same object.%s:%i11) FailureTest::testAssertObjectSameNullmessageFailed asserting that null is identical to an object of class "stdClass".%s:%i12) FailureTest::testAssertFloatSameFloatmessageFailed asserting that 1.5 is identical to 1.0.%s:%i13) FailureTest::testAssertStringMatchesFormatFileFailed asserting that format description matches text.--- Expected+++ Actual@@ @@-FOO-+...BAR...%s:%iFAILURES!Tests: 13, Assertions: 14, Failures: 13.