You are here

public function TestDiscoveryTest::testGetPhpunitTestSuite in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()
  2. 9 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 444

Class

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

Namespace

Drupal\Tests\Core\Test

Code

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