2016-06-24 16:36:21 +00:00
|
|
|
<?php
|
|
|
|
|
2024-01-15 05:23:28 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-06-24 16:36:21 +00:00
|
|
|
namespace Drupal\Tests\TestSuites;
|
|
|
|
|
|
|
|
require_once __DIR__ . '/TestSuiteBase.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Discovers tests for the kernel test suite.
|
|
|
|
*/
|
|
|
|
class KernelTestSuite extends TestSuiteBase {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Factory method which loads up a suite with all kernel tests.
|
|
|
|
*
|
|
|
|
* @return static
|
|
|
|
* The test suite.
|
|
|
|
*/
|
|
|
|
public static function suite() {
|
2020-04-23 16:15:14 +00:00
|
|
|
$root = dirname(__DIR__, 3);
|
2016-06-24 16:36:21 +00:00
|
|
|
|
|
|
|
$suite = new static('kernel');
|
|
|
|
$suite->addTestsBySuiteNamespace($root, 'Kernel');
|
|
|
|
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|