3 if (!defined('HTMLPurifierTest')) exit;
5 // These arrays are defined by this file and can be relied upon.
8 $test_dirs_exclude = array();
10 $htmlt_dirs = array();
14 switch ($AC['type']) {
18 $test_dirs[] = 'HTMLPurifier';
19 $test_files[] = 'HTMLPurifierTest.php';
20 $test_dirs_exclude['HTMLPurifier/Filter/ExtractStyleBlocksTest.php'] = true;
21 if ($csstidy_location) {
22 $test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
26 if (version_compare(PHP_VERSION
, '5.2', '>=')) {
27 // $test_dirs[] = 'ConfigDoc'; // no test files currently!
31 $test_dirs[] = 'FSTools';
33 $htmlt_dirs[] = 'HTMLPurifier/HTMLT';
36 $vtest_dirs[] = 'HTMLPurifier/ConfigSchema/Validator';
40 if (!$AC['disable-phpt'] && version_compare(PHP_VERSION
, '5.2', '>=')) {
41 $phpt_dirs[] = 'HTMLPurifier/PHPT';