You are here

protected function AutoAddedKeysUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 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\InfoFiles

Code

protected function getTestFiles($testFileBase) : array {
  return [
    __DIR__ . '/drupal7/test.info',
    __DIR__ . '/drupal8/test.info.yml',
  ];
}