[Bridge/Doctrine] Fix legacy tests

This commit is contained in:
Nicolas Grekas 2015-11-29 10:45:59 +01:00
parent ff2addc4f9
commit 7d9237200f
17 changed files with 68 additions and 0 deletions

View File

@ -13,6 +13,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/

View File

@ -15,6 +15,10 @@ use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity;
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* Test choices generated from an entity with a primary foreign key.
*

View File

@ -13,6 +13,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/

View File

@ -13,6 +13,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/

View File

@ -16,6 +16,10 @@ use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Doctrine\ORM\Tools\SchemaTool;
use Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -14,6 +14,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>

View File

@ -14,6 +14,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -14,6 +14,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -11,6 +11,10 @@
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy

View File

@ -14,6 +14,10 @@ namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}
/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy