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
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
$fixture
public
Enum_
$fixture
$docBlock
private
DocBlock
$docBlock
$fqsen
private
Fqsen
$fqsen
$parent
private
Fqsen
$parent
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
testSetMetaDataForNonExistingKey()
public
testSetMetaDataForNonExistingKey() : void
testSetMetaDataWithExistingKeyThrows()
public
testSetMetaDataWithExistingKeyThrows() : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()
protected
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided(Element|MetaDataContainer $fixture) : void
Parameters
- $fixture : Element|MetaDataContainer
setUp()
Creates a new (emoty) fixture object.
protected
setUp() : void
getFixture()
private
getFixture() : MetaDataContainer