Skip to content

Commit

Permalink
removed covers annotation from loader tests and unneeded use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobion committed Dec 11, 2012
1 parent 45987eb commit 392d785
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 30 deletions.
Expand Up @@ -11,8 +11,6 @@

namespace Symfony\Component\Routing\Tests\Loader;

use Symfony\Component\Routing\Loader\AnnotationClassLoader;

class AnnotationClassLoaderTest extends AbstractAnnotationLoaderTest
{
protected $loader;
Expand Down Expand Up @@ -42,7 +40,6 @@ public function testLoadAbstractClass()
}

/**
* @covers Symfony\Component\Routing\Loader\AnnotationClassLoader::supports
* @dataProvider provideTestSupportsChecksResource
*/
public function testSupportsChecksResource($resource, $expectedSupports)
Expand All @@ -63,9 +60,6 @@ public function provideTestSupportsChecksResource()
);
}

/**
* @covers Symfony\Component\Routing\Loader\AnnotationClassLoader::supports
*/
public function testSupportsChecksTypeIfSpecified()
{
$this->assertTrue($this->loader->supports('class', 'annotation'), '->supports() checks the resource type if specified');
Expand Down
Expand Up @@ -40,9 +40,6 @@ public function testLoad()
$this->loader->load(__DIR__.'/../Fixtures/AnnotatedClasses');
}

/**
* @covers Symfony\Component\Routing\Loader\AnnotationDirectoryLoader::supports
*/
public function testSupports()
{
$fixturesDir = __DIR__.'/../Fixtures';
Expand Down
Expand Up @@ -34,9 +34,6 @@ public function testLoad()
$this->loader->load(__DIR__.'/../Fixtures/AnnotatedClasses/FooClass.php');
}

/**
* @covers Symfony\Component\Routing\Loader\AnnotationFileLoader::supports
*/
public function testSupports()
{
$fixture = __DIR__.'/../Fixtures/annotated.php';
Expand Down
Expand Up @@ -24,9 +24,6 @@ protected function setUp()
}
}

/**
* @covers Symfony\Component\Routing\Loader\ClosureLoader::supports
*/
public function testSupports()
{
$loader = new ClosureLoader();
Expand All @@ -40,9 +37,6 @@ public function testSupports()
$this->assertFalse($loader->supports($closure, 'foo'), '->supports() checks the resource type if specified');
}

/**
* @covers Symfony\Component\Routing\Loader\ClosureLoader::load
*/
public function testLoad()
{
$loader = new ClosureLoader();
Expand Down
Expand Up @@ -13,7 +13,6 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\Routing\Loader\PhpFileLoader;
use Symfony\Component\Routing\Route;

class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase
{
Expand All @@ -24,9 +23,6 @@ protected function setUp()
}
}

/**
* @covers Symfony\Component\Routing\Loader\PhpFileLoader::supports
*/
public function testSupports()
{
$loader = new PhpFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));
Expand Down
Expand Up @@ -13,7 +13,6 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\Routing\Loader\XmlFileLoader;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\Tests\Fixtures\CustomXmlFileLoader;

class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
Expand All @@ -25,9 +24,6 @@ protected function setUp()
}
}

/**
* @covers Symfony\Component\Routing\Loader\XmlFileLoader::supports
*/
public function testSupports()
{
$loader = new XmlFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));
Expand Down
Expand Up @@ -13,7 +13,6 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\Routing\Loader\YamlFileLoader;
use Symfony\Component\Routing\Route;
use Symfony\Component\Config\Resource\FileResource;

class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
Expand All @@ -29,9 +28,6 @@ protected function setUp()
}
}

/**
* @covers Symfony\Component\Routing\Loader\YamlFileLoader::supports
*/
public function testSupports()
{
$loader = new YamlFileLoader($this->getMock('Symfony\Component\Config\FileLocator'));
Expand Down

0 comments on commit 392d785

Please sign in to comment.