removed @covers annotations in tests
This commit is contained in:
parent
db54164a87
commit
d3008b420a
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -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');
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user