function TestBase::checkRequirements
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\simpletestCode
protected function checkRequirements() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.