3 if (!defined('HTMLPurifierTest')) exit;
5 // define callable test files (sorted alphabetically)
7 if (!$AC['only-phpt']) {
9 // HTML Purifier main library
10 $test_dirs[] = 'HTMLPurifier';
11 $test_files[] = 'HTMLPurifierTest.php';
13 $test_dirs_exclude['HTMLPurifier/Filter/ExtractStyleBlocksTest.php'] = true;
14 if ($csstidy_location) {
15 $test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
18 // ConfigSchema Validator tests
19 $vtest_dirs[] = 'HTMLPurifier/ConfigSchema/Validator';
21 // ConfigDoc auxiliary library
22 if (version_compare(PHP_VERSION
, '5.2', '>=')) {
23 // $test_dirs[] = 'ConfigDoc'; // no test files currently!
26 // FSTools auxiliary library
27 $test_dirs[] = 'FSTools';
32 if (!$AC['disable-phpt'] && version_compare(PHP_VERSION
, '5.2', '>=')) {
33 $phpt_dirs[] = 'HTMLPurifier/PHPT';