<?php/** * Controller for PHPT that implements the SimpleTest unit-testing interface. */classPHPT_Controller_SimpleTestextendsSimpleTestCase{protected$_path;publicfunction__construct($path){$this->_path=$path;parent::__construct($path);}publicfunctiontestPhpt(){$suite=newPHPT_Suite(array($this->_path));$phpt_reporter=newPHPT_Reporter_SimpleTest($this->reporter);$suite->run($phpt_reporter);}}// vim: et sw=4 sts=4