Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (17 sloc) 0.552 kb
7a254e2 @lsmith77 copy+adapt of MongoDB ODM metadata handling, still lots of stuff to remo...
lsmith77 authored
1 <?php
3e3b263 @beberlei Move Doctrine\CouchDB namespace into its own library
beberlei authored
2 // Tests/bootstrap.php
04761df @beberlei fix dependencies and tests
beberlei authored
3 $loader = @include __DIR__ . '/../vendor/autoload.php';
3e3b263 @beberlei Move Doctrine\CouchDB namespace into its own library
beberlei authored
4 if (!$loader) {
5 die(<<<'EOT'
6 You must set up the project dependencies, run the following commands:
7 wget http://getcomposer.org/composer.phar
8 php composer.phar install
9 EOT
10 );
11 }
7a254e2 @lsmith77 copy+adapt of MongoDB ODM metadata handling, still lots of stuff to remo...
lsmith77 authored
12
13 use Doctrine\Common\ClassLoader;
14
15 $classLoader = new ClassLoader('Doctrine\Tests', __DIR__ . '/../tests');
16 $classLoader->register();
17
7b40c82 @beberlei Fix Annotations refactoring problems
beberlei authored
18 Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
19 'Doctrine\ODM\CouchDB\Mapping\Annotations', __DIR__ . '/../lib'
20 );
3e3b263 @beberlei Move Doctrine\CouchDB namespace into its own library
beberlei authored
21
22
Something went wrong with that request. Please try again.