Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 392d785

Browse files
committed
removed covers annotation from loader tests and unneeded use statements
1 parent 45987eb commit 392d785

7 files changed

+0
-30
lines changed

src/Symfony/Component/Routing/Tests/Loader/AnnotationClassLoaderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Routing\Tests\Loader;
1313

14-
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
15-
1614
class AnnotationClassLoaderTest extends AbstractAnnotationLoaderTest
1715
{
1816
protected $loader;
@@ -42,7 +40,6 @@ public function testLoadAbstractClass()
4240
}
4341

4442
/**
45-
* @covers Symfony\Component\Routing\Loader\AnnotationClassLoader::supports
4643
* @dataProvider provideTestSupportsChecksResource
4744
*/
4845
public function testSupportsChecksResource($resource, $expectedSupports)
@@ -63,9 +60,6 @@ public function provideTestSupportsChecksResource()
6360
);
6461
}
6562

66-
/**
67-
* @covers Symfony\Component\Routing\Loader\AnnotationClassLoader::supports
68-
*/
6963
public function testSupportsChecksTypeIfSpecified()
7064
{
7165
$this->assertTrue($this->loader->supports('class', 'annotation'), '->supports() checks the resource type if specified');

src/Symfony/Component/Routing/Tests/Loader/AnnotationDirectoryLoaderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ public function testLoad()
4040
$this->loader->load(__DIR__.'/../Fixtures/AnnotatedClasses');
4141
}
4242

43-
/**
44-
* @covers Symfony\Component\Routing\Loader\AnnotationDirectoryLoader::supports
45-
*/
4643
public function testSupports()
4744
{
4845
$fixturesDir = __DIR__.'/../Fixtures';

src/Symfony/Component/Routing/Tests/Loader/AnnotationFileLoaderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public function testLoad()
3434
$this->loader->load(__DIR__.'/../Fixtures/AnnotatedClasses/FooClass.php');
3535
}
3636

37-
/**
38-
* @covers Symfony\Component\Routing\Loader\AnnotationFileLoader::supports
39-
*/
4037
public function testSupports()
4138
{
4239
$fixture = __DIR__.'/../Fixtures/annotated.php';

src/Symfony/Component/Routing/Tests/Loader/ClosureLoaderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ protected function setUp()
2424
}
2525
}
2626

27-
/**
28-
* @covers Symfony\Component\Routing\Loader\ClosureLoader::supports
29-
*/
3027
public function testSupports()
3128
{
3229
$loader = new ClosureLoader();
@@ -40,9 +37,6 @@ public function testSupports()
4037
$this->assertFalse($loader->supports($closure, 'foo'), '->supports() checks the resource type if specified');
4138
}
4239

43-
/**
44-
* @covers Symfony\Component\Routing\Loader\ClosureLoader::load
45-
*/
4640
public function testLoad()
4741
{
4842
$loader = new ClosureLoader();

src/Symfony/Component/Routing/Tests/Loader/PhpFileLoaderTest.php

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

1414
use Symfony\Component\Config\FileLocator;
1515
use Symfony\Component\Routing\Loader\PhpFileLoader;
16-
use Symfony\Component\Routing\Route;
1716

1817
class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase
1918
{
@@ -24,9 +23,6 @@ protected function setUp()
2423
}
2524
}
2625

27-
/**
28-
* @covers Symfony\Component\Routing\Loader\PhpFileLoader::supports
29-
*/
3026
public function testSupports()
3127
{
3228
$loader = new PhpFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));

src/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php

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

1414
use Symfony\Component\Config\FileLocator;
1515
use Symfony\Component\Routing\Loader\XmlFileLoader;
16-
use Symfony\Component\Routing\Route;
1716
use Symfony\Component\Routing\Tests\Fixtures\CustomXmlFileLoader;
1817

1918
class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
@@ -25,9 +24,6 @@ protected function setUp()
2524
}
2625
}
2726

28-
/**
29-
* @covers Symfony\Component\Routing\Loader\XmlFileLoader::supports
30-
*/
3127
public function testSupports()
3228
{
3329
$loader = new XmlFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));

src/Symfony/Component/Routing/Tests/Loader/YamlFileLoaderTest.php

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

1414
use Symfony\Component\Config\FileLocator;
1515
use Symfony\Component\Routing\Loader\YamlFileLoader;
16-
use Symfony\Component\Routing\Route;
1716
use Symfony\Component\Config\Resource\FileResource;
1817

1918
class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
@@ -29,9 +28,6 @@ protected function setUp()
2928
}
3029
}
3130

32-
/**
33-
* @covers Symfony\Component\Routing\Loader\YamlFileLoader::supports
34-
*/
3531
public function testSupports()
3632
{
3733
$loader = new YamlFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));

0 commit comments

Comments
 (0)