function TestDiscoveryTest::testGetPhpunitTestSuite
Same name and namespace in other branches
- 8.9.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()
- 11.x 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 513
Class
- TestDiscoveryTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Test%21TestDiscovery.php/class/TestDiscovery/9" title="Discovers available tests." class="local">\Drupal\Core\Test\TestDiscovery</a> @group Test
Namespace
Drupal\Tests\Core\TestCode
public function testGetPhpunitTestSuite($classname, $expected) {
$this->assertEquals($expected, TestDiscovery::getPhpunitTestSuite($classname));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.