TestMethod
extends Test
in package
FinalYes
Tags
Table of Contents
Properties
- $className : string
- $file : string
- $line : int
- $metadata : MetadataCollection
- $methodName : string
- $testData : TestDataCollection
- $testDox : TestDox
Methods
- __construct() : mixed
- className() : string
- file() : string
- id() : string
- isPhpt() : bool
- isTestMethod() : bool
- line() : int
- metadata() : MetadataCollection
- methodName() : string
- name() : string
- nameWithClass() : string
- testData() : TestDataCollection
- testDox() : TestDox
Properties
$className read-only
private
string
$className
Tags
$file read-only
private
string
$file
Tags
$line read-only
private
int
$line
Tags
$metadata read-only
private
MetadataCollection
$metadata
$methodName read-only
private
string
$methodName
Tags
$testData read-only
private
TestDataCollection
$testData
$testDox read-only
private
TestDox
$testDox
Methods
__construct()
public
__construct(string $className, string $methodName, string $file, int $line, TestDox $testDox, MetadataCollection $metadata, TestDataCollection $testData) : mixed
Parameters
- $className : string
- $methodName : string
- $file : string
- $line : int
- $testDox : TestDox
- $metadata : MetadataCollection
- $testData : TestDataCollection
Tags
className()
public
className() : string
Tags
Return values
stringfile()
public
file() : string
Tags
Return values
stringid()
public
id() : string
Tags
Return values
stringisPhpt()
public
isPhpt() : bool
Tags
Return values
boolisTestMethod()
public
isTestMethod() : bool
Tags
Return values
boolline()
public
line() : int
Tags
Return values
intmetadata()
public
metadata() : MetadataCollection
Return values
MetadataCollectionmethodName()
public
methodName() : string
Tags
Return values
stringname()
public
name() : string
Tags
Return values
stringnameWithClass()
public
nameWithClass() : string
Tags
Return values
stringtestData()
public
testData() : TestDataCollection
Return values
TestDataCollectiontestDox()
public
testDox() : TestDox