Search for on

  1. Search 9.5.x for on
  2. Search 8.9.x for on
  3. Search 10.3.x for on
  4. Search 11.x for on
  5. Other projects
Title Object type File name Summary
DrupalHtmlToTextTestCase::testDrupalHtmlToTextBlockTagToNewline function modules/simpletest/tests/mail.test Test that text separated by block-level tags in HTML get separated by
(at least) a newline in the plaintext version.
DrupalHtmlToTextTestCase::testHeaderSeparation function modules/simpletest/tests/mail.test Test that headers are properly separated from surrounding text.
DrupalHtmlToTextTestCase::testVeryLongLineWrap function modules/simpletest/tests/mail.test Tests that drupal_html_to_text() wraps before 1000 characters.
DrupalHTTPResponseStatusLineTest class modules/simpletest/tests/common.test Tests parsing of the HTTP response status line.
DrupalHTTPResponseStatusLineTest::getInfo function modules/simpletest/tests/common.test
DrupalHTTPResponseStatusLineTest::statusLineData function modules/simpletest/tests/common.test Data provider for testStatusLine().
DrupalHTTPResponseStatusLineTest::testStatusLine function modules/simpletest/tests/common.test Tests parsing HTTP response status line.
DrupalJSONTest class modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalJSONTest::getInfo function modules/simpletest/tests/common.test
DrupalJSONTest::testJSON function modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalLocalStreamWrapper::$context property includes/stream_wrappers.inc Stream context resource.
DrupalLocalStreamWrapper::stream_set_option function includes/stream_wrappers.inc Change stream options.
DrupalMatchPathTestCase::$front property modules/simpletest/tests/path.test
DrupalRequestSanitizer::cleanDestination function includes/request-sanitizer.inc Removes the destination if it is dangerous.
DrupalSetContentTestCase class modules/simpletest/tests/common.test Testing drupal_add_region_content and drupal_get_region_content.
DrupalSetContentTestCase::getInfo function modules/simpletest/tests/common.test
DrupalSetContentTestCase::testRegions function modules/simpletest/tests/common.test Test setting and retrieving content for theme regions.
DrupalTestCase::$assertions property modules/simpletest/drupal_web_test_case.php Assertions thrown in that test case.
DrupalTestCase::$setupEnvironment property modules/simpletest/drupal_web_test_case.php
DrupalTestCase::$useSetupInstallationCache property modules/simpletest/drupal_web_test_case.php Whether to cache the installation part of the setUp() method.
DrupalTestCase::exceptionHandler function modules/simpletest/drupal_web_test_case.php Handle exceptions.
DrupalTestCase::generatePermutations function modules/simpletest/drupal_web_test_case.php Converts a list of possible parameters into a stack of permutations.
DrupalTestCase::getAssertionCall function modules/simpletest/drupal_web_test_case.php Cycles through backtrace until the first non-assertion method is found.
DrupalTestCase::getDatabaseConnection function modules/simpletest/drupal_web_test_case.php Returns the database connection to the site running Simpletest.
DrupalTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalTestCase.
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.
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::$plainTextContent property modules/simpletest/drupal_web_test_case.php The content of the page currently loaded in the internal browser (plain text version).
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::assertNoOptionSelected function modules/simpletest/drupal_web_test_case.php Asserts that a select option in the current page is not checked.
DrupalWebTestCase::assertNoResponse function modules/simpletest/drupal_web_test_case.php Asserts the page did not return the specified response code.
DrupalWebTestCase::assertOptionSelected function modules/simpletest/drupal_web_test_case.php Asserts that a select option in the current page is checked.
DrupalWebTestCase::assertResponse function modules/simpletest/drupal_web_test_case.php Asserts the page responds with the specified response code.
DrupalWebTestCase::checkPermissions function modules/simpletest/drupal_web_test_case.php Check to make sure that the array of permissions are valid.
DrupalWebTestCase::constructFieldXpath function modules/simpletest/drupal_web_test_case.php Helper function: construct an XPath for the given set of attributes and value.
DrupalWebTestCase::cronRun function modules/simpletest/drupal_web_test_case.php Runs cron in the Drupal installed by Simpletest.
DrupalWebTestCase::drupalCreateContentType function modules/simpletest/drupal_web_test_case.php Creates a custom content type based on default settings.
DrupalWebTestCase::drupalGetContent function modules/simpletest/drupal_web_test_case.php Gets the current raw HTML of requested page.
DrupalWebTestCase::drupalSetContent function modules/simpletest/drupal_web_test_case.php Sets the raw HTML content. This can be useful when a page has been fetched
outside of the internal browser and assertions need to be made on the
returned page.
DrupalWebTestCase::getAllOptions function modules/simpletest/drupal_web_test_case.php Get all option elements, including nested options, in a select.
DrupalWebTestCase::prepareEnvironment function modules/simpletest/drupal_web_test_case.php Prepares the current environment for running the test.
DrupalWebTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalWebTestCase.
drupal_add_region_content function includes/common.inc Adds content to a specified region.
DRUPAL_ANONYMOUS_RID constant includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table.
drupal_anonymous_user function includes/bootstrap.inc Generates a default anonymous $user object.
DRUPAL_BOOTSTRAP_CONFIGURATION constant includes/bootstrap.inc First bootstrap phase: initialize configuration.
DRUPAL_BOOTSTRAP_SESSION constant includes/bootstrap.inc Fifth bootstrap phase: initialize session handling.

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