Revision cafc7c3b
Added by Andreas Kohlbecker about 13 years ago
modules/cdm_dataportal/test/phpUnit/bootstrap.php | ||
---|---|---|
4 | 4 |
// |
5 | 5 |
// see http://pkp.sfu.ca/wiki/index.php/Configure_Eclipse_for_PHPUnit#Configure_XDebug_Debugger_to_work_with_PHPUnit |
6 | 6 |
// |
7 |
print("> bootstrapping Drupal for phpUnit ...\n"); |
|
8 |
//print(">".getcwd()."\n"); |
|
9 | 7 |
|
10 | 8 |
// TestUtils.php must be included at the very first step |
11 | 9 |
require_once ('TestUtils.php'); |
12 | 10 |
|
11 |
print("> bootstrapping Drupal for phpUnit ...\n"); |
|
12 |
|
|
13 |
//print(">".getcwd()."\n"); |
|
14 |
|
|
15 |
|
|
13 | 16 |
chdir ("../../../../../../"); // cd to {DRUPAL_ROOT} |
14 | 17 |
require_once ('includes/bootstrap.inc'); |
15 | 18 |
|
... | ... | |
22 | 25 |
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
23 | 26 |
|
24 | 27 |
print("> bootstrapping done!\n"); |
28 |
|
|
29 |
flush(); |
|
30 |
|
Also available in: Unified diff
displaying polytomous keys (addons to #2152)