Class_Test
extends TestCase
in package
uses
MetadataContainerTestHelper
FinalYes
Base test case for all elements.
Attributes
- #[CoversClass]
- \phpDocumentor\Reflection\Php\Class_::class
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Property'
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Constant'
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Method'
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Visibility'
Table of Contents
Properties
Methods
- testAddAndGettingConstants() : void
- testAddAndGettingInterfaces() : void
- testAddAndGettingMethods() : void
- testAddAndGettingProperties() : void
- testAddAndGettingUsedTrait() : void
- testGettingDocBlock() : void
- testGettingFqsen() : void
- testGettingName() : void
- testGettingParent() : void
- testGettingWhetherClassIsAbstract() : void
- testGettingWhetherClassIsFinal() : void
- testGettingWhetherClassIsReadOnly() : void
- testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- testLineNumberIsMinusOneWhenNoneIsProvided() : void
- testSetMetaDataForNonExistingKey() : void
- testSetMetaDataWithExistingKeyThrows() : void
- assertLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- setUp() : void
- Creates a new (emoty) fixture object.
- getFixture() : MetaDataContainer
Properties
$fixture
public
Class_
$fixture
$docBlock
private
DocBlock
$docBlock
$fqsen
private
Fqsen
$fqsen
$parent
private
Fqsen
$parent
Methods
testAddAndGettingConstants()
public
testAddAndGettingConstants() : void
testAddAndGettingInterfaces()
public
testAddAndGettingInterfaces() : void
testAddAndGettingMethods()
public
testAddAndGettingMethods() : void
testAddAndGettingProperties()
public
testAddAndGettingProperties() : void
testAddAndGettingUsedTrait()
public
testAddAndGettingUsedTrait() : void
testGettingDocBlock()
public
testGettingDocBlock() : void
testGettingFqsen()
public
testGettingFqsen() : void
testGettingName()
public
testGettingName() : void
testGettingParent()
public
testGettingParent() : void
testGettingWhetherClassIsAbstract()
public
testGettingWhetherClassIsAbstract() : void
testGettingWhetherClassIsFinal()
public
testGettingWhetherClassIsFinal() : void
testGettingWhetherClassIsReadOnly()
public
testGettingWhetherClassIsReadOnly() : 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