define('PHPUnit_MAIN_METHOD', 'Horde_Injector_AllTests::main');
}
-require 'Horde/Autoloader.php';
+if (!spl_autoload_functions()) {
+ spl_autoload_register(create_function('$class', '$filename = str_replace(array(\'::\', \'_\'), \'/\', $class); @include "$filename.php";'));
+}
class Horde_Injector_AllTests {
public static function suite()
{
+ set_include_path(dirname(__FILE__) . '/../../../lib' . PATH_SEPARATOR . get_include_path());
$suite = new PHPUnit_Framework_TestSuite('Horde Framework - Horde_Injector');
$basedir = dirname(__FILE__);