Documentation

PropertyTest extends TestCase
in package
Uses MetadataContainerTest

Tests the functionality for the Property class.

Tags
coversDefaultClass

\phpDocumentor\Reflection\Php\Property

covers
covers

::

Table of Contents

$fixture  : Property
$fixture  : Element|MetaDataContainer
$docBlock  : DocBlock
$fqsen  : Fqsen
$visibility  : Visibility
testGetDefault()  : void
testGetDocBlock()  : void
testGetFqsenAndGetName()  : void
testGettingVisibility()  : void
testGettingWhetherPropertyIsReadOnly()  : void
testGettingWhetherPropertyIsStatic()  : void
testGetType()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testSetAndGetTypes()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
getFixture()  : MetaDataContainer

Properties

Methods

testGetFqsenAndGetName()

public testGetFqsenAndGetName() : void
Tags
uses
Visibility
covers
covers
Return values
void

testGettingVisibility()

public testGettingVisibility() : void
Tags
uses
Visibility
covers
covers
Return values
void

testGettingWhetherPropertyIsReadOnly()

public testGettingWhetherPropertyIsReadOnly() : void
Tags
uses
Visibility
covers
covers
Return values
void

testGettingWhetherPropertyIsStatic()

public testGettingWhetherPropertyIsStatic() : void
Tags
uses
Visibility
covers
covers
Return values
void

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
Return values
void

testLineNumberIsMinusOneWhenNoneIsProvided()

public testLineNumberIsMinusOneWhenNoneIsProvided() : void
Tags
covers
covers
Return values
void

testSetAndGetTypes()

public testSetAndGetTypes() : void
Tags
uses
Visibility
covers
covers
Return values
void

testSetMetaDataForNonExistingKey()

public testSetMetaDataForNonExistingKey() : void
Tags
covers
covers
Return values
void

testSetMetaDataWithExistingKeyThrows()

public testSetMetaDataWithExistingKeyThrows() : void
Tags
covers
Return values
void

Search results