public function TestInfoParsingTest::testTestInfoParser in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php \Drupal\Tests\simpletest\Unit\TestInfoParsingTest::testTestInfoParser()
@covers ::getTestInfo @dataProvider infoParserProvider
File
- core/
modules/ simpletest/ tests/ src/ Unit/ TestInfoParsingTest.php, line 22 - Contains \Drupal\Tests\simpletest\Unit\TestInfoParsingTest.
Class
- TestInfoParsingTest
- @coversDefaultClass \Drupal\simpletest\TestDiscovery @group simpletest
Namespace
Drupal\Tests\simpletest\UnitCode
public function testTestInfoParser($expected, $classname, $doc_comment = NULL) {
$info = \Drupal\simpletest\TestDiscovery::getTestInfo($classname, $doc_comment);
$this
->assertEquals($expected, $info);
}