You are here

protected function GlobalDrupalUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/Objects/GlobalDrupalUnitTest.php \DrupalPractice\Test\Objects\GlobalDrupalUnitTest::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/DrupalPractice/Objects/GlobalDrupalUnitTest.php, line 61

Class

GlobalDrupalUnitTest

Namespace

DrupalPractice\Test\Objects

Code

protected function getTestFiles($testFileBase) : array {
  return [
    __DIR__ . '/GlobalDrupalUnitTest.inc',
    __DIR__ . '/drupal8/example.module',
    __DIR__ . '/drupal8/ExampleClass.php',
    __DIR__ . '/drupal8/ExampleClassWithDependencyInjection.php',
    __DIR__ . '/drupal8/ExampleService.php',
  ];
}