Skip to content

Commit d3008b4

Browse files
committed
removed @Covers annotations in tests
1 parent db54164 commit d3008b4

File tree

8 files changed

+0
-30
lines changed

8 files changed

+0
-30
lines changed

src/Symfony/Bridge/Twig/Tests/Command/LintCommandTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
use Symfony\Component\Console\Output\OutputInterface;
1717
use Symfony\Component\Console\Tester\CommandTester;
1818

19-
/**
20-
* @covers \Symfony\Bridge\Twig\Command\LintCommand
21-
*/
2219
class LintCommandTest extends \PHPUnit_Framework_TestCase
2320
{
2421
private $files;

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public function testGetCommand()
9393
$this->assertEquals($cmd, $helperset->getCommand(), '->getCommand() retrieves stored command');
9494
}
9595

96-
/**
97-
* @covers \Symfony\Component\Console\Helper\HelperSet::getIterator
98-
*/
9996
public function testIteration()
10097
{
10198
$helperset = new HelperSet();

src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ public function testConstructor()
2424
$this->assertEquals(array('foo'), $def->getArguments(), '__construct() takes an optional array of arguments as its second argument');
2525
}
2626

27-
/**
28-
* @covers Symfony\Component\DependencyInjection\Definition::setFactory
29-
* @covers Symfony\Component\DependencyInjection\Definition::getFactory
30-
*/
3127
public function testSetGetFactory()
3228
{
3329
$def = new Definition('stdClass');

src/Symfony/Component/DependencyInjection/Tests/LegacyContainerBuilderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
*/
2020
class LegacyContainerBuilderTest extends \PHPUnit_Framework_TestCase
2121
{
22-
/**
23-
* @covers Symfony\Component\DependencyInjection\ContainerBuilder::createService
24-
*/
2522
public function testCreateServiceFactoryMethod()
2623
{
2724
$builder = new ContainerBuilder();
@@ -32,9 +29,6 @@ public function testCreateServiceFactoryMethod()
3229
$this->assertEquals(array('foo' => 'bar', 'bar' => 'foo', $builder->get('bar')), $builder->get('foo1')->arguments, '->createService() passes the arguments to the factory method');
3330
}
3431

35-
/**
36-
* @covers Symfony\Component\DependencyInjection\ContainerBuilder::createService
37-
*/
3832
public function testCreateServiceFactoryService()
3933
{
4034
$builder = new ContainerBuilder();

src/Symfony/Component/Form/Tests/Extension/DataCollector/DataCollectorExtensionTest.php

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

1414
use Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension;
1515

16-
/**
17-
* @covers Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension
18-
*/
1916
class DataCollectorExtensionTest extends \PHPUnit_Framework_TestCase
2017
{
2118
/**

src/Symfony/Component/HttpFoundation/Tests/ParameterBagTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ public function testCount()
212212
$this->assertEquals(count($parameters), count($bag));
213213
}
214214

215-
/**
216-
* @covers Symfony\Component\HttpFoundation\ParameterBag::getBoolean
217-
*/
218215
public function testGetBoolean()
219216
{
220217
$parameters = array('string_true' => 'true', 'string_false' => 'false');

src/Symfony/Component/Security/Core/Tests/User/UserTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public function testEraseCredentials()
9393
$this->assertEquals('superpass', $user->getPassword());
9494
}
9595

96-
/**
97-
* @covers Symfony\Component\Security\Core\User\User::__toString
98-
*/
9996
public function testToString()
10097
{
10198
$user = new User('fabien', 'superpass');

src/Symfony/Component/Yaml/Tests/ParserTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,6 @@ public function testScalarInSequence()
572572
*
573573
* @see http://yaml.org/spec/1.2/spec.html#id2759572
574574
* @see http://yaml.org/spec/1.1/#id932806
575-
*
576-
* @covers \Symfony\Component\Yaml\Parser::parse
577575
*/
578576
public function testMappingDuplicateKeyBlock()
579577
{
@@ -593,9 +591,6 @@ public function testMappingDuplicateKeyBlock()
593591
$this->assertSame($expected, Yaml::parse($input));
594592
}
595593

596-
/**
597-
* @covers \Symfony\Component\Yaml\Inline::parseMapping
598-
*/
599594
public function testMappingDuplicateKeyFlow()
600595
{
601596
$input = <<<EOD

0 commit comments

Comments
 (0)