function TestRun::removeResults

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

Removes the test results from the storage.

Return value

int The number of log entries that were removed from storage.

File

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

Class

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

Namespace

Drupal\Core\Test

Code

public function removeResults() : int {
    return $this->testRunResultsStorage
        ->removeResults($this);
}

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