mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
20 lines
472 B
PHP
20 lines
472 B
PHP
|
<?php
|
||
|
|
||
|
require_once 'HTMLPurifier/URISchemeRegistry.php';
|
||
|
|
||
|
class HTMLPurifier_URISchemeRegistryTest extends UnitTestCase
|
||
|
{
|
||
|
|
||
|
function test() {
|
||
|
|
||
|
$registry =& HTMLPurifier_URISchemeRegistry::instance();
|
||
|
$this->assertIsA($registry->getScheme('http'), 'HTMLPurifier_URIScheme_http');
|
||
|
|
||
|
// to come: overloading and custom schemes, as well as changing the
|
||
|
// configuration values used by this class
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|