Server IP : 127.0.0.2 / Your IP : 3.138.101.237 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 --testdox-xml php://stdout StatusTest ../_files/StatusTest.php --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = '--report-useless-tests'; $_SERVER['argv'][3] = '--testdox-xml'; $_SERVER['argv'][4] = 'php://stdout'; $_SERVER['argv'][5] = 'StatusTest'; $_SERVER['argv'][6] = __DIR__ . '/../_files/StatusTest.php'; require __DIR__ . '/../bootstrap.php'; PHPUnit_TextUI_Command::main(); --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. .FEISRW 7 / 7 (100%)<?xml version="1.0" encoding="UTF-8"?> <tests> <test className="StatusTest" methodName="testSuccess" prettifiedClassName="Status" prettifiedMethodName="Success" status="0" time="%s" size="-1" groups="default"/> <test className="StatusTest" methodName="testFailure" prettifiedClassName="Status" prettifiedMethodName="Failure" status="3" time="%s" size="-1" groups="default" exceptionLine="11" exceptionMessage="Failed asserting that false is true."/> <test className="StatusTest" methodName="testError" prettifiedClassName="Status" prettifiedMethodName="Error" status="4" time="%s" size="-1" groups="default" exceptionMessage=""/> <test className="StatusTest" methodName="testIncomplete" prettifiedClassName="Status" prettifiedMethodName="Incomplete" status="2" time="%s" size="-1" groups="default"/> <test className="StatusTest" methodName="testSkipped" prettifiedClassName="Status" prettifiedMethodName="Skipped" status="1" time="%s" size="-1" groups="default"/> <test className="StatusTest" methodName="testRisky" prettifiedClassName="Status" prettifiedMethodName="Risky" status="5" time="%s" size="-1" groups="default"/> <test className="StatusTest" methodName="testWarning" prettifiedClassName="Status" prettifiedMethodName="Warning" status="6" time="%s" size="-1" groups="default"/> </tests> Time: %s, Memory: %s There was 1 error: 1) StatusTest::testError Exception:%s %s/StatusTest.php:%d -- There was 1 warning: 1) StatusTest::testWarning %s/StatusTest.php:%d -- There was 1 failure: 1) StatusTest::testFailure Failed asserting that false is true. %s/StatusTest.php:%d ERRORS! Tests: 7, Assertions: 2, Errors: 1, Failures: 1, Warnings: 1, Skipped: 1, Incomplete: 1, Risky: 1.