MethodTest
extends TestCase
in package
Uses
MetadataContainerTest
Base test case for all elements.
Tags
Table of Contents
- $fixture : Method
- $fixture : Element|MetaDataContainer
- $docblock : DocBlock
- $fqsen : Fqsen
- $visibility : Visibility
- testAddingAndGettingArguments() : void
- testGetDefaultReturnType() : void
- testGetDefaultVisibility() : void
- testGetDocBlock() : void
- testGetFqsenAndGetName() : void
- testGetHasReturnByReference() : void
- testGetHasReturnByReferenceFromConstructor() : void
- testGetReturnTypeFromConstructor() : void
- testGettingVisibility() : void
- testGettingWhetherMethodIsAbstract() : void
- testGettingWhetherMethodIsFinal() : void
- testGettingWhetherMethodIsStatic() : void
- testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- testLineNumberIsMinusOneWhenNoneIsProvided() : void
- testSetMetaDataForNonExistingKey() : void
- testSetMetaDataWithExistingKeyThrows() : void
- assertLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- setUp() : void
- getFixture() : MetaDataContainer
Properties
$fixture
public
Method
$fixture
$fixture
protected
Element|MetaDataContainer
$fixture
$docblock
private
DocBlock
$docblock
$fqsen
private
Fqsen
$fqsen
$visibility
private
Visibility
$visibility
Methods
testAddingAndGettingArguments()
public
testAddingAndGettingArguments() : void
Tags
Return values
void —testGetDefaultReturnType()
public
testGetDefaultReturnType() : void
Tags
Return values
void —testGetDefaultVisibility()
public
testGetDefaultVisibility() : void
Tags
Return values
void —testGetDocBlock()
public
testGetDocBlock() : void
Tags
Return values
void —testGetFqsenAndGetName()
public
testGetFqsenAndGetName() : void
Tags
Return values
void —testGetHasReturnByReference()
public
testGetHasReturnByReference() : void
Tags
Return values
void —testGetHasReturnByReferenceFromConstructor()
public
testGetHasReturnByReferenceFromConstructor() : void
Tags
Return values
void —testGetReturnTypeFromConstructor()
public
testGetReturnTypeFromConstructor() : void
Tags
Return values
void —testGettingVisibility()
public
testGettingVisibility() : void
Tags
Return values
void —testGettingWhetherMethodIsAbstract()
public
testGettingWhetherMethodIsAbstract() : void
Tags
Return values
void —testGettingWhetherMethodIsFinal()
public
testGettingWhetherMethodIsFinal() : void
Tags
Return values
void —testGettingWhetherMethodIsStatic()
public
testGettingWhetherMethodIsStatic() : 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()
protected
setUp() : void
Return values
void —getFixture()
private
getFixture() : MetaDataContainer