2006-04-15 01:13:42 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
load_simpletest(); // includes all relevant simpletest files
|
|
|
|
|
|
|
|
require_once 'XML/HTMLSax3.php'; // optional PEAR class
|
|
|
|
|
|
|
|
require_once 'HTML_Purifier.php';
|
2006-04-15 01:30:26 +00:00
|
|
|
require_once 'HTML_Lexer.php';
|
|
|
|
require_once 'MarkupFragment.php';
|
2006-04-16 03:00:05 +00:00
|
|
|
require_once 'PureHTMLDefinition.php';
|
2006-04-15 01:13:42 +00:00
|
|
|
|
|
|
|
$test = new GroupTest('HTML_Purifier');
|
|
|
|
|
|
|
|
chdir('tests/');
|
|
|
|
$test->addTestFile('HTML_Purifier.php');
|
2006-04-15 01:30:26 +00:00
|
|
|
$test->addTestFile('HTML_Lexer.php');
|
|
|
|
//$test->addTestFile('MarkupFragment.php');
|
2006-04-16 03:00:05 +00:00
|
|
|
$test->addTestFile('PureHTMLDefinition.php');
|
2006-04-15 01:13:42 +00:00
|
|
|
chdir('../');
|
|
|
|
|
|
|
|
$test->run(new HtmlReporter());
|
|
|
|
|
|
|
|
?>
|