You are here

public static function TestSuiteBase::getCoreExtensionSuite in Drupal driver for SQL Server and SQL Azure 4.1.x

Same name and namespace in other branches
  1. 4.2.x dev/TestSuites/TestSuiteBase.php \Drupal\Tests\sqlsrv\TestSuites\TestSuiteBase::getCoreExtensionSuite()

Fetch a subset of the Core Extension tests.

Return value

static The test suite.

File

dev/TestSuites/TestSuiteBase.php, line 176

Class

TestSuiteBase
Base class for Drupal test suites.

Namespace

Drupal\Tests\sqlsrv\TestSuites

Code

public static function getCoreExtensionSuite($index) {
  $root = static::getDrupalRoot();
  $suite = new static('kernel');
  $suite
    ->addExtensionTestsBySuiteNamespace($root, 'Kernel', static::$coreExtensionPatterns[$index]);
  return $suite;
}