You are here

protected function TestBase::checkRequirements in SimpleTest 8.3

Checks the matching requirements for Test.

Return value

Array of errors containing a list of unmet requirements.

2 calls to TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in src/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().
TestBase::run in src/TestBase.php
Run all tests in this class.
1 method overrides TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in src/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().

File

src/TestBase.php, line 281

Class

TestBase
Base class for Drupal tests.

Namespace

Drupal\simpletest

Code

protected function checkRequirements() {
  return [];
}