function TestDiscoveryTest::testGetPhpunitTestSuite

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

@covers ::getPhpunitTestSuite @dataProvider providerTestGetPhpunitTestSuite

File

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

Class

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

Namespace

Drupal\Tests\Core\Test

Code

public function testGetPhpunitTestSuite($classname, $expected) : void {
    $this->assertEquals($expected, TestDiscovery::getPhpunitTestSuite($classname));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.