mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 23:08:42 +00:00
eac83995e1
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@89 48356398-32a2-884e-a903-53898d9a118a
18 lines
554 B
PHP
18 lines
554 B
PHP
<?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 . '../library');
|
|
|
|
$test = new GroupTest('HTMLPurifier');
|
|
|
|
$test->addTestFile('HTMLPurifier/LexerTest.php');
|
|
//$test->addTestFile('TokenTest.php');
|
|
$test->addTestFile('HTMLPurifier/DefinitionTest.php');
|
|
$test->addTestFile('HTMLPurifier/ChildDefTest.php');
|
|
$test->addTestFile('HTMLPurifier/GeneratorTest.php');
|
|
|
|
$test->run( new HtmlReporter() );
|
|
|
|
?>
|