home
/
zktecojo
/
public_html
/
htmlpurifier
/
tests
/
PHPT
/
Controller
➕ New
📤 Upload
✎ Editing:
SimpleTest.php
← Back
<?php /** * Controller for PHPT that implements the SimpleTest unit-testing interface. */ class PHPT_Controller_SimpleTest extends SimpleTestCase { protected $_path; public function __construct($path) { $this->_path = $path; parent::__construct($path); } public function testPhpt() { $suite = new PHPT_Suite(array($this->_path)); $phpt_reporter = new PHPT_Reporter_SimpleTest($this->reporter); $suite->run($phpt_reporter); } } // 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