Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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. |
DrupalWebTestCase::drupalLogin | function | modules/ |
Log in a user with the internal browser. |
DrupalWebTestCase::drupalLogout | function | modules/ |
|
DrupalWebTestCase::drupalPost | function | modules/ |
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser. |
DrupalWebTestCase::drupalPostAJAX | function | modules/ |
Execute an Ajax submission. |
DrupalWebTestCase::drupalSetContent | function | modules/ |
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::drupalSetSettings | function | modules/ |
Sets the value of the Drupal.settings JavaScript variable for the currently loaded page. |
DrupalWebTestCase::getAbsoluteUrl | function | modules/ |
Takes a path and returns an absolute path. |
DrupalWebTestCase::getAllOptions | function | modules/ |
Get all option elements, including nested options, in a select. |
DrupalWebTestCase::getSelectedItem | function | modules/ |
Get the selected value from a select field. |
DrupalWebTestCase::getSetupCacheKey | function | modules/ |
Returns the cache key used for the setup caching. |
DrupalWebTestCase::getUrl | function | modules/ |
Get the current URL from the cURL handler. |
DrupalWebTestCase::handleForm | function | modules/ |
Handle form input related to drupalPost(). Ensure that the specified fields exist and attempt to create POST data in the correct manner for the particular field type. |
DrupalWebTestCase::loadSetupCache | function | modules/ |
Copies the cached tables and files for a cached installation setup. |
DrupalWebTestCase::parse | function | modules/ |
Parse content returned from curlExec using DOM and SimpleXML. |
DrupalWebTestCase::preloadRegistry | function | modules/ |
Preload the registry from the testing site. |
DrupalWebTestCase::prepareDatabasePrefix | function | modules/ |
Generates a database prefix for running tests. |
DrupalWebTestCase::prepareEnvironment | function | modules/ |
Prepares the current environment for running the test. |
DrupalWebTestCase::recursiveDirectoryCopy | function | modules/ |
Recursively copy one directory to another. |
DrupalWebTestCase::refreshVariables | function | modules/ |
Refresh the in-memory set of variables. Useful after a page request is made that changes a variable in a different thread. |
DrupalWebTestCase::resetAll | function | modules/ |
Reset all data structures after having enabled new modules. |
DrupalWebTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
DrupalWebTestCase::storeSetupCache | function | modules/ |
Store the installation setup to a cache. |
Pagination
- Previous page
- Page 56
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.