function PhpUnitTestDiscovery::addWarning
Adds warning message generated during the discovery.
Parameters
string $message: The warning message.
1 call to PhpUnitTestDiscovery::addWarning()
- PhpUnitTestDiscovery::getTestClasses in core/
lib/ Drupal/ Core/ Test/ PhpUnitTestDiscovery.php - Discovers available tests.
File
-
core/
lib/ Drupal/ Core/ Test/ PhpUnitTestDiscovery.php, line 200
Class
- PhpUnitTestDiscovery
- Discovers available tests using the PHPUnit API.
Namespace
Drupal\Core\TestCode
public function addWarning(string $message) : void {
$this->warnings[] = $message;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.