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