mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 23:28:42 +00:00
fa05319e30
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1093 48356398-32a2-884e-a903-53898d9a118a
14 lines
377 B
PHP
14 lines
377 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/DefinitionCache.php';
|
|
|
|
class HTMLPurifier_DefinitionCacheTest extends UnitTestCase
|
|
{
|
|
function test_create() {
|
|
$config = HTMLPurifier_Config::createDefault();
|
|
$cache = HTMLPurifier_DefinitionCache::create('Test', $config);
|
|
$this->assertEqual($cache, new HTMLPurifier_DefinitionCache_Serializer('Test'));
|
|
}
|
|
}
|
|
|
|
?>
|