. * * The copright holder may be reached by emailing john@johnkleijn.nl */ set_include_path(realpath('../lib') . PATH_SEPARATOR . get_include_path()); require_once 'PHPUnit/Framework/TestSuite.php'; require_once 'tests/Phreamp/Config/Loader/IniConfigLoaderTest.php'; require_once 'tests/Phreamp/Config/ConfigTest.php'; require_once 'tests/Phreamp/Controller/Command/CommandStubTest.php'; require_once 'tests/Phreamp/Controller/Request/HttpRequestTest.php'; require_once 'tests/Phreamp/Controller/Response/HttpResponseTest.php'; require_once 'tests/Phreamp/Controller/Router/HttpRouterTest.php'; require_once 'tests/Phreamp/Controller/DispatcherTest.php'; require_once 'tests/Phreamp/Controller/FrontControllerTest.php'; require_once 'tests/Phreamp/Map/IdentityMapTest.php'; require_once 'tests/Phreamp/View/Helper/CompositeViewHelperTest.php'; require_once 'tests/Phreamp/View/Helper/UriViewHelperTest.php'; require_once 'tests/Phreamp/View/DefaultCompositeViewTest.php'; require_once 'tests/Phreamp/View/DefaultViewTest.php'; require_once 'tests/Phreamp/View/ViewWithHelpersTest.php'; require_once 'tests/Phreamp/Acl/AclTest.php'; require_once 'tests/Phreamp/Validate/ValidateSuite.php'; require_once 'tests/Phreamp/Filter/FilterSuite.php'; /** * Static test suite. */ class PhreampTestSuite extends PHPUnit_Framework_TestSuite { /** * Constructs the test suite handler */ public function __construct() { $this->setName('PhreampTestSuite'); $this->addTestSuite('IniConfigLoaderTest'); $this->addTestSuite('ConfigTest'); $this->addTestSuite('CommandStubTest'); $this->addTestSuite('HttpRequestTest'); $this->addTestSuite('HttpResponseTest'); $this->addTestSuite('HttpRouterTest'); $this->addTestSuite('DispatcherTest'); $this->addTestSuite('FrontControllerTest'); $this->addTestSuite('IdentityMapTest'); $this->addTestSuite('CompositeViewHelperTest'); $this->addTestSuite('UriViewHelperTest'); $this->addTestSuite('DefaultCompositeViewTest'); $this->addTestSuite('DefaultViewTest'); $this->addTestSuite('ViewWithHelpersTest'); $this->addTestSuite('AclTest'); $this->addTestSuite('PhreampValidateSuite'); $this->addTestSuite('PhreampFilterSuite'); } /** * Creates the suite. */ public static function suite() { return new self(); } }