PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
htmlpurifier
/
tests
/
HTMLPurifier
/
PHPT
/
loading
--TEST-- HTMLPurifier.standalone.php loading test --FILE-- <?php require '../library/HTMLPurifier.standalone.php'; require 'HTMLPurifier/Filter/YouTube.php'; require 'HTMLPurifier/PHPT/loading/_no-autoload.inc'; $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('<b>Salsa!'); assert('in_array(realpath("../library/standalone/HTMLPurifier/Filter/YouTube.php"), get_included_files())'); --EXPECT-- <b>Salsa!</b>
[+]
..
[-] auto-includes.phpt
[edit]
[-] auto.phpt
[edit]
[-] auto-with-spl-autoload-default.phpt
[edit]
[-] standalone-autoload.phpt
[edit]
[-] path-includes.phpt
[edit]
[-] safe-includes.phpt
[edit]
[-] error-auto-with-spl-nonstatic-autoload.phpt
[edit]
[-] auto-with-autoload.phpt
[edit]
[-] _autoload.inc
[edit]
[-] standalone.phpt
[edit]
[-] standalone-with-prefix.phpt
[edit]
[-] auto-with-spl-autoload.phpt
[edit]
[-] _no-autoload.inc
[edit]
[-] path-includes-autoload.phpt
[edit]
[-] auto-without-spl-with-autoload.phpt
[edit]
[-] auto-without-spl-autoload.phpt
[edit]