11 calls to drupal_generate_test_ua()

BrowserTestBaseUserAgentTest::prepareRequest in core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
Prepare for a request to testing site.
BrowserTestBaseUserAgentTest::testUserAgentValidation in core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
Test validation of the User-Agent header we use to perform test requests.
PageCacheTest::getHeaders in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Retrieves only the headers for an absolute path.
QuickStartTest::testQuickStartCommand in core/tests/Drupal/Tests/Core/Command/QuickStartTest.php
Tests the quick-start command.
QuickStartTest::testQuickStartInstallAndServerCommands in core/tests/Drupal/Tests/Core/Command/QuickStartTest.php
Tests the quick-start commands.
SimpleTestBrowserTest::testUserAgentValidation in core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
Test validation of the User-Agent header we use to perform test requests.
TestHttpClientMiddleware::__invoke in core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php
HTTP middleware that replaces the user agent for simpletest requests.
TestSiteInstallCommand::execute in core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
UiHelperTrait::prepareRequest in core/tests/Drupal/Tests/UiHelperTrait.php
Prepare for a request to testing site.
UncaughtExceptionTest::drupalGet in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Retrieves a Drupal path or an absolute path.
WebTestBase::curlInitialize in core/modules/simpletest/src/WebTestBase.php
Initializes the cURL connection.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.