You are here

protected function ConstantNameUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/Drupal/Semantics/ConstantNameUnitTest.php \Drupal\Test\Semantics\ConstantNameUnitTest::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/Semantics/ConstantNameUnitTest.php, line 18

Class

ConstantNameUnitTest

Namespace

Drupal\Test\Semantics

Code

protected function getTestFiles($testFileBase) : array {
  return [
    __DIR__ . '/constant_test.install',
    __DIR__ . '/constant_test.module',
  ];
}