File: TestInit.php

package info (click to toggle)
php-doctrine-cache 1.3.1-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 332 kB
  • ctags: 477
  • sloc: php: 1,572; xml: 127; makefile: 13; sh: 5
file content (15 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/*
 * This file bootstraps the test environment.
 */
error_reporting(E_ALL | E_STRICT);

require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
use Symfony\Component\ClassLoader\ClassLoader;
$loader = new ClassLoader();
//$loader->setUseIncludePath(true);
$loader->register();
$loader->addPrefixes(array(
	'Doctrine'        => __DIR__.'/../../../lib',
	'Doctrine\\Tests' => __DIR__.'/../../',
));