Documentation

ConstantTest extends TestCase
in package
Uses MetadataContainerTest

Base test case for all elements.

Tags
uses
DocBlock
uses
Visibility
uses
Fqsen
coversDefaultClass

\phpDocumentor\Reflection\Php\Constant

covers
covers

::

Table of Contents

$fixture  : Constant
$fixture  : Element|MetaDataContainer
$docBlock  : DocBlock
$fqsen  : Fqsen
$value  : string
testGetDocblock()  : void
testGetFqsen()  : void
testGetValue()  : void
testGetVisibility()  : void
testIsFinal()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
Creates a new (empty) fixture object.
getFixture()  : MetaDataContainer

Properties

Methods

testGetDocblock()

public testGetDocblock() : void
Tags
covers
Return values
void

testGetFqsen()

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

testGetValue()

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

testGetVisibility()

public testGetVisibility() : void
Tags
covers
Return values
void

testIsFinal()

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

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
Return values
void

testLineNumberIsMinusOneWhenNoneIsProvided()

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

testSetMetaDataForNonExistingKey()

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

testSetMetaDataWithExistingKeyThrows()

public testSetMetaDataWithExistingKeyThrows() : void
Tags
covers
Return values
void

setUp()

Creates a new (empty) fixture object.

protected setUp() : void
Return values
void

Search results