protected function TestBase::checkRequirements

Checks the matching requirements for Test.

Return value

Array of errors containing a list of unmet requirements.

4 calls to TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().
TestBase::run in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Run all tests in this class.
ToolkitGdTest::checkRequirements in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitGdTest.php
Checks the matching requirements for Test.
UpgradePathTestBase::checkRequirements in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
Checks that zlib is enabled in order to run the upgrade tests.
3 methods override TestBase::checkRequirements()
MissingCheckedRequirementsTest::checkRequirements in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MissingCheckedRequirementsTest.php
Overrides checkRequirements().
ToolkitGdTest::checkRequirements in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitGdTest.php
Checks the matching requirements for Test.
UpgradePathTestBase::checkRequirements in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
Checks that zlib is enabled in order to run the upgrade tests.

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php, line 156
Definition of Drupal\simpletest\TestBase.

Class

TestBase
Base class for Drupal tests.

Namespace

Drupal\simpletest

Code

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