mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-09 23:41:52 +00:00
23dba8b55e
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@63 48356398-32a2-884e-a903-53898d9a118a
25 lines
628 B
PHP
25 lines
628 B
PHP
<?php
|
|
|
|
load_simpletest(); // includes all relevant simpletest files
|
|
|
|
require_once 'XML/HTMLSax3.php'; // optional PEAR class
|
|
|
|
require_once 'HTML_Purifier.php';
|
|
require_once 'HTML_Lexer.php';
|
|
require_once 'Token.php';
|
|
require_once 'PureHTMLDefinition.php';
|
|
require_once 'HTML_Generator.php';
|
|
|
|
$test = new GroupTest('HTML_Purifier');
|
|
|
|
chdir('tests/');
|
|
$test->addTestFile('HTML_Purifier.php');
|
|
$test->addTestFile('HTML_Lexer.php');
|
|
//$test->addTestFile('Token.php');
|
|
$test->addTestFile('PureHTMLDefinition.php');
|
|
$test->addTestFile('HTML_Generator.php');
|
|
chdir('../');
|
|
|
|
$test->run( new HtmlReporter() );
|
|
|
|
?>
|