| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
error_reporting(E_ALL);
|
|
|
4 |
ini_set("display_errors","1");
|
|
|
5 |
@set_time_limit(10000);
|
|
|
6 |
|
|
|
7 |
define('SIMPLETEST_DIR', '../../lib/simpletest/');
|
|
|
8 |
require_once(SIMPLETEST_DIR.'unit_tester.php');
|
|
|
9 |
require_once(SIMPLETEST_DIR.'mock_objects.php');
|
|
|
10 |
require_once(SIMPLETEST_DIR.'reporter.php');
|
|
|
11 |
|
|
|
12 |
require_once('../config.inc.php');
|
|
|
13 |
require_once(HTML2PS_DIR.'pipeline.factory.class.php');
|
|
|
14 |
|
|
|
15 |
require_once('fetcher.memory.php');
|
|
|
16 |
require_once('generic.test.php');
|
|
|
17 |
|
|
|
18 |
$test = &new GroupTest('All tests');
|
|
|
19 |
$testfiles = glob('test.*.php');
|
|
|
20 |
foreach ($testfiles as $testfile) {
|
|
|
21 |
// $test->addTestFile($testfile);
|
|
|
22 |
};
|
|
|
23 |
$test->addTestFile('test.white-space.php');
|
|
|
24 |
$test->run(new HtmlReporter());
|
|
|
25 |
|
|
|
26 |
?>
|