function SimpletestResultsForm::getResults
Get test results for $test_id.
Parameters
int $test_id: The test_id to retrieve results of.
Return value
array Array of results grouped by test_class.
1 call to SimpletestResultsForm::getResults()
- SimpletestResultsForm::buildForm in core/
modules/ simpletest/ src/ Form/ SimpletestResultsForm.php - Form constructor.
File
-
core/
modules/ simpletest/ src/ Form/ SimpletestResultsForm.php, line 230
Class
- SimpletestResultsForm
- Test results form for $test_id.
Namespace
Drupal\simpletest\FormCode
protected function getResults($test_id) {
return $this->database
->select('simpletest')
->fields('simpletest')
->condition('test_id', $test_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.