function TestCompatibilityTrait::name
Same name in other branches
- 10 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit9/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit9\TestCompatibilityTrait::name()
Get test name.
1 call to TestCompatibilityTrait::name()
- TestCompatibilityTrait::getTestClassCovers in core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit9/ TestCompatibilityTrait.php - Gets @covers defined on the test class.
File
-
core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit9/ TestCompatibilityTrait.php, line 17
Class
- TestCompatibilityTrait
- Drupal's forward compatibility layer with multiple versions of PHPUnit.
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit9Code
public function name() : string {
return $this->getName();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.