Documentation

TestSuiteForTestMethodWithDataProvider extends TestSuite
in package

Read onlyYes
FinalYes
Tags
immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$className  : class-string
$file  : string
$line  : int
$methodName  : non-empty-string

Methods

__construct()  : mixed
className()  : class-string
count()  : int
file()  : string
isForTestClass()  : bool
isForTestMethodWithDataProvider()  : true
isWithName()  : bool
line()  : int
methodName()  : non-empty-string
name()  : non-empty-string
tests()  : TestCollection

Properties

Methods

__construct()

public __construct(non-empty-string $name, int $size, TestCollection $tests, class-string $className, non-empty-string $methodName, string $file, int $line) : mixed
Parameters
$name : non-empty-string
$size : int
$tests : TestCollection
$className : class-string
$methodName : non-empty-string
$file : string
$line : int

count()

public count() : int
Return values
int

isForTestClass()

public isForTestClass() : bool
Tags
phpstan-assert-if-true

TestSuiteForTestClass $this

Return values
bool

isWithName()

public isWithName() : bool
Tags
phpstan-assert-if-true

TestSuiteWithName $this

Return values
bool

name()

public name() : non-empty-string
Return values
non-empty-string
On this page

Search results