22 lines
565 B
PHP
22 lines
565 B
PHP
<?php
|
|
/*
|
|
* This file bootstraps the test environment.
|
|
*/
|
|
namespace Doctrine\Tests;
|
|
|
|
error_reporting(E_ALL | E_STRICT);
|
|
|
|
require_once 'PHPUnit/Framework.php';
|
|
require_once 'PHPUnit/TextUI/TestRunner.php';
|
|
require_once __DIR__ . '/../../../lib/Doctrine/Common/ClassLoader.php';
|
|
|
|
$classLoader = new \Doctrine\Common\ClassLoader('Doctrine');
|
|
$classLoader->register();
|
|
|
|
set_include_path(
|
|
__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
|
|
. PATH_SEPARATOR .
|
|
get_include_path()
|
|
);
|
|
|