addTestClass(htmlpurifier_path2class($path)); } else { $test = new GroupTest('HTMLPurifier'); foreach ($test_files as $test_file) { $path = 'HTMLPurifier/' . $test_file; require_once $path; $test->addTestClass(htmlpurifier_path2class($path)); } } if (SimpleReporter::inCli()) $reporter = new TextReporter(); else $reporter = new HTMLReporter(); $test->run($reporter); ?>