Documentation

TagTest extends PHPUnit_Framework_TestCase
in package

Test class for \Barryvdh\Reflection\DocBlock\Tag\VarTag

Tags
author

Daniel O'Connor daniel.oconnor@gmail.com

copyright

2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)

license

http://www.opensource.org/licenses/mit-license.php MIT

link
http://phpdoc.org

Table of Contents

provideDataForConstuctor()  : array<string|int, mixed>
Data provider for testConstructorParesInputsIntoCorrectFields
testConstructorParesInputsIntoCorrectFields()  : void
Test that the \Barryvdh\Reflection\DocBlock\Tag\VarTag can understand the @var doc block.
testIncompatibleTagHandlerRegistration()  : void
testInvalidTagLine()  : void
testNamespacedTagHandlerCorrectRegistration()  : void
testNamespacedTagHandlerIncorrectRegistration()  : void
testNonExistentTagHandlerRegistration()  : void
testTagHandlerCorrectRegistration()  : void
testTagHandlerUnregistration()  : void

Methods

provideDataForConstuctor()

Data provider for testConstructorParesInputsIntoCorrectFields

public provideDataForConstuctor() : array<string|int, mixed>
Return values
array<string|int, mixed>

testConstructorParesInputsIntoCorrectFields()

Test that the \Barryvdh\Reflection\DocBlock\Tag\VarTag can understand the @var doc block.

public testConstructorParesInputsIntoCorrectFields(string $type, string $content, string $exDescription) : void
Parameters
$type : string
$content : string
$exDescription : string
Tags
covers
dataProvider

provideDataForConstuctor

Return values
void

testIncompatibleTagHandlerRegistration()

public testIncompatibleTagHandlerRegistration() : void
Tags
covers
Return values
void

testInvalidTagLine()

public testInvalidTagLine() : void
Tags
expectedException

\InvalidArgumentException

Return values
void

testNamespacedTagHandlerCorrectRegistration()

public testNamespacedTagHandlerCorrectRegistration() : void
Tags
depends

testTagHandlerCorrectRegistration

covers
covers
Return values
void

testNamespacedTagHandlerIncorrectRegistration()

public testNamespacedTagHandlerIncorrectRegistration() : void
Tags
depends

testTagHandlerCorrectRegistration

covers
covers
Return values
void

testNonExistentTagHandlerRegistration()

public testNonExistentTagHandlerRegistration() : void
Tags
covers
Return values
void

testTagHandlerCorrectRegistration()

public testTagHandlerCorrectRegistration() : void
Tags
covers
Return values
void

testTagHandlerUnregistration()

public testTagHandlerUnregistration() : void
Tags
covers
Return values
void

Search results