protected function createRepository($controllerName) { $controller = new Sabel_View_Location_File("index" . DS . VIEW_DIR_NAME . DS . $controllerName . DS); $view = new Sabel_View_Object("controller", $controller); $module = new Sabel_View_Location_File("index" . DS . VIEW_DIR_NAME . DS); $view->addLocation("module", $module); $app = new Sabel_View_Location_File(VIEW_DIR_NAME . DS); $view->addLocation("app", $app); return self::$view = $view; }
public static function suite() { $suite = new PHPUnit_Framework_TestSuite(); $suite->addTest(Test_View_TemplateFile::suite()); // $suite->addTest(Test_View_TemplateDb::suite()); $suite->addTest(Test_View_Renderer::suite()); $suite->addTest(Test_View_Pager::suite()); $suite->addTest(Test_View_PageViewer::suite()); return $suite; }