| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/*
|
|
|
4 |
* This file is part of the symfony package.
|
|
|
5 |
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
|
6 |
*
|
|
|
7 |
* For the full copyright and license information, please view the LICENSE
|
|
|
8 |
* file that was distributed with this source code.
|
|
|
9 |
*/
|
|
|
10 |
|
|
|
11 |
require_once(dirname(__FILE__).'/../../../../../test/bootstrap/unit.php');
|
|
|
12 |
|
|
|
13 |
require_once(dirname(__FILE__).'/../../../../autoload/sfSimpleAutoload.class.php');
|
|
|
14 |
$autoload = sfSimpleAutoload::getInstance(sys_get_temp_dir().DIRECTORY_SEPARATOR.sprintf('sf_autoload_unit_propel_%s.data', md5(__FILE__)));
|
|
|
15 |
$autoload->addDirectory(realpath(dirname(__FILE__).'/../../lib'));
|
|
|
16 |
$autoload->register();
|
|
|
17 |
|
|
|
18 |
$_test_dir = realpath(dirname(__FILE__).'/..');
|
|
|
19 |
|
|
|
20 |
sfToolkit::addIncludePath(realpath(dirname(__FILE__).'/../../lib/vendor'));
|