[Form] Add missing @group legacy annotations

This commit is contained in:
Nicolas Grekas 2015-08-01 11:27:02 +02:00
parent 2abdd50414
commit 9fdf314cfa
22 changed files with 66 additions and 0 deletions

View File

@ -16,6 +16,9 @@ namespace Symfony\Component\Form\Tests\Extension\Core\Type;
*/ */
class BirthdayTypeTest extends BaseTypeTest class BirthdayTypeTest extends BaseTypeTest
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('birthday'); $form = $this->factory->create('birthday');

View File

@ -16,6 +16,9 @@ namespace Symfony\Component\Form\Tests\Extension\Core\Type;
*/ */
class ButtonTypeTest extends BaseTypeTest class ButtonTypeTest extends BaseTypeTest
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('button'); $form = $this->factory->create('button');

View File

@ -15,6 +15,9 @@ use Symfony\Component\Form\CallbackTransformer;
class CheckboxTypeTest extends \Symfony\Component\Form\Test\TypeTestCase class CheckboxTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('checkbox'); $form = $this->factory->create('checkbox');

View File

@ -67,6 +67,9 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
$this->objectChoices = null; $this->objectChoices = null;
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('choice'); $form = $this->factory->create('choice');

View File

@ -17,6 +17,9 @@ use Symfony\Component\Form\Tests\Fixtures\AuthorType;
class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('collection', array( $form = $this->factory->create('collection', array(

View File

@ -24,6 +24,9 @@ class CountryTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('country'); $form = $this->factory->create('country');

View File

@ -24,6 +24,9 @@ class CurrencyTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('currency'); $form = $this->factory->create('currency');

View File

@ -24,6 +24,9 @@ class DateTimeTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('datetime'); $form = $this->factory->create('datetime');

View File

@ -37,6 +37,9 @@ class DateTypeTest extends TestCase
date_default_timezone_set($this->defaultTimezone); date_default_timezone_set($this->defaultTimezone);
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('date'); $form = $this->factory->create('date');

View File

@ -13,6 +13,9 @@ namespace Symfony\Component\Form\Tests\Extension\Core\Type;
class FileTypeTest extends \Symfony\Component\Form\Test\TypeTestCase class FileTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('file'); $form = $this->factory->create('file');

View File

@ -51,6 +51,9 @@ class FormTest_AuthorWithoutRefSetter
class FormTypeTest extends BaseTypeTest class FormTypeTest extends BaseTypeTest
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('form'); $form = $this->factory->create('form');

View File

@ -23,6 +23,9 @@ class IntegerTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('integer'); $form = $this->factory->create('integer');

View File

@ -24,6 +24,9 @@ class LanguageTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('language'); $form = $this->factory->create('language');

View File

@ -24,6 +24,9 @@ class LocaleTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('locale'); $form = $this->factory->create('locale');

View File

@ -25,6 +25,9 @@ class MoneyTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('money'); $form = $this->factory->create('money');

View File

@ -26,6 +26,9 @@ class NumberTypeTest extends TestCase
\Locale::setDefault('de_DE'); \Locale::setDefault('de_DE');
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('number'); $form = $this->factory->create('number');

View File

@ -13,6 +13,9 @@ namespace Symfony\Component\Form\Tests\Extension\Core\Type;
class PasswordTypeTest extends \Symfony\Component\Form\Test\TypeTestCase class PasswordTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('password'); $form = $this->factory->create('password');

View File

@ -25,6 +25,9 @@ class RepeatedTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
$this->form->setData(null); $this->form->setData(null);
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('repeated', array( $form = $this->factory->create('repeated', array(

View File

@ -18,6 +18,9 @@ use Symfony\Component\Form\Test\TypeTestCase as TestCase;
*/ */
class SubmitTypeTest extends TestCase class SubmitTypeTest extends TestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('submit'); $form = $this->factory->create('submit');

View File

@ -25,6 +25,9 @@ class TimeTypeTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('time'); $form = $this->factory->create('time');

View File

@ -15,6 +15,9 @@ use Symfony\Component\Form\ChoiceList\View\ChoiceView;
class TimezoneTypeTest extends \Symfony\Component\Form\Test\TypeTestCase class TimezoneTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('timezone'); $form = $this->factory->create('timezone');

View File

@ -15,6 +15,9 @@ use Symfony\Component\Form\Test\TypeTestCase as TestCase;
class UrlTypeTest extends TestCase class UrlTypeTest extends TestCase
{ {
/**
* @group legacy
*/
public function testLegacyName() public function testLegacyName()
{ {
$form = $this->factory->create('url'); $form = $this->factory->create('url');