You are here

protected function TestBase::checkRequirements in Drupal 8

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 core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().
TestBase::run in core/modules/simpletest/src/TestBase.php
Run all tests in this class.
1 method overrides TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().

File

core/modules/simpletest/src/TestBase.php, line 281

Class

TestBase
Base class for Drupal tests.

Namespace

Drupal\simpletest

Code

protected function checkRequirements() {
  return [];
}