From d1ace6af1725a2250cfeaaf955d9b7ca0340279a Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 10 Apr 2008 02:56:46 +0000 Subject: [PATCH] More documentation updates. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1656 48356398-32a2-884e-a903-53898d9a118a --- test-settings.sample.php | 9 ++++++--- tests/index.php | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/test-settings.sample.php b/test-settings.sample.php index d7add3ed..555b23ec 100644 --- a/test-settings.sample.php +++ b/test-settings.sample.php @@ -22,9 +22,9 @@ if ($data !== false && $data !== '') { // Note on running 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 // 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 // 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 -// 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? $GLOBALS['HTMLPurifierTest']['PHPT'] = false; diff --git a/tests/index.php b/tests/index.php index 266e04bf..de6c8817 100755 --- a/tests/index.php +++ b/tests/index.php @@ -12,6 +12,10 @@ * - xml, whether or not to output XML * - 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 * non-test classes (i.e. classes that are not retrieved using * $test_files) do not have underscores in their names.