2009-01-22 22:38:10 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\ORM\Functional;
|
|
|
|
|
|
|
|
if (!defined('PHPUnit_MAIN_METHOD')) {
|
|
|
|
define('PHPUnit_MAIN_METHOD', 'Orm_Functional_AllTests::main');
|
|
|
|
}
|
|
|
|
|
2009-01-24 19:56:44 +03:00
|
|
|
require_once __DIR__ . '/../../TestInit.php';
|
2009-01-22 22:38:10 +03: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 23:43:05 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\BasicFunctionalTest');
|
2009-11-21 21:52:02 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DefaultValuesTest');
|
2009-10-16 14:35:46 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\AdvancedAssociationTest');
|
2009-04-12 23:02:12 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\NativeQueryTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\SingleTableInheritanceTest');
|
2009-05-21 12:53:40 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ClassTableInheritanceTest');
|
2009-11-03 21:30:21 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ClassTableInheritanceTest2');
|
2009-05-11 14:43:27 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\DetachedEntityTest');
|
2009-05-21 23:18:14 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\QueryCacheTest');
|
2009-07-21 14:48:19 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ResultCacheTest');
|
2009-06-15 22:25:47 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\QueryTest');
|
2009-07-01 16:03:41 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneUnidirectionalAssociationTest');
|
2009-07-01 14:04:22 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneBidirectionalAssociationTest');
|
2009-07-01 17:45:31 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToManyBidirectionalAssociationTest');
|
2009-11-19 16:12:00 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyBasicAssociationTest');
|
2009-07-02 13:37:59 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyUnidirectionalAssociationTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManyBidirectionalAssociationTest');
|
2009-07-06 16:42:14 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToOneSelfReferentialAssociationTest');
|
2009-07-03 21:36:41 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\OneToManySelfReferentialAssociationTest');
|
2009-07-06 16:18:04 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ManyToManySelfReferentialAssociationTest');
|
2009-07-16 17:59:26 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\ReferenceProxyTest');
|
2009-07-18 22:06:30 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\LifecycleCallbackTest');
|
2009-07-20 16:05:19 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\StandardEntityPersisterTest');
|
2009-07-30 19:16:02 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\MappedSuperclassTest');
|
2009-08-14 15:04:31 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\EntityRepositoryTest');
|
2009-10-09 18:27:35 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Functional\IdentityMapTest');
|
2009-07-18 15:41:37 +04:00
|
|
|
|
|
|
|
$suite->addTest(Locking\AllTests::suite());
|
2009-08-21 22:13:22 +04:00
|
|
|
$suite->addTest(SchemaTool\AllTests::suite());
|
2009-09-08 23:31:26 +04:00
|
|
|
$suite->addTest(Ticket\AllTests::suite());
|
2009-01-22 22:38:10 +03:00
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Functional_AllTests::main') {
|
|
|
|
AllTests::main();
|
2009-07-01 16:03:41 +04:00
|
|
|
}
|