addTest( system_AllTests::suite() ); // /PHPEdit Tests suites -- dot not remove this comment return $suite; } } // This is used to find the starting point of Habari if ( !defined( 'HABARI_PATH' ) ) { define( 'HABARI_PATH', dirname( dirname( __FILE__ ) ) ); } // Specify a directory for test data if ( ! defined( 'TEST_DATA_DIR' ) ) { define( 'TEST_DATA_DIR', dirname( __FILE__) ); } // This constant prevents the regular handling of URL-based requests // during testing if ( !defined( 'UNIT_TEST' ) ) { define( 'UNIT_TEST', true ); } // Debugging is usually not required when simply running tests if ( !defined( 'DEBUG' ) ) { // define('DEBUG', true); } // Initialize the Habari structures and setup class autoload require_once HABARI_PATH . '/index.php'; if ( PHPUnit_MAIN_METHOD == 'AllTests::main' ) { AllTests::main(); } ?>