Skip to content
This repository
tree: 7e877e6d9b
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (17 sloc) 0.552 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
// Tests/bootstrap.php
$loader = @include __DIR__ . '/../vendor/autoload.php';
if (!$loader) {
    die(<<<'EOT'
You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
EOT
    );
}

use Doctrine\Common\ClassLoader;

$classLoader = new ClassLoader('Doctrine\Tests', __DIR__ . '/../tests');
$classLoader->register();

Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
    'Doctrine\ODM\CouchDB\Mapping\Annotations', __DIR__ . '/../lib'
);
Something went wrong with that request. Please try again.