mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 23:08:42 +00:00
39be09ee14
- Hide deprecated elements from ToC - %HTML.Doctype takes null instead of empty string; this shouldn't affect anyone git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1666 48356398-32a2-884e-a903-53898d9a118a
35 lines
910 B
PHP
35 lines
910 B
PHP
<?php
|
|
|
|
if (!defined('HTMLPurifierTest')) exit;
|
|
|
|
// define callable test files (sorted alphabetically)
|
|
|
|
if (!$AC['only-phpt']) {
|
|
|
|
// HTML Purifier main library
|
|
$test_dirs[] = 'HTMLPurifier';
|
|
$test_files[] = 'HTMLPurifierTest.php';
|
|
|
|
$test_dirs_exclude['HTMLPurifier/Filter/ExtractStyleBlocksTest.php'] = true;
|
|
if ($csstidy_location) {
|
|
$test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
|
|
}
|
|
|
|
// ConfigSchema Validator tests
|
|
$vtest_dirs[] = 'HTMLPurifier/ConfigSchema/Validator';
|
|
|
|
// ConfigDoc auxiliary library
|
|
if (version_compare(PHP_VERSION, '5.2', '>=')) {
|
|
// $test_dirs[] = 'ConfigDoc'; // no test files currently!
|
|
}
|
|
|
|
// FSTools auxiliary library
|
|
$test_dirs[] = 'FSTools';
|
|
|
|
}
|
|
|
|
// PHPT tests
|
|
if (!$AC['disable-phpt'] && version_compare(PHP_VERSION, '5.2', '>=')) {
|
|
$phpt_dirs[] = 'HTMLPurifier/PHPT';
|
|
}
|