mirror of
https://github.com/danog/PHP-Parser.git
synced 2025-01-20 12:46:47 +01:00
Fix coverage annotations
This commit is contained in:
parent
3e1665bbbd
commit
6dc24fa9f5
@ -6,7 +6,7 @@ class NodeDumperTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideTestDump
|
||||
* @covers NodeDumper::dump
|
||||
* @covers PhpParser\NodeDumper::dump
|
||||
*/
|
||||
public function testDump($node, $dump) {
|
||||
$dumper = new NodeDumper;
|
||||
|
@ -11,7 +11,7 @@ use PhpParser\Node\Expr;
|
||||
class NameResolverTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers NameResolver
|
||||
* @covers PhpParser\NodeVisitor\NameResolver
|
||||
*/
|
||||
public function testResolveNames() {
|
||||
$code = <<<'EOC'
|
||||
@ -137,7 +137,7 @@ EOC;
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers NameResolver
|
||||
* @covers PhpParser\NodeVisitor\NameResolver
|
||||
*/
|
||||
public function testResolveLocations() {
|
||||
$code = <<<'EOC'
|
||||
|
@ -20,7 +20,7 @@ class PrettyPrinterTest extends CodeTestAbstract
|
||||
|
||||
/**
|
||||
* @dataProvider provideTestPrettyPrint
|
||||
* @covers PrettyPrinter\Standard<extended>
|
||||
* @covers PhpParser\PrettyPrinter\Standard<extended>
|
||||
*/
|
||||
public function testPrettyPrint($name, $code, $dump) {
|
||||
$this->doTestPrettyPrintMethod('prettyPrint', $name, $code, $dump);
|
||||
@ -28,7 +28,7 @@ class PrettyPrinterTest extends CodeTestAbstract
|
||||
|
||||
/**
|
||||
* @dataProvider provideTestPrettyPrintFile
|
||||
* @covers PrettyPrinter\Standard<extended>
|
||||
* @covers PhpParser\PrettyPrinter\Standard<extended>
|
||||
*/
|
||||
public function testPrettyPrintFile($name, $code, $dump) {
|
||||
$this->doTestPrettyPrintMethod('prettyPrintFile', $name, $code, $dump);
|
||||
|
@ -7,7 +7,7 @@ use PhpParser;
|
||||
class XMLTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers XML<extended>
|
||||
* @covers PhpParser\Serializer\XML<extended>
|
||||
*/
|
||||
public function testSerialize() {
|
||||
$code = <<<CODE
|
||||
|
Loading…
x
Reference in New Issue
Block a user