_autoload.inc 359 B

123456789101112
  1. <?php
  2. /**
  3. * Tests if autoloading for HTML Purifier is enabled. If all tests pass,
  4. * output is blank.
  5. */
  6. assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
  7. new HTMLPurifier_Filter_YouTube();
  8. assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");
  9. // vim: et sw=4 sts=4