Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
DrupalTestCase::randomName function modules/simpletest/drupal_web_test_case.php Generates a random string containing letters and numbers.
DrupalTestCase::randomString function modules/simpletest/drupal_web_test_case.php Generates a random string of ASCII characters of codes 32 to 126.
DrupalTestCase::run function modules/simpletest/drupal_web_test_case.php Run all tests in this class.
DrupalTestCase::verbose function modules/simpletest/drupal_web_test_case.php Logs a verbose message in a text file.
DrupalTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalTestCase.
DrupalUnitTestCase class modules/simpletest/drupal_web_test_case.php Test case for Drupal unit tests.
DrupalUnitTestCase::setUp function modules/simpletest/drupal_web_test_case.php Sets up unit test environment.
DrupalUnitTestCase::tearDown function modules/simpletest/drupal_web_test_case.php
DrupalUnitTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalUnitTestCase.
DrupalUpdateException class includes/update.inc @class Exception class used to throw error if a module update fails.
DrupalUpdaterInterface interface includes/updater.inc Interface for a class which can update a Drupal project.
DrupalUpdaterInterface::canUpdateDirectory function includes/updater.inc Determine if the Updater can handle the project provided in $directory.
DrupalUpdaterInterface::getInstallDirectory function includes/updater.inc
DrupalUpdaterInterface::getProjectName function includes/updater.inc Returns the system name of the project.
DrupalUpdaterInterface::isInstalled function includes/updater.inc Checks if the project is installed.
DrupalUpdaterInterface::postInstall function includes/updater.inc Actions to run after an install has occurred.
DrupalUpdaterInterface::postUpdate function includes/updater.inc Actions to run after an update has occurred.
DrupalWebTestCase class modules/simpletest/drupal_web_test_case.php Test case for typical Drupal tests.
DrupalWebTestCase::$additionalCurlOptions property modules/simpletest/drupal_web_test_case.php Additional cURL options.
DrupalWebTestCase::$content property modules/simpletest/drupal_web_test_case.php The content of the page currently loaded in the internal browser.
DrupalWebTestCase::$cookieFile property modules/simpletest/drupal_web_test_case.php The current cookie file used by cURL.
DrupalWebTestCase::$cookies property modules/simpletest/drupal_web_test_case.php The cookies of the page currently loaded in the internal browser.
DrupalWebTestCase::$curlHandle property modules/simpletest/drupal_web_test_case.php The handle of the current cURL connection.
DrupalWebTestCase::$drupalSettings property modules/simpletest/drupal_web_test_case.php The value of the Drupal.settings JavaScript variable for the page currently loaded in the internal browser.
DrupalWebTestCase::$elements property modules/simpletest/drupal_web_test_case.php The parsed version of the page.
DrupalWebTestCase::$generatedTestFiles property modules/simpletest/drupal_web_test_case.php Whether the files were copied to the test files directory.
DrupalWebTestCase::$headers property modules/simpletest/drupal_web_test_case.php The headers of the page currently loaded in the internal browser.
DrupalWebTestCase::$httpauth_credentials property modules/simpletest/drupal_web_test_case.php HTTP authentication credentials (<username>:<password>).
DrupalWebTestCase::$httpauth_method property modules/simpletest/drupal_web_test_case.php HTTP authentication method
DrupalWebTestCase::$loggedInUser property modules/simpletest/drupal_web_test_case.php The current user logged in using the internal browser.
DrupalWebTestCase::$originalCleanUrl property modules/simpletest/drupal_web_test_case.php The original clean_url variable value.
DrupalWebTestCase::$originalLanguageUrl property modules/simpletest/drupal_web_test_case.php The original language URL.
DrupalWebTestCase::$originalProfile property modules/simpletest/drupal_web_test_case.php The original active installation profile.
DrupalWebTestCase::$originalShutdownCallbacks property modules/simpletest/drupal_web_test_case.php The original shutdown handlers array, before it was cleaned for testing purposes.
DrupalWebTestCase::$originalUser property modules/simpletest/drupal_web_test_case.php The original user, before it was changed to a clean uid = 1 for testing purposes.
DrupalWebTestCase::$plainTextContent property modules/simpletest/drupal_web_test_case.php The content of the page currently loaded in the internal browser (plain text version).
DrupalWebTestCase::$private_files_directory property modules/simpletest/drupal_web_test_case.php The private files directory created for testing purposes.
DrupalWebTestCase::$profile property modules/simpletest/drupal_web_test_case.php The profile to install as a basis for testing.
DrupalWebTestCase::$public_files_directory property modules/simpletest/drupal_web_test_case.php The public files directory created for testing purposes.
DrupalWebTestCase::$redirect_count property modules/simpletest/drupal_web_test_case.php The number of redirects followed during the handling of a request.
DrupalWebTestCase::$session_id property modules/simpletest/drupal_web_test_case.php The current session ID, if available.
DrupalWebTestCase::$session_name property modules/simpletest/drupal_web_test_case.php The current session name, if available.
DrupalWebTestCase::$temp_files_directory property modules/simpletest/drupal_web_test_case.php The temporary files directory created for testing purposes.
DrupalWebTestCase::$url property modules/simpletest/drupal_web_test_case.php The URL currently loaded in the internal browser.
DrupalWebTestCase::assertField function modules/simpletest/drupal_web_test_case.php Asserts that a field exists with the given name or ID.
DrupalWebTestCase::assertFieldById function modules/simpletest/drupal_web_test_case.php Asserts that a field exists in the current page with the given ID and value.
DrupalWebTestCase::assertFieldByName function modules/simpletest/drupal_web_test_case.php Asserts that a field exists in the current page with the given name and value.
DrupalWebTestCase::assertFieldByXPath function modules/simpletest/drupal_web_test_case.php Asserts that a field exists in the current page by the given XPath.
DrupalWebTestCase::assertFieldChecked function modules/simpletest/drupal_web_test_case.php Asserts that a checkbox field in the current page is checked.
DrupalWebTestCase::assertLink function modules/simpletest/drupal_web_test_case.php Pass if a link with the specified label is found, and optional with the
specified index.

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