protected function AutoAddedKeysUnitTest::getTestFiles in Coder 8.3
Same name and namespace in other branches
- 8.3.x tests/Drupal/InfoFiles/AutoAddedKeysUnitTest.php \Drupal\Test\InfoFiles\AutoAddedKeysUnitTest::getTestFiles()
Returns a list of test files that should be checked.
Parameters
string $testFileBase The base path that the unit tests files will have.:
Return value
array<string>
Overrides CoderSniffUnitTest::getTestFiles
File
- tests/
Drupal/ InfoFiles/ AutoAddedKeysUnitTest.php, line 56
Class
- AutoAddedKeysUnitTest
- A sniff unit test checks a .inc file for expected violations of a single coding standard. Expected errors and warnings are stored in this class.
Namespace
Drupal\Test\InfoFilesCode
protected function getTestFiles($testFileBase) : array {
return [
__DIR__ . '/drupal7/test.info',
__DIR__ . '/drupal8/test.info.yml',
];
}