function TestRunResultsStorageInterface::insertLogEntry

Same name in other branches
  1. 10 core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php \Drupal\Core\Test\TestRunResultsStorageInterface::insertLogEntry()

Adds a test log entry for a test run to the storage.

Parameters

\Drupal\Core\Test\TestRun $test_run: The test run object.

array $entry: The array of the log entry elements.

Return value

bool TRUE if the addition was successful, FALSE otherwise.

1 method overrides TestRunResultsStorageInterface::insertLogEntry()
SimpletestTestRunResultsStorage::insertLogEntry in core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php
Adds a test log entry for a test run to the storage.

File

core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php, line 44

Class

TestRunResultsStorageInterface
Interface describing a test run results storage object.

Namespace

Drupal\Core\Test

Code

public function insertLogEntry(TestRun $test_run, array $entry) : bool;

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