Class_Test
extends TestCase
in package
Uses
MetadataContainerTest
Base test case for all elements.
Tags
Table of Contents
- $fixture : Class_
- $fixture : Element|MetaDataContainer
- $docBlock : DocBlock
- $fqsen : Fqsen
- $parent : Fqsen
- 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
$fixture
protected
Element|MetaDataContainer
$fixture
$docBlock
private
DocBlock
$docBlock
$fqsen
private
Fqsen
$fqsen
$parent
private
Fqsen
$parent
Methods
testAddAndGettingConstants()
public
testAddAndGettingConstants() : void
Tags
Return values
void —testAddAndGettingInterfaces()
public
testAddAndGettingInterfaces() : void
Tags
Return values
void —testAddAndGettingMethods()
public
testAddAndGettingMethods() : void
Tags
Return values
void —testAddAndGettingProperties()
public
testAddAndGettingProperties() : void
Tags
Return values
void —testAddAndGettingUsedTrait()
public
testAddAndGettingUsedTrait() : void
Tags
Return values
void —testGettingDocBlock()
public
testGettingDocBlock() : void
Tags
Return values
void —testGettingFqsen()
public
testGettingFqsen() : void
Tags
Return values
void —testGettingName()
public
testGettingName() : void
Tags
Return values
void —testGettingParent()
public
testGettingParent() : void
Tags
Return values
void —testGettingWhetherClassIsAbstract()
public
testGettingWhetherClassIsAbstract() : void
Tags
Return values
void —testGettingWhetherClassIsFinal()
public
testGettingWhetherClassIsFinal() : void
Tags
Return values
void —testGettingWhetherClassIsReadOnly()
public
testGettingWhetherClassIsReadOnly() : void
Tags
Return values
void —testLineAndColumnNumberIsReturnedWhenALocationIsProvided()
public
testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
Return values
void —testLineNumberIsMinusOneWhenNoneIsProvided()
public
testLineNumberIsMinusOneWhenNoneIsProvided() : void
Tags
Return values
void —testSetMetaDataForNonExistingKey()
public
testSetMetaDataForNonExistingKey() : void
Tags
Return values
void —testSetMetaDataWithExistingKeyThrows()
public
testSetMetaDataWithExistingKeyThrows() : void
Tags
Return values
void —assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()
protected
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided(Element|MetaDataContainer $fixture) : void
Parameters
- $fixture : Element|MetaDataContainer
Return values
void —setUp()
Creates a new (emoty) fixture object.
protected
setUp() : void
Return values
void —getFixture()
private
getFixture() : MetaDataContainer