PHP Интерфейс PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getRecordings ( array $types, boolean $includeTime = true ) : array Fetch records, filtered by type. Use the StorageInterface::STATUS_* constants to define the type.
record ( Run $run, PHPUnit_Framework_TestCase $test, float $time, integer $status ) : void Record a test run

Описание методов

getRecordings() публичный Метод

Fetch records, filtered by type. Use the StorageInterface::STATUS_* constants to define the type.
public getRecordings ( array $types, boolean $includeTime = true ) : array
$types array Types to filter
$includeTime boolean Flag whether the result time should also be fetched
Результат array

record() публичный Метод

Record a test run
public record ( Run $run, PHPUnit_Framework_TestCase $test, float $time, integer $status ) : void
$run PHPUnit\Runner\CleverAndSmart\Run
$test PHPUnit_Framework_TestCase
$time float
$status integer
Результат void