mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 13:21:51 +00:00
Use configuration in test runner.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@200 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
5135ff7afd
commit
4d224c5013
@ -5,11 +5,13 @@ error_reporting(E_ALL);
|
|||||||
// wishlist: automated calling of this file from multiple PHP versions so we
|
// wishlist: automated calling of this file from multiple PHP versions so we
|
||||||
// don't have to constantly switch around
|
// don't have to constantly switch around
|
||||||
|
|
||||||
// load files, assume that simpletest directory is in path
|
$simpletest_location = 'simpletest/';
|
||||||
require_once 'simpletest/unit_tester.php';
|
if (file_exists('../config.php')) include_once '../config.php';
|
||||||
require_once 'simpletest/reporter.php';
|
require_once $simpletest_location . 'unit_tester.php';
|
||||||
require_once 'simpletest/mock_objects.php';
|
require_once $simpletest_location . 'reporter.php';
|
||||||
|
require_once $simpletest_location . 'mock_objects.php';
|
||||||
|
|
||||||
|
// debugger
|
||||||
require_once 'Debugger.php';
|
require_once 'Debugger.php';
|
||||||
|
|
||||||
// emulates inserting a dir called HTMLPurifier into your class dir
|
// emulates inserting a dir called HTMLPurifier into your class dir
|
||||||
|
Loading…
Reference in New Issue
Block a user