Documentation

Enum_Test extends TestCase
in package
uses MetadataContainerTestHelper

FinalYes

Base test case for all elements.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Enum_::class
#[UsesClass]
'\phpDocumentor\Reflection\Php\Method'
#[UsesClass]
'\phpDocumentor\Reflection\Php\EnumCase'

Table of Contents

Properties

$fixture  : Enum_
$docBlock  : DocBlock
$fqsen  : Fqsen
$parent  : Fqsen

Methods

testAddAndGettingCases()  : void
testAddAndGettingConstants()  : void
testAddAndGettingInterfaces()  : void
testAddAndGettingMethods()  : void
testAddAndGettingUsedTrait()  : void
testGetBackedWithOutType()  : void
testGettingDocBlock()  : void
testGettingFqsen()  : void
testGettingName()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
Creates a new (emoty) fixture object.
getFixture()  : MetaDataContainer

Properties

Methods

testAddAndGettingCases()

public testAddAndGettingCases() : void

testAddAndGettingConstants()

public testAddAndGettingConstants() : void

testAddAndGettingInterfaces()

public testAddAndGettingInterfaces() : void

testAddAndGettingMethods()

public testAddAndGettingMethods() : void

testAddAndGettingUsedTrait()

public testAddAndGettingUsedTrait() : void

testGetBackedWithOutType()

public testGetBackedWithOutType() : void

testGettingDocBlock()

public testGettingDocBlock() : void

testGettingFqsen()

public testGettingFqsen() : void

testGettingName()

public testGettingName() : void

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void

testLineNumberIsMinusOneWhenNoneIsProvided()

public testLineNumberIsMinusOneWhenNoneIsProvided() : void

setUp()

Creates a new (emoty) fixture object.

protected setUp() : void

        
On this page

Search results