removed @covers annotations in tests

This commit is contained in:
Fabien Potencier 2015-11-02 21:25:31 +01:00
parent db54164a87
commit d3008b420a
8 changed files with 0 additions and 30 deletions

View File

@ -16,9 +16,6 @@ use Symfony\Component\Console\Application;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Tester\CommandTester;
/**
* @covers \Symfony\Bridge\Twig\Command\LintCommand
*/
class LintCommandTest extends \PHPUnit_Framework_TestCase
{
private $files;

View File

@ -93,9 +93,6 @@ class HelperSetTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($cmd, $helperset->getCommand(), '->getCommand() retrieves stored command');
}
/**
* @covers \Symfony\Component\Console\Helper\HelperSet::getIterator
*/
public function testIteration()
{
$helperset = new HelperSet();

View File

@ -24,10 +24,6 @@ class DefinitionTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(array('foo'), $def->getArguments(), '__construct() takes an optional array of arguments as its second argument');
}
/**
* @covers Symfony\Component\DependencyInjection\Definition::setFactory
* @covers Symfony\Component\DependencyInjection\Definition::getFactory
*/
public function testSetGetFactory()
{
$def = new Definition('stdClass');

View File

@ -19,9 +19,6 @@ use Symfony\Component\DependencyInjection\Reference;
*/
class LegacyContainerBuilderTest extends \PHPUnit_Framework_TestCase
{
/**
* @covers Symfony\Component\DependencyInjection\ContainerBuilder::createService
*/
public function testCreateServiceFactoryMethod()
{
$builder = new ContainerBuilder();
@ -32,9 +29,6 @@ class LegacyContainerBuilderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(array('foo' => 'bar', 'bar' => 'foo', $builder->get('bar')), $builder->get('foo1')->arguments, '->createService() passes the arguments to the factory method');
}
/**
* @covers Symfony\Component\DependencyInjection\ContainerBuilder::createService
*/
public function testCreateServiceFactoryService()
{
$builder = new ContainerBuilder();

View File

@ -13,9 +13,6 @@ namespace Symfony\Component\Form\Tests\Extension\DataCollector;
use Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension;
/**
* @covers Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension
*/
class DataCollectorExtensionTest extends \PHPUnit_Framework_TestCase
{
/**

View File

@ -212,9 +212,6 @@ class ParameterBagTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(count($parameters), count($bag));
}
/**
* @covers Symfony\Component\HttpFoundation\ParameterBag::getBoolean
*/
public function testGetBoolean()
{
$parameters = array('string_true' => 'true', 'string_false' => 'false');

View File

@ -93,9 +93,6 @@ class UserTest extends \PHPUnit_Framework_TestCase
$this->assertEquals('superpass', $user->getPassword());
}
/**
* @covers Symfony\Component\Security\Core\User\User::__toString
*/
public function testToString()
{
$user = new User('fabien', 'superpass');

View File

@ -572,8 +572,6 @@ EOF
*
* @see http://yaml.org/spec/1.2/spec.html#id2759572
* @see http://yaml.org/spec/1.1/#id932806
*
* @covers \Symfony\Component\Yaml\Parser::parse
*/
public function testMappingDuplicateKeyBlock()
{
@ -593,9 +591,6 @@ EOD;
$this->assertSame($expected, Yaml::parse($input));
}
/**
* @covers \Symfony\Component\Yaml\Inline::parseMapping
*/
public function testMappingDuplicateKeyFlow()
{
$input = <<<EOD