public function TestDiscoveryTest::infoParserProvider in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::infoParserProvider()
File
- core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php, line 30
Class
- TestDiscoveryTest
- @coversDefaultClass \Drupal\Core\Test\TestDiscovery
@group Test
Namespace
Drupal\Tests\Core\Test
Code
public function infoParserProvider() {
$tests[] = [
[
'name' => static::class,
'group' => 'Test',
'groups' => [
'Test',
],
'description' => 'Tests \\Drupal\\Core\\Test\\TestDiscovery.',
'type' => 'PHPUnit-Unit',
],
static::class,
];
$tests[] = [
[
'name' => 'Drupal\\Tests\\Core\\DrupalTest',
'group' => 'DrupalTest',
'groups' => [
'DrupalTest',
],
'description' => 'Tests \\Drupal.',
'type' => 'PHPUnit-Unit',
],
'Drupal\\Tests\\Core\\DrupalTest',
];
$tests[] = [
[
'name' => 'Drupal\\FunctionalTests\\BrowserTestBaseTest',
'group' => 'browsertestbase',
'groups' => [
'browsertestbase',
],
'description' => 'Tests BrowserTestBase functionality.',
'type' => 'PHPUnit-Functional',
],
'Drupal\\FunctionalTests\\BrowserTestBaseTest',
];
$tests['phpunit-kernel'] = [
[
'name' => '\\Drupal\\Tests\\file\\Kernel\\FileItemValidationTest',
'group' => 'file',
'groups' => [
'file',
],
'description' => 'Tests that files referenced in file and image fields are always validated.',
'type' => 'PHPUnit-Kernel',
],
'\\Drupal\\Tests\\file\\Kernel\\FileItemValidationTest',
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'group' => 'simpletest',
'groups' => [
'simpletest',
],
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @group simpletest\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'group' => 'simpletest',
'groups' => [
'simpletest',
],
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @group simpletest\n */\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'group' => 'simpletest',
'groups' => [
'simpletest',
],
'description' => 'Tests the Simpletest UI internal browser. * @',
'type' => 'Simpletest',
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser. * @\n *\n * @group simpletest\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'group' => 'Test',
'groups' => [
'Test',
'simpletest',
],
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @group Test\n * @group simpletest\n */\n ",
];
$tests['many-group-annotations'] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'group' => 'Test',
'groups' => [
'Test',
'simpletest',
'another',
'more',
'many',
'enough',
'whoa',
],
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @group Test\n * @group simpletest\n * @group another\n * @group more\n * @group many\n * @group enough\n * @group whoa\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
'requires' => [
'module' => [
'test',
],
],
'group' => 'simpletest',
'groups' => [
'simpletest',
],
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @dependencies test\n * @group simpletest\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'description' => 'Tests the Simpletest UI internal browser.',
'type' => 'Simpletest',
'requires' => [
'module' => [
'test',
'test1',
'test2',
],
],
'group' => 'simpletest',
'groups' => [
'simpletest',
],
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser.\n *\n * @dependencies test, test1, test2\n * @group simpletest\n */\n ",
];
$tests[] = [
[
'name' => 'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
'description' => 'Tests the Simpletest UI internal browser. And the summary line continues an there is no gap to the annotation.',
'type' => 'Simpletest',
'group' => 'simpletest',
'groups' => [
'simpletest',
],
],
'Drupal\\simpletest\\Tests\\ExampleSimpleTest',
"/**\n * Tests the Simpletest UI internal browser. And the summary line continues an\n * there is no gap to the annotation.\n *\n * @group simpletest\n */\n ",
];
return $tests;
}