BuildTestSuite.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Tests\TestSuitesFile
core/tests/TestSuites/BuildTestSuite.phpView source
<?php
namespace Drupal\Tests\TestSuites;
require_once __DIR__ . '/TestSuiteBase.php';
/**
* Discovers tests for the build test suite.
*/
class BuildTestSuite extends TestSuiteBase {
/**
* Factory method which loads up a suite with all build tests.
*
* @return static
* The test suite.
*/
public static function suite() {
$root = dirname(dirname(dirname(__DIR__)));
$suite = new static('build');
$suite
->addTestsBySuiteNamespace($root, 'Build');
return $suite;
}
}
Classes
Name | Description |
---|---|
BuildTestSuite | Discovers tests for the build test suite. |