From be2cfb79182eadc0c00d4dfef6b692316650fd6f Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 26 Apr 2008 19:50:27 +0000 Subject: [PATCH] Fix latest batch of SimpleTest changes. Also, commit forgotten NEWS. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1699 48356398-32a2-884e-a903-53898d9a118a --- NEWS | 2 ++ tests/PHPT/Controller/SimpleTest.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index a83e1b5e..6ca5d2d8 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,8 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier - Bug with bool/null fields in Printer_ConfigForm fixed - Improved error messages for allowed and forbidden HTML elements and attributes - Missing (or null) in configdoc documentation restored +- If DOM throws and exception during parsing with PH5P (occurs in newer versions + of DOM), HTML Purifier punts to DirectLex . Out-of-date documentation revised . UTF-8 encoding check optimization as suggested by Diego . HTMLPurifier_Error removed in favor of exceptions diff --git a/tests/PHPT/Controller/SimpleTest.php b/tests/PHPT/Controller/SimpleTest.php index 33910713..91d63ad4 100644 --- a/tests/PHPT/Controller/SimpleTest.php +++ b/tests/PHPT/Controller/SimpleTest.php @@ -15,7 +15,7 @@ class PHPT_Controller_SimpleTest extends SimpleTestCase public function testPhpt() { $suite = new PHPT_Suite(array($this->_path)); - $phpt_reporter = new PHPT_Reporter_SimpleTest($this->_reporter); + $phpt_reporter = new PHPT_Reporter_SimpleTest($this->reporter); $suite->run($phpt_reporter); }