function MemoryTestRunResultsStorage::insertLogEntry
File
-
core/
tests/ Drupal/ TestTools/ TestRunner/ MemoryTestRunResultsStorage.php, line 48
Class
- MemoryTestRunResultsStorage
- Implements an in-memory test run results storage.
Namespace
Drupal\TestTools\TestRunnerCode
public function insertLogEntry(TestRun $test_run, array $entry) : bool {
$entry['test_id'] = $test_run->id();
$entry = array_merge([
'function' => 'Unknown',
'line' => 0,
'file' => 'Unknown',
], $entry);
$this->testId[$test_run->id()]['log'][] = $entry;
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.