function TestCompatibilityTrait::name

Same name in other branches
  1. 11.x 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\PhpUnit9

Code

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.