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:
parent
1f4165d868
commit
6d77fa061b
10
HTML_Purifier.php
Normal file
10
HTML_Purifier.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class HTML_Purifier
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
17
tester.php
Normal file
17
tester.php
Normal 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
10
tests/HTML_Purifier.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class TestCase_HTML_Purifier extends UnitTestCase
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user