PropertyTest
extends TestCase
in package
Uses
MetadataContainerTest
Tests the functionality for the Property class.
Tags
Table of Contents
- $fixture : Property
- $fixture : Element|MetaDataContainer
- $docBlock : DocBlock
- $fqsen : Fqsen
- $visibility : Visibility
- testGetDefault() : void
- testGetDocBlock() : void
- testGetFqsenAndGetName() : void
- testGettingVisibility() : void
- testGettingWhetherPropertyIsReadOnly() : void
- testGettingWhetherPropertyIsStatic() : void
- testGetType() : void
- testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- testLineNumberIsMinusOneWhenNoneIsProvided() : void
- testSetAndGetTypes() : void
- testSetMetaDataForNonExistingKey() : void
- testSetMetaDataWithExistingKeyThrows() : void
- assertLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- setUp() : void
- getFixture() : MetaDataContainer
Properties
$fixture
public
Property
$fixture
$fixture
protected
Element|MetaDataContainer
$fixture
$docBlock
private
DocBlock
$docBlock
$fqsen
private
Fqsen
$fqsen
$visibility
private
Visibility
$visibility
Methods
testGetDefault()
public
testGetDefault() : void
Tags
Return values
void —testGetDocBlock()
public
testGetDocBlock() : void
Tags
Return values
void —testGetFqsenAndGetName()
public
testGetFqsenAndGetName() : void
Tags
Return values
void —testGettingVisibility()
public
testGettingVisibility() : void
Tags
Return values
void —testGettingWhetherPropertyIsReadOnly()
public
testGettingWhetherPropertyIsReadOnly() : void
Tags
Return values
void —testGettingWhetherPropertyIsStatic()
public
testGettingWhetherPropertyIsStatic() : void
Tags
Return values
void —testGetType()
public
testGetType() : void
Tags
Return values
void —testLineAndColumnNumberIsReturnedWhenALocationIsProvided()
public
testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
Return values
void —testLineNumberIsMinusOneWhenNoneIsProvided()
public
testLineNumberIsMinusOneWhenNoneIsProvided() : void
Tags
Return values
void —testSetAndGetTypes()
public
testSetAndGetTypes() : 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()
protected
setUp() : void
Return values
void —getFixture()
private
getFixture() : MetaDataContainer