2009-10-06 02:09:29 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\ORM\Tools;
|
|
|
|
|
|
|
|
if (!defined('PHPUnit_MAIN_METHOD')) {
|
|
|
|
define('PHPUnit_MAIN_METHOD', 'Orm_Tools_AllTests::main');
|
|
|
|
}
|
|
|
|
|
|
|
|
require_once __DIR__ . '/../../TestInit.php';
|
|
|
|
|
|
|
|
|
|
|
|
class AllTests
|
|
|
|
{
|
|
|
|
public static function main()
|
|
|
|
{
|
|
|
|
\PHPUnit_TextUI_TestRunner::run(self::suite());
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function suite()
|
|
|
|
{
|
2010-01-21 01:35:18 +03:00
|
|
|
$suite = new \Doctrine\Tests\DoctrineTestSuite('Doctrine Orm Tools');
|
2009-10-06 02:09:29 +04:00
|
|
|
|
2010-03-18 00:25:19 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\Export\YamlClassMetadataExporterTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\Export\XmlClassMetadataExporterTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\Export\PhpClassMetadataExporterTest');
|
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\Export\AnnotationClassMetadataExporterTest');
|
2009-10-07 02:38:34 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\ConvertDoctrine1SchemaTest');
|
2010-01-21 01:35:18 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\SchemaToolTest');
|
2010-03-19 00:38:42 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\EntityGeneratorTest');
|
2010-05-12 01:08:36 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\SchemaValidatorTest');
|
2010-06-20 02:28:20 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommandTest');
|
2009-10-06 02:09:29 +04:00
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Tools_AllTests::main') {
|
|
|
|
AllTests::main();
|
|
|
|
}
|