function TestDiscoveryTest::testGetPhpunitTestSuite
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()
- 10 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()
- 9 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()
- 8.9.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()
Tests get phpunit test suite.
Attributes
#[DataProvider('providerTestGetPhpunitTestSuite')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php, line 506
Class
- TestDiscoveryTest
- Unit tests for TestDiscovery.
Namespace
Drupal\Tests\Core\TestCode
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.