You are here

protected function TestBase::checkRequirements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/TestBase.php \Drupal\simpletest\TestBase::checkRequirements()

Checks the matching requirements for Test.

Return value

Array of errors containing a list of unmet requirements.

3 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.
ToolkitGdTest::checkRequirements in core/modules/system/src/Tests/Image/ToolkitGdTest.php
Checks the matching requirements for Test.
2 methods override TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().
ToolkitGdTest::checkRequirements in core/modules/system/src/Tests/Image/ToolkitGdTest.php
Checks the matching requirements for Test.

File

core/modules/simpletest/src/TestBase.php, line 349
Contains \Drupal\simpletest\TestBase.

Class

TestBase
Base class for Drupal tests.

Namespace

Drupal\simpletest

Code

protected function checkRequirements() {
  return array();
}