0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-11 00:11:53 +00:00
htmlpurifier/tests/index.php
2006-07-22 00:13:08 +00:00

21 lines
578 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 . '../../');
require_once 'XML/HTMLSax3.php'; // optional PEAR class
$test = new GroupTest('HTMLPurifier');
$test->addTestFile('HTMLPurifier.php');
$test->addTestFile('Lexer.php');
//$test->addTestFile('Token.php');
$test->addTestFile('Definition.php');
$test->addTestFile('ChildDef.php');
$test->addTestFile('Generator.php');
$test->run( new HtmlReporter() );
?>