mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 14:58:42 +00:00
2a002857ce
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1332 48356398-32a2-884e-a903-53898d9a118a
20 lines
387 B
PHP
20 lines
387 B
PHP
<?php
|
|
|
|
/**
|
|
* All-use harness, use this rather than SimpleTest's
|
|
*/
|
|
class HTMLPurifier_Harness extends UnitTestCase
|
|
{
|
|
|
|
function HTMLPurifier_Harness() {
|
|
parent::UnitTestCase();
|
|
}
|
|
|
|
function prepareCommon(&$config, &$context) {
|
|
$config = HTMLPurifier_Config::create($config);
|
|
if (!$context) $context = new HTMLPurifier_Context();
|
|
}
|
|
|
|
}
|
|
|