first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
Mock::generatePartial(
|
||||
|
||||
'HTMLPurifier_AttrDef',
|
||||
|
||||
'HTMLPurifier_AttrDefTestable',
|
||||
|
||||
array('validate'));
|
||||
|
||||
|
||||
|
||||
class HTMLPurifier_AttrDefTest extends HTMLPurifier_Harness
|
||||
|
||||
{
|
||||
|
||||
|
||||
|
||||
function test_parseCDATA() {
|
||||
|
||||
|
||||
|
||||
$def = new HTMLPurifier_AttrDefTestable();
|
||||
|
||||
|
||||
|
||||
$this->assertIdentical('', $def->parseCDATA(''));
|
||||
|
||||
$this->assertIdentical('', $def->parseCDATA("\t\n\r \t\t"));
|
||||
|
||||
Reference in New Issue
Block a user