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
|
2006-07-22 15:38:41 +00:00
|
|
|
set_include_path(get_include_path() . PATH_SEPARATOR . '../library');
|
2006-07-21 23:27:00 +00:00
|
|
|
|
|
|
|
$test = new GroupTest('HTMLPurifier');
|
|
|
|
|
2006-07-22 15:38:41 +00:00
|
|
|
$test->addTestFile('HTMLPurifierTest.php');
|
|
|
|
$test->addTestFile('HTMLPurifier/LexerTest.php');
|
|
|
|
//$test->addTestFile('TokenTest.php');
|
|
|
|
$test->addTestFile('HTMLPurifier/DefinitionTest.php');
|
|
|
|
$test->addTestFile('HTMLPurifier/ChildDefTest.php');
|
|
|
|
$test->addTestFile('HTMLPurifier/GeneratorTest.php');
|
2006-07-21 23:27:00 +00:00
|
|
|
|
|
|
|
$test->run( new HtmlReporter() );
|
|
|
|
|
|
|
|
?>
|