PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / tests / PHPT / Controller / SimpleTest.php
blobac4512f5647f484aca4160a5c11953c51d6002c7
1 <?php
3 /**
4 * Controller for PHPT that implements the SimpleTest unit-testing interface.
5 */
6 class PHPT_Controller_SimpleTest extends SimpleTestCase
9 protected $_path;
11 public function __construct($path)
13 $this->_path = $path;
14 parent::__construct($path);
17 public function testPhpt()
19 $suite = new PHPT_Suite(array($this->_path));
20 $phpt_reporter = new PHPT_Reporter_SimpleTest($this->reporter);
21 $suite->run($phpt_reporter);
26 // vim: et sw=4 sts=4