2009-02-17 04:55:09 +03:00
|
|
|
<?php
|
|
|
|
|
2009-03-30 23:43:05 +04:00
|
|
|
namespace Doctrine\Tests\ORM\Id;
|
2009-02-17 04:55:09 +03:00
|
|
|
|
|
|
|
if (!defined('PHPUnit_MAIN_METHOD')) {
|
2009-03-30 23:43:05 +04:00
|
|
|
define('PHPUnit_MAIN_METHOD', 'Orm_Id_AllTests::main');
|
2009-02-17 04:55:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
require_once __DIR__ . '/../../TestInit.php';
|
|
|
|
|
|
|
|
class AllTests
|
|
|
|
{
|
|
|
|
public static function main()
|
|
|
|
{
|
|
|
|
\PHPUnit_TextUI_TestRunner::run(self::suite());
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function suite()
|
|
|
|
{
|
2009-03-30 23:43:05 +04:00
|
|
|
$suite = new \Doctrine\Tests\DoctrineTestSuite('Doctrine Orm Id');
|
2009-02-17 04:55:09 +03:00
|
|
|
|
2009-03-30 23:43:05 +04:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Id\SequenceGeneratorTest');
|
2009-11-06 13:28:37 +03:00
|
|
|
$suite->addTestSuite('Doctrine\Tests\ORM\Id\AssignedIdTest');
|
2009-02-17 04:55:09 +03:00
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-03-30 23:43:05 +04:00
|
|
|
if (PHPUnit_MAIN_METHOD == 'Orm_Id_AllTests::main') {
|
2009-02-17 04:55:09 +03:00
|
|
|
AllTests::main();
|
2009-02-18 10:59:11 +03:00
|
|
|
}
|