/include/SQL/SQL_Query/tests/index.php
PHP | 31 lines | 15 code | 9 blank | 7 comment | 0 complexity | 97e6c13e37ef61e93cbb5a0fbfe37b76 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 'SQL/Query.php';
- require_once 'SQL/Query/Join.php';
-
- require_once 'UnitTest.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);
-
- ?>