1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/tests/Doctrine/Tests/TestInit.php

18 lines
488 B
PHP
Raw Normal View History

2008-02-09 02:20:35 +03:00
<?php
2009-01-04 19:15:32 +03:00
/*
* This file bootstraps the test environment.
*/
namespace Doctrine\Tests;
2009-01-04 19:15:32 +03:00
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';
$classLoader = new \Doctrine\Common\ClassLoader();
set_include_path(
get_include_path()
. PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
);