Shortened some long variable names in the test suite, as advised by PHPMD's default settings.

This commit is contained in:
Vasil Rangelov
2012-11-04 23:34:25 +02:00
parent 54f30f83b6
commit e04f25a77b
2 changed files with 15 additions and 15 deletions
@@ -28,9 +28,9 @@ class ParamTagTest extends \PHPUnit_Framework_TestCase
* *
* @param string $type * @param string $type
* @param string $content * @param string $content
* @param string $extracted_type * @param string $extractedType
* @param string $extracted_variable_name * @param string $extractedVarName
* @param string $extracted_description * @param string $extractedDescription
* *
* @covers \phpDocumentor\Reflection\DocBlock\Tag\ParamTag::__construct * @covers \phpDocumentor\Reflection\DocBlock\Tag\ParamTag::__construct
* *
@@ -41,15 +41,15 @@ class ParamTagTest extends \PHPUnit_Framework_TestCase
public function testConstructorParsesInputsIntoCorrectFields( public function testConstructorParsesInputsIntoCorrectFields(
$type, $type,
$content, $content,
$extracted_type, $extractedType,
$extracted_variable_name, $extractedVarName,
$extracted_description $extractedDescription
) { ) {
$tag = new ParamTag($type, $content); $tag = new ParamTag($type, $content);
$this->assertEquals($extracted_type, $tag->getTypes()); $this->assertEquals($extractedType, $tag->getTypes());
$this->assertEquals($extracted_variable_name, $tag->getVariableName()); $this->assertEquals($extractedVarName, $tag->getVariableName());
$this->assertEquals($extracted_description, $tag->getDescription()); $this->assertEquals($extractedDescription, $tag->getDescription());
} }
/** /**
@@ -27,8 +27,8 @@ class ReturnTagTest extends ParamTagTest
* understand the Return DocBlock. * understand the Return DocBlock.
* *
* @param string $content * @param string $content
* @param string $extracted_type * @param string $extractedType
* @param string $extracted_description * @param string $extractedDescription
* *
* @covers \phpDocumentor\Reflection\DocBlock\Tag\ReturnTag::__construct * @covers \phpDocumentor\Reflection\DocBlock\Tag\ReturnTag::__construct
* *
@@ -38,13 +38,13 @@ class ReturnTagTest extends ParamTagTest
*/ */
public function testConstructorParsesInputsIntoCorrectFields( public function testConstructorParsesInputsIntoCorrectFields(
$content, $content,
$extracted_type, $extractedType,
$extracted_description $extractedDescription
) { ) {
$tag = new ReturnTag('return', $content); $tag = new ReturnTag('return', $content);
$this->assertEquals($extracted_type, $tag->getTypes()); $this->assertEquals($extractedType, $tag->getTypes());
$this->assertEquals($extracted_description, $tag->getDescription()); $this->assertEquals($extractedDescription, $tag->getDescription());
} }
/** /**