0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 18:55:19 +00:00

More documentation updates.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1656 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-04-10 02:56:46 +00:00
parent a391dfe1de
commit d1ace6af17
2 changed files with 10 additions and 3 deletions

View File

@ -22,9 +22,9 @@ if ($data !== false && $data !== '') {
// Note on running SimpleTest: // Note on running SimpleTest:
// Because HTML Purifier is PHP5-only and E_STRICT compliant, SimpleTest // Because HTML Purifier is PHP5-only and E_STRICT compliant, SimpleTest
// 1.0.1 will not work; you need to run SimpleTest off its trunk using // 1.0.1 will not work; you need to run SimpleTest off its trunk using:
// //
// $ svn co https://simpletest.svn.sourceforge.net/svnroot/simpletest/simpletest/trunk // $ svn co https://simpletest.svn.sourceforge.net/svnroot/simpletest/simpletest/trunk simpletest
// //
// If SimpleTest is borked with HTML Purifier, please contact me or // If SimpleTest is borked with HTML Purifier, please contact me or
// the SimpleTest devs; I am a developer for SimpleTest so I should be // the SimpleTest devs; I am a developer for SimpleTest so I should be
@ -40,7 +40,10 @@ $simpletest_location = '/path/to/simpletest/';
// Vanilla PHPT from http://phpt.info will not work, because there are // Vanilla PHPT from http://phpt.info will not work, because there are
// a number of bugs that prevent HTML Purifier from doing what they need // a number of bugs that prevent HTML Purifier from doing what they need
// to do. If you really want to run PHPT, you'll will need to apply the // to do. If you really want to run PHPT, you'll will need to apply the
// patches in maintenance/phpt-modifications.patch on the PHPT Core. // patches in maintenance/phpt-modifications.patch on the PHPT Core trunk,
// which can be checked out using:
//
// $ svn co https://svn.phpt.info/Core/trunk phpt-core
// Should PHPT tests be enabled? // Should PHPT tests be enabled?
$GLOBALS['HTMLPurifierTest']['PHPT'] = false; $GLOBALS['HTMLPurifierTest']['PHPT'] = false;

View File

@ -12,6 +12,10 @@
* - xml, whether or not to output XML * - xml, whether or not to output XML
* - dry, whether or not to do a dry run * - dry, whether or not to do a dry run
* *
* If you're interested in running the test-cases, mosey over to
* ../test-settings.sample.php, copy the file to test-settings.php and follow
* the enclosed instructions.
*
* @warning File setup does not exactly match with autoloader; make sure that * @warning File setup does not exactly match with autoloader; make sure that
* non-test classes (i.e. classes that are not retrieved using * non-test classes (i.e. classes that are not retrieved using
* $test_files) do not have underscores in their names. * $test_files) do not have underscores in their names.