More support for white-space.
[htmlpurifier.git] / tests / PHPT / Controller / SimpleTest.php
blob62fe6a405188be9d964ae72c31c0a3f41a5fde35
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) {
12 $this->_path = $path;
13 parent::__construct($path);
16 public function testPhpt() {
17 $suite = new PHPT_Suite(array($this->_path));
18 $phpt_reporter = new PHPT_Reporter_SimpleTest($this->reporter);
19 $suite->run($phpt_reporter);
24 // vim: et sw=4 sts=4