2006-07-21 23:27:00 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
load_simpletest(); // includes all relevant simpletest files
|
|
|
|
|
|
|
|
// emulates inserting a dir called HTMLPurifier into your class dir
|
|
|
|
set_include_path(get_include_path() . PATH_SEPARATOR . '../../');
|
|
|
|
|
|
|
|
$test = new GroupTest('HTMLPurifier');
|
|
|
|
|
|
|
|
$test->addTestFile('HTMLPurifier.php');
|
|
|
|
$test->addTestFile('Lexer.php');
|
|
|
|
//$test->addTestFile('Token.php');
|
2006-07-21 23:38:44 +00:00
|
|
|
$test->addTestFile('Definition.php');
|
2006-07-22 00:02:48 +00:00
|
|
|
$test->addTestFile('ChildDef.php');
|
2006-07-21 23:27:00 +00:00
|
|
|
$test->addTestFile('Generator.php');
|
|
|
|
|
|
|
|
$test->run( new HtmlReporter() );
|
|
|
|
|
|
|
|
?>
|