2009-01-22 19:38:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\ORM\Functional;
|
|
|
|
|
|
|
|
if (!defined('PHPUnit_MAIN_METHOD')) {
|
|
|
|
define('PHPUnit_MAIN_METHOD', 'Orm_Functional_AllTests::main');
|
|
|
|
}
|
|
|
|
|
2009-01-24 16:56:44 +00:00
|
|
|
require_once __DIR__ . '/../../TestInit.php';
|
2009-01-22 19:38:10 +00:00
|
|
|
|
|
|
|
class AllTests
|
|
|
|
{
|
|
|
|
public static function main()
|
|
|
|
{
|
|
|
|
\PHPUnit_TextUI_TestRunner::run(self::suite());
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function suite()
|
|
|
|
{
|
|
|
|
$suite = new \Doctrine\Tests\OrmFunctionalTestSuite('Doctrine Orm Functional');
|
|
|
|
|
2009-03-30 19:43:05 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\BasicFunctionalTest');
|
2009-04-12 19:02:12 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\NativeQueryTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\SingleTableInheritanceTest');
|
2009-05-11 10:43:27 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DetachedEntityTest');
|
2009-01-22 19:38:10 +00:00
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Functional_AllTests::main') {
|
|
|
|
AllTests::main();
|
|
|
|
}
|