0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00

Add framework.

git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@17 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-04-15 01:13:42 +00:00
parent 1f4165d868
commit 6d77fa061b
3 changed files with 37 additions and 0 deletions

10
HTML_Purifier.php Normal file
View File

@ -0,0 +1,10 @@
<?php
class HTML_Purifier
{
}
?>

17
tester.php Normal file
View File

@ -0,0 +1,17 @@
<?php
load_simpletest(); // includes all relevant simpletest files
require_once 'XML/HTMLSax3.php'; // optional PEAR class
require_once 'HTML_Purifier.php';
$test = new GroupTest('HTML_Purifier');
chdir('tests/');
$test->addTestFile('HTML_Purifier.php');
chdir('../');
$test->run(new HtmlReporter());
?>

10
tests/HTML_Purifier.php Normal file
View File

@ -0,0 +1,10 @@
<?php
class TestCase_HTML_Purifier extends UnitTestCase
{
}
?>