Changeset 5673 for trunk/tests/phpunit/bootstrap.php
- Timestamp:
- 04/07/2015 12:35:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/bootstrap.php
r5610 r5673 22 22 */ 23 23 function _load_loader() { 24 25 // Check if we're running the BuddyPress test suite 26 if ( defined( 'BBP_TESTS_BUDDYPRESS' ) ) { 27 28 // If BuddyPress is found, set it up and require it. 29 if ( defined( 'BP_TESTS_DIR' ) ) { 30 require BP_TESTS_DIR . '/includes/loader.php'; 31 } 32 } 33 24 34 require( BBP_TESTS_DIR . '/includes/loader.php' ); 25 35 } … … 31 41 echo "Loading bbPress testcase...\n"; 32 42 require( BBP_TESTS_DIR . '/includes/testcase.php' ); 43 require( BBP_TESTS_DIR . '/includes/factory.php' ); 44 45 if ( defined( 'BBP_TESTS_BUDDYPRESS' ) ) { 46 echo "Loading BuddyPress testcase...\n"; 47 require BP_TESTS_DIR . '/includes/testcase.php'; 48 } else { 49 echo "Not running BuddyPress tests. To execute these, use --group buddypress\n"; 50 }
Note: See TracChangeset
for help on using the changeset viewer.