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-11-21 18:52:02 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DefaultValuesTest');
|
2010-02-26 19:39:12 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\TypeTest');
|
2009-10-16 10:35:46 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\AdvancedAssociationTest');
|
2009-04-12 19:02:12 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\NativeQueryTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\SingleTableInheritanceTest');
|
2009-05-21 08:53:40 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ClassTableInheritanceTest');
|
2009-11-03 18:30:21 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ClassTableInheritanceTest2');
|
2009-05-11 10:43:27 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DetachedEntityTest');
|
2009-05-21 19:18:14 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\QueryCacheTest');
|
2009-07-21 10:48:19 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ResultCacheTest');
|
2009-06-15 18:25:47 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\QueryTest');
|
2010-02-11 18:59:58 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\QueryDqlFunctionTest');
|
2010-02-25 20:25:28 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\AdvancedDqlQueryTest');
|
2009-07-01 12:03:41 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneUnidirectionalAssociationTest');
|
2009-07-01 10:04:22 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneBidirectionalAssociationTest');
|
2009-07-01 13:45:31 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToManyBidirectionalAssociationTest');
|
2010-01-31 14:35:10 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToManyUnidirectionalAssociationTest');
|
2009-11-19 13:12:00 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyBasicAssociationTest');
|
2009-07-02 09:37:59 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyUnidirectionalAssociationTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyBidirectionalAssociationTest');
|
2009-07-06 12:42:14 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneSelfReferentialAssociationTest');
|
2009-07-03 17:36:41 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToManySelfReferentialAssociationTest');
|
2009-07-06 12:18:04 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManySelfReferentialAssociationTest');
|
2010-02-15 22:50:35 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OrderedCollectionTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OrderedJoinedTableInheritanceCollectionTest');
|
2010-04-02 21:37:15 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\CompositePrimaryKeyTest');
|
2009-07-16 13:59:26 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ReferenceProxyTest');
|
2009-07-18 18:06:30 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\LifecycleCallbackTest');
|
2009-07-20 12:05:19 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\StandardEntityPersisterTest');
|
2010-03-20 17:37:18 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\CustomTreeWalkersTest');
|
2009-07-30 15:16:02 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\MappedSuperclassTest');
|
2009-08-14 11:04:31 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\EntityRepositoryTest');
|
2009-10-09 14:27:35 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\IdentityMapTest');
|
2009-12-04 21:40:03 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DatabaseDriverTest');
|
2010-05-08 14:20:44 +02:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\PostgreSQLIdentityStrategyTest');
|
2009-07-18 11:41:37 +00:00
|
|
|
|
|
|
|
$suite->addTest(Locking\AllTests::suite());
|
2009-09-08 19:31:26 +00:00
|
|
|
$suite->addTest(Ticket\AllTests::suite());
|
2010-07-04 13:17:26 +02:00
|
|
|
$suite->addTest(SchemaTool\AllTests::suite());
|
2009-01-22 19:38:10 +00:00
|
|
|
|
2010-07-04 13:17:26 +02:00
|
|
|
|
2009-01-22 19:38:10 +00:00
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Functional_AllTests::main') {
|
|
|
|
AllTests::main();
|
2009-07-01 12:03:41 +00:00
|
|
|
}
|