/include/SQL/SQL_Query_Renderer/tests/index.php
PHP | 29 lines | 15 code | 7 blank | 7 comment | 0 complexity | 7b3bf9c1d878a872e60cd4e02ec12a65 MD5 | raw file
Possible License(s): LGPL-2.1, GPL-2.0, BSD-3-Clause, LGPL-2.0, CC-BY-SA-3.0, AGPL-1.0
- <?php
- //
- // $Id$
- //
-
- ini_set('include_path', realpath(dirname(__FILE__).'/../../../').':'.
- realpath(dirname(__FILE__).'/../../../installed').':'.
- ini_get('include_path'));
- ini_set('error_reporting',E_ALL);
-
- require_once 'PHPUnit.php';
- require_once 'PHPUnit/GUI/HTML.php';
-
- require_once 'UnitTest.php';
- require_once 'SQL/Query.php';
- require_once 'DB/Structure.php';
-
- //
- // run the test suite
- //
-
- require_once 'PHPUnit/GUI/SetupDecorator.php';
- $gui = new PHPUnit_GUI_SetupDecorator(new PHPUnit_GUI_HTML());
- $gui->getSuitesFromDir(dirname(__FILE__),'.*\.php',array('UnitTest.php','index.php'));
- $gui->show();
-
- //print_r($errors);
-
- ?>