PageRenderTime 54ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/include/SQL/SQL_Query/tests/index.php

https://github.com/radicaldesigns/amp
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
  1. <?php
  2. //
  3. // $Id$
  4. //
  5. ini_set('include_path', realpath(dirname(__FILE__).'/../../../').':'.
  6. realpath(dirname(__FILE__).'/../../../installed').':'.
  7. ini_get('include_path'));
  8. ini_set('error_reporting',E_ALL);
  9. require_once 'PHPUnit.php';
  10. require_once 'PHPUnit/GUI/HTML.php';
  11. require_once 'SQL/Query.php';
  12. require_once 'SQL/Query/Join.php';
  13. require_once 'UnitTest.php';
  14. //
  15. // run the test suite
  16. //
  17. require_once 'PHPUnit/GUI/SetupDecorator.php';
  18. $gui = new PHPUnit_GUI_SetupDecorator(new PHPUnit_GUI_HTML());
  19. $gui->getSuitesFromDir(dirname(__FILE__),'.*\.php',array('UnitTest.php','index.php'));
  20. $gui->show();
  21. //print_r($errors);
  22. ?>