Skip to content

Commit ed40c90

Browse files
[2.6] add @group legacy
1 parent b5e9107 commit ed40c90

File tree

133 files changed

+281
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+281
-1
lines changed

src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/GenericEntityChoiceListTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ public function testInitShorthandEntityName()
267267
$this->assertEquals(array(1, 2), $choiceList->getValuesForChoices(array($item1, $item2)));
268268
}
269269

270+
/**
271+
* @group legacy
272+
*/
270273
public function testLegacyInitShorthandEntityName()
271274
{
272275
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidator2Dot4ApiTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
/**
1717
* @since 2.5.4
1818
* @author Bernhard Schussek <[email protected]>
19+
* @group legacy
1920
*/
2021
class LegacyUniqueEntityValidator2Dot4ApiTest extends UniqueEntityValidatorTest
2122
{

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
/**
1717
* @since 2.5.4
1818
* @author Bernhard Schussek <[email protected]>
19+
* @group legacy
1920
*/
2021
class LegacyUniqueEntityValidatorLegacyApiTest extends UniqueEntityValidatorTest
2122
{

src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ public function testDifferentEqualObjectsAreChoosen()
204204
$this->assertEquals(array('1'), $choiceList->getValuesForChoices(array($choosenItem)));
205205
}
206206

207+
/**
208+
* @group legacy
209+
*/
207210
public function testLegacygetIndicesForChoices()
208211
{
209212
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
@@ -228,6 +231,9 @@ public function testLegacygetIndicesForChoices()
228231
$this->assertEquals(array(1, 2), $choiceList->getIndicesForChoices(array($item1, $item2)));
229232
}
230233

234+
/**
235+
* @group legacy
236+
*/
231237
public function testLegacyDifferentEqualObjectsAreChoosen()
232238
{
233239
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
@@ -249,6 +255,9 @@ public function testLegacyDifferentEqualObjectsAreChoosen()
249255
$this->assertEquals(array(1), $choiceList->getIndicesForChoices(array($choosenItem)));
250256
}
251257

258+
/**
259+
* @group legacy
260+
*/
252261
public function testLegacyGetIndicesForNullChoices()
253262
{
254263
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);

src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ protected function setUp()
2626
$this->globals = new GlobalVariables($this->container);
2727
}
2828

29+
/**
30+
* @group legacy
31+
*/
2932
public function testLegacyGetSecurity()
3033
{
3134
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);

src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
use Symfony\Component\ClassLoader\ApcUniversalClassLoader;
1515

16+
/**
17+
* @group legacy
18+
*/
1619
class LegacyApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
1720
{
1821
protected function setUp()

src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
use Symfony\Component\ClassLoader\UniversalClassLoader;
1515

16+
/**
17+
* @group legacy
18+
*/
1619
class LegacyUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
1720
{
1821
protected function setUp()

src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
use Symfony\Component\Console\Helper\FormatterHelper;
1818
use Symfony\Component\Console\Output\StreamOutput;
1919

20+
/**
21+
* @group legacy
22+
*/
2023
class LegacyDialogHelperTest extends \PHPUnit_Framework_TestCase
2124
{
2225
protected function setUp()

src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
use Symfony\Component\Console\Helper\ProgressHelper;
1515
use Symfony\Component\Console\Output\StreamOutput;
1616

17+
/**
18+
* @group legacy
19+
*/
1720
class LegacyProgressHelperTest extends \PHPUnit_Framework_TestCase
1821
{
1922
protected function setUp()

src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
use Symfony\Component\Console\Helper\TableHelper;
1515
use Symfony\Component\Console\Output\StreamOutput;
1616

17+
/**
18+
* @group legacy
19+
*/
1720
class LegacyTableHelperTest extends \PHPUnit_Framework_TestCase
1821
{
1922
protected $stream;

0 commit comments

Comments
 (0)