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
DrupalWebTestCase::assertLinkByHref function modules/simpletest/drupal_web_test_case.php Pass if a link containing a given href (part) is found.
DrupalWebTestCase::assertMail function modules/simpletest/drupal_web_test_case.php Asserts that the most recently sent e-mail message has the given value.
DrupalWebTestCase::assertMailPattern function modules/simpletest/drupal_web_test_case.php Asserts that the most recently sent e-mail message has the pattern in it.
DrupalWebTestCase::assertMailString function modules/simpletest/drupal_web_test_case.php Asserts that the most recently sent e-mail message has the string in it.
DrupalWebTestCase::assertNoDuplicateIds function modules/simpletest/drupal_web_test_case.php Asserts that each HTML ID is used for just a single element.
DrupalWebTestCase::assertNoField function modules/simpletest/drupal_web_test_case.php Asserts that a field does not exist with the given name or ID.
DrupalWebTestCase::assertNoFieldById function modules/simpletest/drupal_web_test_case.php Asserts that a field does not exist with the given ID and value.
DrupalWebTestCase::assertNoFieldByName function modules/simpletest/drupal_web_test_case.php Asserts that a field does not exist with the given name and value.
DrupalWebTestCase::assertNoFieldByXPath function modules/simpletest/drupal_web_test_case.php Asserts that a field doesn't exist or its value doesn't match, by XPath.
DrupalWebTestCase::assertNoFieldChecked function modules/simpletest/drupal_web_test_case.php Asserts that a checkbox field in the current page is not checked.
DrupalWebTestCase::assertNoLink function modules/simpletest/drupal_web_test_case.php Pass if a link with the specified label is not found.
DrupalWebTestCase::assertNoLinkByHref function modules/simpletest/drupal_web_test_case.php Pass if a link containing a given href (part) is not found.
DrupalWebTestCase::assertNoOptionSelected function modules/simpletest/drupal_web_test_case.php Asserts that a select option in the current page is not checked.
DrupalWebTestCase::assertNoPattern function modules/simpletest/drupal_web_test_case.php Will trigger a pass if the perl regex pattern is not present in raw content.
DrupalWebTestCase::assertNoRaw function modules/simpletest/drupal_web_test_case.php Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated.
DrupalWebTestCase::assertNoResponse function modules/simpletest/drupal_web_test_case.php Asserts the page did not return the specified response code.
DrupalWebTestCase::assertNoText function modules/simpletest/drupal_web_test_case.php Pass if the text is NOT found on the text version of the page. The text version
is the equivalent of what a user would see when viewing through a web browser.
In other words the HTML has been filtered out of the contents.
DrupalWebTestCase::assertNoTitle function modules/simpletest/drupal_web_test_case.php Pass if the page title is not the given string.
DrupalWebTestCase::assertNoUniqueText function modules/simpletest/drupal_web_test_case.php Pass if the text is found MORE THAN ONCE on the text version of the page.
DrupalWebTestCase::assertOptionSelected function modules/simpletest/drupal_web_test_case.php Asserts that a select option in the current page is checked.
DrupalWebTestCase::assertPattern function modules/simpletest/drupal_web_test_case.php Will trigger a pass if the Perl regex pattern is found in the raw content.
DrupalWebTestCase::assertRaw function modules/simpletest/drupal_web_test_case.php Pass if the raw text IS found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated.
DrupalWebTestCase::assertResponse function modules/simpletest/drupal_web_test_case.php Asserts the page responds with the specified response code.
DrupalWebTestCase::assertText function modules/simpletest/drupal_web_test_case.php Pass if the text IS found on the text version of the page. The text version
is the equivalent of what a user would see when viewing through a web browser.
In other words the HTML has been filtered out of the contents.
DrupalWebTestCase::assertTextHelper function modules/simpletest/drupal_web_test_case.php Helper for assertText and assertNoText.
DrupalWebTestCase::assertThemeOutput function modules/simpletest/drupal_web_test_case.php Asserts themed output.
DrupalWebTestCase::assertTitle function modules/simpletest/drupal_web_test_case.php Pass if the page title is the given string.
DrupalWebTestCase::assertUniqueText function modules/simpletest/drupal_web_test_case.php Pass if the text is found ONLY ONCE on the text version of the page.
DrupalWebTestCase::assertUniqueTextHelper function modules/simpletest/drupal_web_test_case.php Helper for assertUniqueText and assertNoUniqueText.
DrupalWebTestCase::assertUrl function modules/simpletest/drupal_web_test_case.php Pass if the internal browser's URL matches the given path.
DrupalWebTestCase::buildXPathQuery function modules/simpletest/drupal_web_test_case.php Builds an XPath query.
DrupalWebTestCase::changeDatabasePrefix function modules/simpletest/drupal_web_test_case.php Changes the database connection to the prefixed one.
DrupalWebTestCase::checkForMetaRefresh function modules/simpletest/drupal_web_test_case.php Check for meta refresh tag and if found call drupalGet() recursively. This
function looks for the http-equiv attribute to be set to "Refresh"
and is case-sensitive.
DrupalWebTestCase::checkPermissions function modules/simpletest/drupal_web_test_case.php Check to make sure that the array of permissions are valid.
DrupalWebTestCase::clickLink function modules/simpletest/drupal_web_test_case.php Follows a link by name.
DrupalWebTestCase::constructFieldXpath function modules/simpletest/drupal_web_test_case.php Helper function: construct an XPath for the given set of attributes and value.
DrupalWebTestCase::copySetupCache function modules/simpletest/drupal_web_test_case.php Copy the setup cache from/to another table and files directory.
DrupalWebTestCase::cronRun function modules/simpletest/drupal_web_test_case.php Runs cron in the Drupal installed by Simpletest.
DrupalWebTestCase::curlClose function modules/simpletest/drupal_web_test_case.php Close the cURL handler and unset the handler.
DrupalWebTestCase::curlExec function modules/simpletest/drupal_web_test_case.php Initializes and executes a cURL request.
DrupalWebTestCase::curlHeaderCallback function modules/simpletest/drupal_web_test_case.php Reads headers and registers errors received from the tested site.
DrupalWebTestCase::curlInitialize function modules/simpletest/drupal_web_test_case.php Initializes the cURL connection.
DrupalWebTestCase::drupalCompareFiles function modules/simpletest/drupal_web_test_case.php Compare two files based on size and file name.
DrupalWebTestCase::drupalCreateContentType function modules/simpletest/drupal_web_test_case.php Creates a custom content type based on default settings.
DrupalWebTestCase::drupalCreateNode function modules/simpletest/drupal_web_test_case.php Creates a node based on default settings.
DrupalWebTestCase::drupalCreateRole function modules/simpletest/drupal_web_test_case.php Creates a role with specified permissions.
DrupalWebTestCase::drupalCreateUser function modules/simpletest/drupal_web_test_case.php Create a user with a given set of permissions.
DrupalWebTestCase::drupalGet function modules/simpletest/drupal_web_test_case.php Retrieves a Drupal path or an absolute path.
DrupalWebTestCase::drupalGetAJAX function modules/simpletest/drupal_web_test_case.php Retrieve a Drupal path or an absolute path and JSON decode the result.
DrupalWebTestCase::drupalGetContent function modules/simpletest/drupal_web_test_case.php Gets the current raw HTML of requested page.

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