You are here

public function TestDiscoveryTest::providerTestGetPhpunitTestSuite in Drupal 9

Same name and namespace in other branches
  1. 8 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\Test

Code

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;
}