addTestClass(path2class($path)); } else { $test = new GroupTest('All Tests - HTML Purifier'); foreach ($test_files as $test_file) { $path = 'HTMLPurifier/' . $test_file; require_once $path; $test->addTestClass(path2class($path)); } } if (SimpleReporter::inCli()) $reporter = new TextReporter(); else $reporter = new HTMLPurifier_SimpleTest_Reporter('UTF-8'); $test->run($reporter); ?>