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:
parent
07ca96a132
commit
c9bf2e8489
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user