Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
Disable Function : NONE
Directory :  /usr/local/php4/lib/php/test/HTML_Template_IT/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/php4/lib/php/test/HTML_Template_IT/tests/test.php
<?php
$testcases = array(
    'ITX_api_testcase',
    'ITX_usage_testcase'
);
// use these if you want to check only base HTML_Template_IT functionality
if(false)
$testcases = array(
    'IT_api_testcase',
    'IT_usage_testcase'
);

require_once 'PHPUnit/TestSuite.php';
require_once 'HTML/Template/ITX.php';

$suite =& new PHPUnit_TestSuite();

foreach ($testcases as $testcase) {
    include_once $testcase . '.php';
    $methods = preg_grep('/^test/', get_class_methods($testcase));
    foreach ($methods as $method) {
        $suite->addTest(new $testcase($method));
    }
}

require_once 'Console_TestListener.php';
$result =& new PHPUnit_TestResult();
$result->addListener(new Console_TestListener);
$suite->run($result);
?>

Hry