Changeset 1100 in tests
- Timestamp:
- 10/31/2012 05:57:58 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/bootstrap.php
r1099 r1100 8 8 require_once 'PHPUnit/Autoload.php'; 9 9 10 $config_file_path = dirname( __FILE__ ) . '/ wp-tests-config.php';10 $config_file_path = dirname( __FILE__ ) . '/../wp-tests-config.php'; 11 11 12 12 /* … … 43 43 $multisite = (int) ( defined( 'WP_TESTS_MULTISITE') && WP_TESTS_MULTISITE ); 44 44 45 system( WP_PHP_BINARY . ' ' . escapeshellarg( dirname( __FILE__ ) . '/ bin/install.php' ) . ' ' . escapeshellarg( $config_file_path ) . ' ' . $multisite );45 system( WP_PHP_BINARY . ' ' . escapeshellarg( dirname( __FILE__ ) . '/install.php' ) . ' ' . escapeshellarg( $config_file_path ) . ' ' . $multisite ); 46 46 47 47 if ( $multisite ) { … … 59 59 unset( $multisite ); 60 60 61 require dirname( __FILE__ ) . '/ includes/functions.php';61 require dirname( __FILE__ ) . '/functions.php'; 62 62 63 63 // Preset WordPress options defined in bootstrap file. … … 80 80 _delete_all_posts(); 81 81 82 require dirname( __FILE__ ) . '/ includes/testcase.php';83 require dirname( __FILE__ ) . '/ includes/testcase-xmlrpc.php';84 require dirname( __FILE__ ) . '/ includes/testcase-ajax.php';85 require dirname( __FILE__ ) . '/ includes/exceptions.php';86 require dirname( __FILE__ ) . '/ includes/utils.php';82 require dirname( __FILE__ ) . '/testcase.php'; 83 require dirname( __FILE__ ) . '/testcase-xmlrpc.php'; 84 require dirname( __FILE__ ) . '/testcase-ajax.php'; 85 require dirname( __FILE__ ) . '/exceptions.php'; 86 require dirname( __FILE__ ) . '/utils.php'; 87 87 88 88 /** -
trunk/multisite.xml
r1023 r1100 1 1 <phpunit 2 bootstrap="bootstrap.php"2 bootstrap="includes/bootstrap.php" 3 3 backupGlobals="false" 4 4 colors="true" -
trunk/phpunit.xml
r963 r1100 1 1 <phpunit 2 bootstrap="bootstrap.php"2 bootstrap="includes/bootstrap.php" 3 3 backupGlobals="false" 4 4 colors="true"
Note: See TracChangeset
for help on using the changeset viewer.