Search for test
Title | Object type | File name | Summary |
---|---|---|---|
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. |
DrupalWebTestCase::tearDown | function | modules/ |
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix. |
DrupalWebTestCase::verboseEmail | function | modules/ |
Outputs to verbose the most recent $count emails sent. |
DrupalWebTestCase::xpath | function | modules/ |
Perform an xpath search on the contents of the internal browser. The search is relative to the root element (HTML tag normally) of the page. |
DrupalWebTestCase::__construct | function | modules/ |
Constructor for DrupalWebTestCase. |
drupal_autoload_test.info | file | modules/ |
name = "Drupal code registry test" description = "Support module for testing the code registry." files[] = drupal_autoload_test_interface.inc files[] = drupal_autoload_test_class.inc package = Testing version = VERSION core =… |
drupal_autoload_test.module | file | modules/ |
Test module to check code registry. |
drupal_autoload_test_class.inc | file | modules/ |
Test classes for code registry testing. |
drupal_autoload_test_interface.inc | file | modules/ |
Test interfaces for code registry testing. |
drupal_autoload_test_registry_files_alter | function | modules/ |
Implements hook_registry_files_alter(). |
drupal_autoload_test_trait.sh | file | modules/ |
Test traits for code registry testing. |
drupal_generate_test_ua | function | includes/ |
Generates a user agent string with a HMAC and timestamp for simpletest. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.