Server IP : 127.0.0.2 / Your IP : 18.191.53.120 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/vendor/phpunit/phpunit/tests/TextUI/ |
Upload File : |
--TEST-- phpunit --process-isolation FailureTest ../_files/FailureTest.php --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = '--process-isolation'; $_SERVER['argv'][3] = 'FailureTest'; $_SERVER['argv'][4] = __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: %s There were 13 failures: 1) FailureTest::testAssertArrayEqualsArray message Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 0 => 1 + 0 => 2 ) %s:%i 2) FailureTest::testAssertIntegerEqualsInteger message Failed asserting that 2 matches expected 1. %s:%i 3) FailureTest::testAssertObjectEqualsObject message Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ stdClass Object ( - 'foo' => 'bar' + 'bar' => 'foo' ) %s:%i 4) FailureTest::testAssertNullEqualsString message Failed asserting that 'bar' matches expected null. %s:%i 5) FailureTest::testAssertStringEqualsString message Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'foo' +'bar' %s:%i 6) FailureTest::testAssertTextEqualsText message Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ 'foo -bar +baz ' %s:%i 7) FailureTest::testAssertStringMatchesFormat message Failed asserting that format description matches text. --- Expected +++ Actual @@ @@ -*%s* +** %s:%i 8) FailureTest::testAssertNumericEqualsNumeric message Failed asserting that 2 matches expected 1. %s:%i 9) FailureTest::testAssertTextSameText message Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -foo +bar %s:%i 10) FailureTest::testAssertObjectSameObject message Failed asserting that two variables reference the same object. %s:%i 11) FailureTest::testAssertObjectSameNull message Failed asserting that null is identical to an object of class "stdClass". %s:%i 12) FailureTest::testAssertFloatSameFloat message Failed asserting that 1.5 is identical to 1.0. %s:%i 13) FailureTest::testAssertStringMatchesFormatFile Failed asserting that format description matches text. --- Expected +++ Actual @@ @@ -FOO - +...BAR... %s:%i FAILURES! Tests: 13, Assertions: 14, Failures: 13.