mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 15:28:40 +00:00
Make test_files not fatally error if CSSTidy is not available.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1512 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
43a5ef3cc6
commit
07ca96a132
@ -77,7 +77,6 @@ $test_files[] = 'HTMLPurifier/ErrorCollectorTest.php';
|
||||
$test_files[] = 'HTMLPurifier/EncoderTest.php';
|
||||
$test_files[] = 'HTMLPurifier/EntityLookupTest.php';
|
||||
$test_files[] = 'HTMLPurifier/EntityParserTest.php';
|
||||
$test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
|
||||
$test_files[] = 'HTMLPurifier/GeneratorTest.php';
|
||||
$test_files[] = 'HTMLPurifier/HTMLDefinitionTest.php';
|
||||
$test_files[] = 'HTMLPurifier/HTMLModuleManagerTest.php';
|
||||
@ -123,6 +122,10 @@ $test_files[] = 'HTMLPurifier/URISchemeTest.php';
|
||||
$test_files[] = 'HTMLPurifier/URITest.php';
|
||||
$test_files[] = 'HTMLPurifierTest.php';
|
||||
|
||||
if ($csstidy_location) {
|
||||
$test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
|
||||
}
|
||||
|
||||
// ConfigDoc auxiliary library
|
||||
|
||||
// ... none yet
|
||||
|
Loading…
Reference in New Issue
Block a user