Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
WebTestBase::$metaRefreshCount property core/modules/simpletest/src/WebTestBase.php The number of meta refresh redirects followed during ::drupalGet().
WebTestBase::$originalBatch property core/modules/simpletest/src/WebTestBase.php The original batch, before it was changed for testing purposes.
WebTestBase::$originalShutdownCallbacks property core/modules/simpletest/src/WebTestBase.php The original shutdown handlers array, before it was cleaned for testing.
WebTestBase::$originalUser property core/modules/simpletest/src/WebTestBase.php The original user, before it was changed to a clean uid = 1 for testing.
WebTestBase::$profile property core/modules/simpletest/src/WebTestBase.php The profile to install as a basis for testing.
WebTestBase::$redirectCount property core/modules/simpletest/src/WebTestBase.php The number of redirects followed during the handling of a request.
WebTestBase::$sessionId property core/modules/simpletest/src/WebTestBase.php The current session ID, if available.
WebTestBase::$url property core/modules/simpletest/src/WebTestBase.php The URL currently loaded in the internal browser.
WebTestBase::addCustomTranslations function core/modules/simpletest/src/WebTestBase.php Queues custom translations to be written to settings.php.
WebTestBase::assertBlockAppears function core/modules/simpletest/src/WebTestBase.php Checks to see whether a block appears on the page.
WebTestBase::assertCacheTag function core/modules/simpletest/src/WebTestBase.php Asserts whether an expected cache tag was present in the last response.
WebTestBase::assertHeader function core/modules/simpletest/src/WebTestBase.php Check if a HTTP response header exists and has the expected value.
WebTestBase::assertNoBlockAppears function core/modules/simpletest/src/WebTestBase.php Checks to see whether a block does not appears on the page.
WebTestBase::assertNoCacheTag function core/modules/simpletest/src/WebTestBase.php Asserts whether an expected cache tag was absent in the last response.
WebTestBase::assertNoResponse function core/modules/simpletest/src/WebTestBase.php Asserts the page did not return the specified response code.
WebTestBase::assertResponse function core/modules/simpletest/src/WebTestBase.php Asserts the page responds with the specified response code.
WebTestBase::assertUrl function core/modules/simpletest/src/WebTestBase.php Passes if the internal browser's URL matches the given path.
WebTestBase::buildUrl function core/modules/simpletest/src/WebTestBase.php Builds an a absolute URL from a system path or a URL object.
WebTestBase::checkForMetaRefresh function core/modules/simpletest/src/WebTestBase.php Checks for meta refresh tag and if found call drupalGet() recursively.
WebTestBase::clickLink function core/modules/simpletest/src/WebTestBase.php Follows a link by complete name.
WebTestBase::clickLinkHelper function core/modules/simpletest/src/WebTestBase.php Provides a helper for ::clickLink() and ::clickLinkPartialName().
WebTestBase::clickLinkPartialName function core/modules/simpletest/src/WebTestBase.php Follows a link by partial name.
WebTestBase::curlClose function core/modules/simpletest/src/WebTestBase.php Close the cURL handler and unset the handler.
WebTestBase::curlExec function core/modules/simpletest/src/WebTestBase.php Initializes and executes a cURL request.
WebTestBase::curlHeaderCallback function core/modules/simpletest/src/WebTestBase.php Reads headers and registers errors received from the tested site.
WebTestBase::curlInitialize function core/modules/simpletest/src/WebTestBase.php Initializes the cURL connection.
WebTestBase::drupalGet function core/modules/simpletest/src/WebTestBase.php Retrieves a Drupal path or an absolute path.
WebTestBase::drupalGetAjax function core/modules/simpletest/src/WebTestBase.php Requests a path or URL in drupal_ajax format and JSON-decodes the response.
WebTestBase::drupalGetHeader function core/modules/simpletest/src/WebTestBase.php Gets the value of an HTTP response header.
WebTestBase::drupalGetHeaders function core/modules/simpletest/src/WebTestBase.php Gets the HTTP response headers of the requested page.
WebTestBase::drupalGetJSON function core/modules/simpletest/src/WebTestBase.php Retrieves a Drupal path or an absolute path and JSON decodes the result.
WebTestBase::drupalGetWithFormat function core/modules/simpletest/src/WebTestBase.php Retrieves a Drupal path or an absolute path for a given format.
WebTestBase::drupalGetXHR function core/modules/simpletest/src/WebTestBase.php Requests a Drupal path or an absolute path as if it is a XMLHttpRequest.
WebTestBase::drupalHead function core/modules/simpletest/src/WebTestBase.php Retrieves only the headers for a Drupal path or an absolute path.
WebTestBase::drupalLogin function core/modules/simpletest/src/WebTestBase.php Log in a user with the internal browser.
WebTestBase::drupalLogout function core/modules/simpletest/src/WebTestBase.php Logs a user out of the internal browser and confirms.
WebTestBase::drupalPost function core/modules/simpletest/src/WebTestBase.php Perform a POST HTTP request.
WebTestBase::drupalPostAjaxForm function core/modules/simpletest/src/WebTestBase.php Executes an Ajax form submission.
WebTestBase::drupalPostForm function core/modules/simpletest/src/WebTestBase.php Executes a form submission.
WebTestBase::drupalPostWithFormat function core/modules/simpletest/src/WebTestBase.php Performs a POST HTTP request with a specific format.
WebTestBase::drupalProcessAjaxResponse function core/modules/simpletest/src/WebTestBase.php Processes an AJAX response into current content.
WebTestBase::drupalUserIsLoggedIn function core/modules/simpletest/src/WebTestBase.php Returns whether a given user account is logged in.
WebTestBase::findBlockInstance function core/modules/simpletest/src/WebTestBase.php Find a block instance on the page.
WebTestBase::getAbsoluteUrl function core/modules/simpletest/src/WebTestBase.php Takes a path and returns an absolute path.
WebTestBase::getAjaxPageStatePostData function core/modules/simpletest/src/WebTestBase.php Get the Ajax page state from drupalSettings and prepare it for POSTing.
WebTestBase::handleForm function core/modules/simpletest/src/WebTestBase.php Handles form input related to drupalPostForm().
WebTestBase::isInChildSite function core/modules/simpletest/src/WebTestBase.php Returns whether the test is being executed from within a test site.
WebTestBase::restoreBatch function core/modules/simpletest/src/WebTestBase.php Restore the original batch.
WebTestBase::serializePostValues function core/modules/simpletest/src/WebTestBase.php Serialize POST HTTP request values.
WebTestBase::setBatch function core/modules/simpletest/src/WebTestBase.php Preserve the original batch, and instantiate the test batch.

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