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

/pub/System/ToPDFPlugin/html2pdf/unittest/index.php

https://github.com/foswiki/ToPDFPlugin
PHP | 26 lines | 15 code | 8 blank | 3 comment | 0 complexity | f10674e4d1fd341d4ef0e75e002629aa MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php
  2. error_reporting(E_ALL);
  3. ini_set("display_errors","1");
  4. @set_time_limit(10000);
  5. require_once('PHPUnit/Framework.php');
  6. require_once('../config.inc.php');
  7. require_once(HTML2PS_DIR.'pipeline.factory.class.php');
  8. require_once('fetcher.memory.php');
  9. $test = &new GroupTest('All tests');
  10. // $testfiles = array_merge(glob('test.*.php'),
  11. // glob('css/test.*.php'));
  12. $testfiles = glob('css/test.*.php');
  13. // $testfiles = array('css/test.parser.error.5.php');
  14. foreach ($testfiles as $testfile) {
  15. $test->addTestFile($testfile);
  16. };
  17. $test->run(new HtmlReporter());
  18. ?>