[3.1.0] Document Config Schema, also, fix bug with null defaults
[htmlpurifier.git] / test-settings.sample.php
blob967990be9661e5d7310ddd8bff1d5ac8d669aad6
1 <?php
3 // ATTENTION! DO NOT EDIT THIS FILE!
4 // This file is necessary to run the unit tests and profiling scripts.
5 // Please copy it to 'test-settings.php' and make the necessary edits.
7 // Note: The only external library you *need* is SimpleTest; everything else
8 // is optional.
10 // We've got a lot of tests, so we recommend turning the limit off.
11 set_time_limit(0);
13 // Turning off output buffering will prevent mysterious errors from core dumps.
14 $data = @ob_get_clean();
15 if ($data !== false && $data !== '') {
16 echo "Output buffer contains data [".urlencode($data)."]\n";
17 exit;
20 // -----------------------------------------------------------------------------
21 // REQUIRED SETTINGS
23 // Where is SimpleTest located? Remember to include a trailing slash!
24 $simpletest_location = '/path/to/simpletest/';
26 // -----------------------------------------------------------------------------
27 // OPTIONAL SETTINGS
29 // Should PHPT tests be enabled?
30 $GLOBALS['HTMLPurifierTest']['PHPT'] = false;
32 // If PHPT isn't in your Path via PEAR, set that here:
33 // set_include_path('/path/to/phpt/Core/src' . PATH_SEPARATOR . get_include_path());
35 // Where is CSSTidy located? (Include trailing slash. Leave false to disable.)
36 $csstidy_location = false;
38 // For tests/multitest.php, which versions to test?
39 $versions_to_test = array();
41 // Stable PHP binary to use when invoking maintenance scripts.
42 $php = 'php';
44 // For tests/multitest.php, what is the multi-version executable? It must
45 // accept an extra parameter (version number) before all other arguments
46 $phpv = false;
48 // Should PEAR tests be run? If you've got a valid PEAR installation, set this
49 // to true (or, if it's not in the include path, to its install directory).
50 $GLOBALS['HTMLPurifierTest']['PEAR'] = false;