Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestRun.php

function TestRun::insertLogEntry

Adds a test log entry.

Parameters

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

Return value

bool TRUE if the addition was successful, FALSE otherwise.

1 call to TestRun::insertLogEntry()
TestRun::processPhpErrorLogFile in core/lib/Drupal/Core/Test/TestRun.php
Reads the PHP error log and reports any errors as assertion failures.

File

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

Class

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

Namespace

Drupal\Core\Test

Code

public function insertLogEntry(array $entry) : bool {
    $this->testClass = $entry['test_class'];
    return $this->testRunResultsStorage
        ->insertLogEntry($this, $entry);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal