function TestRun::getLogEntriesByTestClass

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Test/TestRun.php \Drupal\Core\Test\TestRun::getLogEntriesByTestClass()

Get test results for a test run, ordered by test class.

Return value

array Array of results ordered by test class and message id.

File

core/lib/Drupal/Core/Test/TestRun.php, line 143

Class

TestRun
Implements an object that tracks execution of a test run.

Namespace

Drupal\Core\Test

Code

public function getLogEntriesByTestClass() : array {
    return $this->testRunResultsStorage
        ->getLogEntriesByTestClass($this);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.