0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-08 06:48:42 +00:00

Add support for dry runs.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1513 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-01-21 19:27:55 +00:00
parent 07ca96a132
commit c9bf2e8489

View File

@ -22,6 +22,7 @@ $AC['flush'] = false;
$AC['standalone'] = false;
$AC['file'] = '';
$AC['xml'] = false;
$AC['dry'] = false;
$aliases = array(
'f' => 'file',
);
@ -87,4 +88,6 @@ if ($AC['xml']) {
$reporter = new HTMLPurifier_SimpleTest_Reporter('UTF-8', $AC);
}
if ($AC['dry']) $reporter->makeDry();
$test->run($reporter);