home
/
zktecojo
/
public_html
/
htmlpurifier
/
tests
/
HTMLPurifier
/
ConfigSchema
➕ New
📤 Upload
✎ Editing:
InterchangeTest.php
← Back
<?php class HTMLPurifier_ConfigSchema_InterchangeTest extends UnitTestCase { protected $interchange; public function setup() { $this->interchange = new HTMLPurifier_ConfigSchema_Interchange(); } public function testAddDirective() { $v = new HTMLPurifier_ConfigSchema_Interchange_Directive(); $v->id = new HTMLPurifier_ConfigSchema_Interchange_Id('Namespace.Directive'); $this->interchange->addDirective($v); $this->assertIdentical($v, $this->interchange->directives['Namespace.Directive']); } } // vim: et sw=4 sts=4
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel