function SimpletestTestRunResultsStorage::getLogEntriesByTestClass
Same name in other branches
- 10 core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php \Drupal\Core\Test\SimpletestTestRunResultsStorage::getLogEntriesByTestClass()
Overrides TestRunResultsStorageInterface::getLogEntriesByTestClass
File
-
core/
lib/ Drupal/ Core/ Test/ SimpletestTestRunResultsStorage.php, line 111
Class
- SimpletestTestRunResultsStorage
- Implements a test run results storage compatible with legacy Simpletest.
Namespace
Drupal\Core\TestCode
public function getLogEntriesByTestClass(TestRun $test_run) : array {
return $this->connection
->select('simpletest')
->fields('simpletest')
->condition('test_id', $test_run->id())
->orderBy('test_class')
->orderBy('message_id')
->execute()
->fetchAll();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.