Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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. |
DrupalWebTestCase::curlInitialize | function | modules/ |
Initializes the cURL connection. |
DrupalWebTestCase::drupalCompareFiles | function | modules/ |
Compare two files based on size and file name. |
DrupalWebTestCase::drupalCreateContentType | function | modules/ |
Creates a custom content type based on default settings. |
DrupalWebTestCase::drupalCreateNode | function | modules/ |
Creates a node based on default settings. |
DrupalWebTestCase::drupalCreateRole | function | modules/ |
Creates a role with specified permissions. |
DrupalWebTestCase::drupalCreateUser | function | modules/ |
Create a user with a given set of permissions. |
DrupalWebTestCase::drupalGet | function | modules/ |
Retrieves a Drupal path or an absolute path. |
DrupalWebTestCase::drupalGetAJAX | function | modules/ |
Retrieve a Drupal path or an absolute path and JSON decode the result. |
DrupalWebTestCase::drupalGetContent | function | modules/ |
Gets the current raw HTML of requested page. |
DrupalWebTestCase::drupalGetHeader | function | modules/ |
Gets the value of an HTTP response header. If multiple requests were required to retrieve the page, only the headers from the last request will be checked by default. However, if TRUE is passed as the second argument, all requests will be processed… |
DrupalWebTestCase::drupalGetHeaders | function | modules/ |
Gets the HTTP response headers of the requested page. Normally we are only interested in the headers returned by the last request. However, if a page is redirected or HTTP authentication is in use, multiple requests will be required to retrieve the… |
DrupalWebTestCase::drupalGetMails | function | modules/ |
Gets an array containing all e-mails sent during this test case. |
DrupalWebTestCase::drupalGetNodeByTitle | function | modules/ |
Get a node from the database based on its title. |
DrupalWebTestCase::drupalGetSettings | function | modules/ |
Gets the value of the Drupal.settings JavaScript variable for the currently loaded page. |
DrupalWebTestCase::drupalGetTestFiles | function | modules/ |
Get a list files that can be used in tests. |
DrupalWebTestCase::drupalGetToken | function | modules/ |
Generate a token for the currently logged in user. |
DrupalWebTestCase::drupalHead | function | modules/ |
Retrieves only the headers for a Drupal path or an absolute path. |
Pagination
- Previous page
- Page 54
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.