Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
bootstrap.inc
»
drupal_valid_test_ua
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
14 calls to drupal_valid_test_ua()
BrokenSetUpTest::setUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
BrokenSetUpTest.php
Sets up a Drupal site for running functional and integration tests.
BrokenSetUpTest::tearDown
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
BrokenSetUpTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
BrokenSetUpTest::testBreakSetUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
BrokenSetUpTest.php
Runs this test case from within the simpletest child site.
config_get_config_directory
in drupal/
core/
includes/
bootstrap.inc
Returns the path of a configuration directory.
DrupalKernel::getClassName
in drupal/
core/
lib/
Drupal/
Core/
DrupalKernel.php
Returns the classname based on environment, debug and testing prefix.
http.php
in drupal/
core/
modules/
system/
tests/
http.php
Fake an HTTP request, for use during testing.
https.php
in drupal/
core/
modules/
system/
tests/
https.php
Fake an HTTPS request, for use during testing.
MissingCheckedRequirementsTest::checkRequirements
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
MissingCheckedRequirementsTest.php
Overrides checkRequirements().
MissingCheckedRequirementsTest::testCheckRequirements
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
MissingCheckedRequirementsTest.php
Ensures test will not run when requirements are missing.
SimpleTestTest::inCURL
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
SimpleTestTest.php
Check if the test is being run from inside a CURL request.
SystemListingInfo::profiles
in drupal/
core/
lib/
Drupal/
Core/
SystemListingInfo.php
Overrides
Drupal\Core\SystemListing::profiles
().
TestBase::prepareEnvironment
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Prepares the current environment for running the test.
TestBase::tearDown
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Deletes created files, database tables, and reverts all environment changes.
_drupal_initialize_db_test_prefix
in drupal/
core/
includes/
bootstrap.inc
In a test environment, get the test db prefix and set it in $databases.