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

Breadcrumb

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

function TestDiscovery::__construct

Constructs a new test discovery.

Parameters

string $root: The app root.

$class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated.

File

core/lib/Drupal/Core/Test/TestDiscovery.php, line 62

Class

TestDiscovery
Discovers available tests.

Namespace

Drupal\Core\Test

Code

public function __construct($root, $class_loader) {
    $this->root = $root;
    $this->classLoader = $class_loader;
}

API Navigation

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