aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/PHPT/loading/_autoload.inc
blob: 42e3500e4f9bfa04a39e6bfae2a23073b74466e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

/**
 * Tests if autoloading for HTML Purifier is enabled. If all tests pass,
 * output is blank.
 */

assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
new HTMLPurifier_Filter_YouTube();
assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");

// vim: et sw=4 sts=4