Search for test
Title | Object type | File name | Summary |
---|---|---|---|
DrupalWebTestCase::$session_name | property | modules/ |
The current session name, if available. |
DrupalWebTestCase::$temp_files_directory | property | modules/ |
The temporary files directory created for testing purposes. |
DrupalWebTestCase::$url | property | modules/ |
The URL currently loaded in the internal browser. |
DrupalWebTestCase::assertField | function | modules/ |
Asserts that a field exists with the given name or ID. |
DrupalWebTestCase::assertFieldById | function | modules/ |
Asserts that a field exists in the current page with the given ID and value. |
DrupalWebTestCase::assertFieldByName | function | modules/ |
Asserts that a field exists in the current page with the given name and value. |
DrupalWebTestCase::assertFieldByXPath | function | modules/ |
Asserts that a field exists in the current page by the given XPath. |
DrupalWebTestCase::assertFieldChecked | function | modules/ |
Asserts that a checkbox field in the current page is checked. |
DrupalWebTestCase::assertLink | function | modules/ |
Pass if a link with the specified label is found, and optional with the specified index. |
DrupalWebTestCase::assertLinkByHref | function | modules/ |
Pass if a link containing a given href (part) is found. |
DrupalWebTestCase::assertMail | function | modules/ |
Asserts that the most recently sent e-mail message has the given value. |
DrupalWebTestCase::assertMailPattern | function | modules/ |
Asserts that the most recently sent e-mail message has the pattern in it. |
DrupalWebTestCase::assertMailString | function | modules/ |
Asserts that the most recently sent e-mail message has the string in it. |
DrupalWebTestCase::assertNoDuplicateIds | function | modules/ |
Asserts that each HTML ID is used for just a single element. |
DrupalWebTestCase::assertNoField | function | modules/ |
Asserts that a field does not exist with the given name or ID. |
DrupalWebTestCase::assertNoFieldById | function | modules/ |
Asserts that a field does not exist with the given ID and value. |
DrupalWebTestCase::assertNoFieldByName | function | modules/ |
Asserts that a field does not exist with the given name and value. |
DrupalWebTestCase::assertNoFieldByXPath | function | modules/ |
Asserts that a field doesn't exist or its value doesn't match, by XPath. |
DrupalWebTestCase::assertNoFieldChecked | function | modules/ |
Asserts that a checkbox field in the current page is not checked. |
DrupalWebTestCase::assertNoLink | function | modules/ |
Pass if a link with the specified label is not found. |
DrupalWebTestCase::assertNoLinkByHref | function | modules/ |
Pass if a link containing a given href (part) is not found. |
DrupalWebTestCase::assertNoOptionSelected | function | modules/ |
Asserts that a select option in the current page is not checked. |
DrupalWebTestCase::assertNoPattern | function | modules/ |
Will trigger a pass if the perl regex pattern is not present in raw content. |
DrupalWebTestCase::assertNoRaw | function | modules/ |
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/ |
Asserts the page did not return the specified response code. |
DrupalWebTestCase::assertNoText | function | modules/ |
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/ |
Pass if the page title is not the given string. |
DrupalWebTestCase::assertNoUniqueText | function | modules/ |
Pass if the text is found MORE THAN ONCE on the text version of the page. |
DrupalWebTestCase::assertOptionSelected | function | modules/ |
Asserts that a select option in the current page is checked. |
DrupalWebTestCase::assertPattern | function | modules/ |
Will trigger a pass if the Perl regex pattern is found in the raw content. |
DrupalWebTestCase::assertRaw | function | modules/ |
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/ |
Asserts the page responds with the specified response code. |
DrupalWebTestCase::assertText | function | modules/ |
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/ |
Helper for assertText and assertNoText. |
DrupalWebTestCase::assertThemeOutput | function | modules/ |
Asserts themed output. |
DrupalWebTestCase::assertTitle | function | modules/ |
Pass if the page title is the given string. |
DrupalWebTestCase::assertUniqueText | function | modules/ |
Pass if the text is found ONLY ONCE on the text version of the page. |
DrupalWebTestCase::assertUniqueTextHelper | function | modules/ |
Helper for assertUniqueText and assertNoUniqueText. |
DrupalWebTestCase::assertUrl | function | modules/ |
Pass if the internal browser's URL matches the given path. |
DrupalWebTestCase::buildXPathQuery | function | modules/ |
Builds an XPath query. |
DrupalWebTestCase::changeDatabasePrefix | function | modules/ |
Changes the database connection to the prefixed one. |
DrupalWebTestCase::checkForMetaRefresh | function | modules/ |
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/ |
Check to make sure that the array of permissions are valid. |
DrupalWebTestCase::clickLink | function | modules/ |
Follows a link by name. |
DrupalWebTestCase::constructFieldXpath | function | modules/ |
Helper function: construct an XPath for the given set of attributes and value. |
DrupalWebTestCase::copySetupCache | function | modules/ |
Copy the setup cache from/to another table and files directory. |
DrupalWebTestCase::cronRun | function | modules/ |
Runs cron in the Drupal installed by Simpletest. |
DrupalWebTestCase::curlClose | function | modules/ |
Close the cURL handler and unset the handler. |
DrupalWebTestCase::curlExec | function | modules/ |
Initializes and executes a cURL request. |
DrupalWebTestCase::curlHeaderCallback | function | modules/ |
Reads headers and registers errors received from the tested site. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.