2009-01-22 19:38:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\ORM\Mapping;
|
|
|
|
|
|
|
|
if (!defined('PHPUnit_MAIN_METHOD')) {
|
|
|
|
define('PHPUnit_MAIN_METHOD', 'Orm_Mapping_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\DoctrineTestSuite('Doctrine Orm Mapping');
|
|
|
|
|
2009-06-01 16:15:49 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\ClassMetadataTest');
|
2010-02-01 21:48:27 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\XmlMappingDriverTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\YamlMappingDriverTest');
|
2010-02-02 21:17:00 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\AnnotationDriverTest');
|
2010-04-26 14:12:20 +02:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\PHPMappingDriverTest');
|
2010-04-23 16:16:16 -04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\StaticPHPMappingDriverTest');
|
2009-06-05 21:40:47 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\ClassMetadataFactoryTest');
|
2009-07-15 20:18:40 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\ClassMetadataLoadEventTest');
|
2009-07-30 15:16:02 +00:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\BasicInheritanceMappingTest');
|
2010-07-21 21:20:55 +02:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Mapping\DriverChainTest');
|
2009-01-22 19:38:10 +00:00
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Mapping_AllTests::main') {
|
|
|
|
AllTests::main();
|
2009-02-18 07:59:11 +00:00
|
|
|
}
|