Spec-Zone.ru › Symfony 4.1

SymfonyTestsListenerTrait

class SymfonyTestsListenerTrait

PHP 5.3 совместимый трейт-подобный общий код.

Методы

__construct(array $mockedNamespaces = array())
__destruct()
globalListenerDisabled()
startTestSuite($suite)
addSkippedTest($test, Exception $e, $time)
startTest($test)
addWarning($test, $e, $time)
endTest($test, $time)
handleError($type, $msg, $file, $line, $context = array())

Подробности

__construct(array $mockedNamespaces = array())

Параметры

array $mockedNamespaces Список пространств имён, индексированных по имитируемым функциям (чувствительным к времени или DNS)

__destruct()

globalListenerDisabled()

startTestSuite($suite)

Параметры

$suite

addSkippedTest($test, Exception $e, $time)

Параметры

$test
Exception $e
$time

startTest($test)

Параметры

$test

addWarning($test, $e, $time)

Параметры

$test
$e
$time

endTest($test, $time)

Параметры

$test
$time

handleError($type, $msg, $file, $line, $context = array())

Параметры

$type
$msg
$file
$line
$context

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API