summaryrefslogtreecommitdiff
path: root/inc/parser/tests/testconfig.php
blob: d855be8fb57283172e3503201bbb143fc94c63db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
if (!defined('SIMPLE_TEST')) {
    // Should point at SimpleTest
    //(absolute path recommended with trailing slash)
    define('SIMPLE_TEST', '/var/www/simpletest/');
}

// Load SimpleTest
if ( @include_once SIMPLE_TEST . 'unit_tester.php' ) {
    require_once SIMPLE_TEST . 'mock_objects.php';
    require_once SIMPLE_TEST . 'reporter.php';
} else {
    trigger_error('Unable to load SimpleTest: '.
        'configure SIMPLE_TEST in config.php');
}

// Modify this as needed
define('DOKU_INC',realpath(dirname(__FILE__).'/../../../').'/');
?>