PageRenderTime 212ms CodeModel.GetById 101ms app.highlight 1ms RepoModel.GetById 109ms app.codeStats 0ms

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

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