Spec-Zone.ru › CakePHP 4.4

Trait TestListenerTrait

Реализует пустые методы по умолчанию для PHPUnit\Framework\TestListener.

Пространство имён: Cake\TestSuite

Краткое описание методов

  • addError() public
  • addFailure() public
  • addIncompleteTest() public
  • addRiskyTest() public
  • addSkippedTest() public
  • addWarning() public
  • endTest() public
  • endTestSuite() public
  • startTest() public
  • startTestSuite() public

Подробное описание методов

addError() public

addError(Test $test, Throwable $t, float $time): void

Параметры

Test $test
Throwable $t
float $time

Возвращаемое значение

void

addFailure() public

addFailure(Test $test, AssertionFailedError $e, float $time): void

Параметры

Test $test
AssertionFailedError $e
float $time

Возвращаемое значение

void

addIncompleteTest() public

addIncompleteTest(Test $test, Throwable $t, float $time): void

Параметры

Test $test
Throwable $t
float $time

Возвращаемое значение

void

addRiskyTest() public

addRiskyTest(Test $test, Throwable $t, float $time): void

Параметры

Test $test
Throwable $t
float $time

Возвращаемое значение

void

addSkippedTest() public

addSkippedTest(Test $test, Throwable $t, float $time): void

Параметры

Test $test
Throwable $t
float $time

Возвращаемое значение

void

addWarning() public

addWarning(Test $test, Warning $e, float $time): void

Параметры

Test $test
Warning $e
float $time

Возвращаемое значение

void

endTest() public

endTest(Test $test, float $time): void

Параметры

Test $test
float $time

Возвращаемое значение

void

endTestSuite() public

endTestSuite(TestSuite $suite): void

Параметры

TestSuite $suite

Возвращаемое значение

void

startTest() public

startTest(Test $test): void

Параметры

Test $test

Возвращаемое значение

void

startTestSuite() public

startTestSuite(TestSuite $suite): void

Параметры

TestSuite $suite

Возвращаемое значение

void

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/trait-Cake.TestSuite.TestListenerTrait.html

Spec-Zone.ru

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