function TestDiscoveryTest::providerTestGetPhpunitTestSuite

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
  2. 8.9.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
  3. 10 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()

File

core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php, line 450

Class

TestDiscoveryTest
@coversDefaultClass \Drupal\Core\Test\TestDiscovery @group Test

Namespace

Drupal\Tests\Core\Test

Code

public static function providerTestGetPhpunitTestSuite() {
    $data = [];
    $data['simpletest-web test'] = [
        '\\Drupal\\rest\\Tests\\NodeTest',
        FALSE,
    ];
    $data['module-unittest'] = [
        static::class,
        'Unit',
    ];
    $data['module-kernel test'] = [
        '\\Drupal\\KernelTests\\Core\\Theme\\TwigMarkupInterfaceTest',
        'Kernel',
    ];
    $data['module-functional test'] = [
        '\\Drupal\\FunctionalTests\\BrowserTestBaseTest',
        'Functional',
    ];
    $data['module-functional javascript test'] = [
        '\\Drupal\\Tests\\toolbar\\FunctionalJavascript\\ToolbarIntegrationTest',
        'FunctionalJavascript',
    ];
    $data['core-unittest'] = [
        '\\Drupal\\Tests\\ComposerIntegrationTest',
        'Unit',
    ];
    $data['core-unittest2'] = [
        'Drupal\\Tests\\Core\\DrupalTest',
        'Unit',
    ];
    $data['core-script-test'] = [
        'Drupal\\KernelTests\\Scripts\\TestSiteApplicationTest',
        'Kernel',
    ];
    $data['core-kernel test'] = [
        '\\Drupal\\KernelTests\\KernelTestBaseTest',
        'Kernel',
    ];
    $data['core-functional test'] = [
        '\\Drupal\\FunctionalTests\\ExampleTest',
        'Functional',
    ];
    $data['core-functional javascript test'] = [
        '\\Drupal\\FunctionalJavascriptTests\\ExampleTest',
        'FunctionalJavascript',
    ];
    $data['core-build test'] = [
        '\\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.