Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/php/pear/PHPUnit/Framework/Process/ |
<?php ini_set('display_errors', 'stderr'); set_include_path('{include_path}'); if ({composerAutoload}) { require_once {composerAutoload}; define('PHPUNIT_COMPOSER_INSTALL', {composerAutoload}); } else { require 'PHPUnit/Autoload.php'; } ob_start(); function __phpunit_run_isolated_test() { if (!class_exists('{className}')) { require_once '{filename}'; } $result = new PHPUnit_Framework_TestResult; if ({collectCodeCoverageInformation}) { $result->setCodeCoverage(new PHP_CodeCoverage); } $result->strictMode({strict}); $test = new {className}('{methodName}', unserialize('{data}'), '{dataName}'); $test->setDependencyInput(unserialize('{dependencyInput}')); $test->setInIsolation(TRUE); ob_end_clean(); ob_start(); $test->run($result); $output = ob_get_clean(); print serialize( array( 'testResult' => $test->getResult(), 'numAssertions' => $test->getNumAssertions(), 'result' => $result, 'output' => $output ) ); ob_start(); } {constants} {included_files} {globals} if (isset($GLOBALS['__PHPUNIT_BOOTSTRAP'])) { require_once $GLOBALS['__PHPUNIT_BOOTSTRAP']; unset($GLOBALS['__PHPUNIT_BOOTSTRAP']); } __phpunit_run_isolated_test(); ob_end_clean();