Source for file config.php
Documentation is available at config.php
//--------------------------------------------------------------------
// Should point at SimpleTest (absolute path required with trailing slash)
define('SIMPLE_TEST', '/home/harryf/simpletest/'); // Use your include path
define('UTF8',realpath(dirname(__FILE__
).
'/../'));
define('UTF8DATA',dirname(__FILE__
).
'/data');
//--------------------------------------------------------------------
// Load SimpleTest and main JPSpan
if ( @include_once SIMPLE_TEST .
'unit_tester.php' ) {
require_once SIMPLE_TEST .
'mock_objects.php';
require_once SIMPLE_TEST .
'reporter.php';
trigger_error('Unable to load SimpleTest: configure SIMPLE_TEST in config.php');
$R =
& new HtmlReporter('UTF-8');
require_once dirname(__FILE__
) .
'/cli_reporter.php';
if ( !isset
($_GET['engine']) ) {
$_GET['engine'] =
'auto';
* Testing against a particular "engine"
switch ( $_GET['engine'] ) {
trigger_error("mbstring extension not detected on your system!", E_USER_ERROR );
require_once UTF8 .
'/mbstring/core.php';
require_once UTF8 .
'/utils/unicode.php';
require_once UTF8 .
'/native/core.php';
require_once UTF8 .
'/utf8.php';
Documentation generated on Thu, 08 Jan 2009 17:40:13 +0100 by phpDocumentor 1.4.0a2