function DrupalStandardsListenerTrait::standardsEndTest
Same name and namespace in other branches
- 8.9.x core/tests/Drupal/Tests/Listeners/DrupalStandardsListenerTrait.php \Drupal\Tests\Listeners\DrupalStandardsListenerTrait::standardsEndTest()
Reacts to the end of a test.
Parameters
\PHPUnit\Framework\Test $test: The test object that has ended its test run.
float $time: The time the test took.
1 call to DrupalStandardsListenerTrait::standardsEndTest()
- DrupalListener::endTest in core/
tests/ Drupal/ Tests/ Listeners/ DrupalListener.php
File
-
core/
tests/ Drupal/ Tests/ Listeners/ DrupalStandardsListenerTrait.php, line 240
Class
- DrupalStandardsListenerTrait
- Listens for PHPUnit tests and fails those with invalid coverage annotations.
Namespace
Drupal\Tests\ListenersCode
protected function standardsEndTest($test, $time) {
$this->doEndTest($test, $time);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.