2008-02-09 02:20:35 +03:00
|
|
|
<?php
|
2009-01-04 19:15:32 +03:00
|
|
|
/*
|
|
|
|
* This file bootstraps the test environment.
|
|
|
|
*/
|
2009-01-22 22:38:10 +03:00
|
|
|
namespace Doctrine\Tests;
|
2009-01-04 19:15:32 +03:00
|
|
|
|
2009-07-18 17:15:54 +04:00
|
|
|
error_reporting(E_ALL | E_STRICT);
|
|
|
|
|
2008-02-09 02:20:35 +03:00
|
|
|
require_once 'PHPUnit/Framework.php';
|
|
|
|
require_once 'PHPUnit/TextUI/TestRunner.php';
|
2009-06-15 22:25:47 +04:00
|
|
|
require_once __DIR__ . '/../../../lib/Doctrine/Common/ClassLoader.php';
|
2008-09-12 10:09:16 +04:00
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
$classLoader = new \Doctrine\Common\ClassLoader();
|
2008-09-13 16:40:17 +04:00
|
|
|
|
|
|
|
set_include_path(
|
|
|
|
get_include_path()
|
2009-01-24 19:56:44 +03:00
|
|
|
. PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
|
2009-07-18 17:15:54 +04:00
|
|
|
);
|