function TestDiscoveryTest::providerTestGetPhpunitTestSuite
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
- 10 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
- 11.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php, line 518
Class
- TestDiscoveryTest
- @coversDefaultClass \Drupal\Core\Test\TestDiscovery @group Test
Namespace
Drupal\Tests\Core\TestCode
public function providerTestGetPhpunitTestSuite() {
$data = [];
$data['simpletest-webtest'] = [
'\\Drupal\\rest\\Tests\\NodeTest',
FALSE,
];
$data['simpletest-kerneltest'] = [
'\\Drupal\\hal\\Tests\\FileNormalizeTest',
FALSE,
];
$data['module-unittest'] = [
static::class,
'Unit',
];
$data['module-kerneltest'] = [
'\\Drupal\\KernelTests\\Core\\Theme\\TwigMarkupInterfaceTest',
'Kernel',
];
$data['module-functionaltest'] = [
'\\Drupal\\FunctionalTests\\BrowserTestBaseTest',
'Functional',
];
$data['module-functionaljavascripttest'] = [
'\\Drupal\\Tests\\toolbar\\FunctionalJavascript\\ToolbarIntegrationTest',
'FunctionalJavascript',
];
$data['core-unittest'] = [
'\\Drupal\\Tests\\ComposerIntegrationTest',
'Unit',
];
$data['core-unittest2'] = [
'Drupal\\Tests\\Core\\DrupalTest',
'Unit',
];
$data['core-unittest3'] = [
'Drupal\\Tests\\Scripts\\TestSiteApplicationTest',
'Unit',
];
$data['core-kerneltest'] = [
'\\Drupal\\KernelTests\\KernelTestBaseTest',
'Kernel',
];
$data['core-functionaltest'] = [
'\\Drupal\\FunctionalTests\\ExampleTest',
'Functional',
];
$data['core-functionaljavascripttest'] = [
'\\Drupal\\FunctionalJavascriptTests\\ExampleTest',
'FunctionalJavascript',
];
$data['core-buildtest'] = [
'\\Drupal\\BuildTests\\Framework\\Tests\\BuildTestTest',
'Build',
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.