Search for all
Title | Object type | File name | Summary |
---|---|---|---|
DrupalTestCase::randomName | function | modules/ |
Generates a random string containing letters and numbers. |
DrupalTestCase::randomString | function | modules/ |
Generates a random string of ASCII characters of codes 32 to 126. |
DrupalTestCase::run | function | modules/ |
Run all tests in this class. |
DrupalTestCase::verbose | function | modules/ |
Logs a verbose message in a text file. |
DrupalTestCase::__construct | function | modules/ |
Constructor for DrupalTestCase. |
DrupalUnitTestCase | class | modules/ |
Test case for Drupal unit tests. |
DrupalUnitTestCase::setUp | function | modules/ |
Sets up unit test environment. |
DrupalUnitTestCase::tearDown | function | modules/ |
|
DrupalUnitTestCase::__construct | function | modules/ |
Constructor for DrupalUnitTestCase. |
DrupalUpdateException | class | includes/ |
@class Exception class used to throw error if a module update fails. |
DrupalUpdaterInterface | interface | includes/ |
Interface for a class which can update a Drupal project. |
DrupalUpdaterInterface::canUpdateDirectory | function | includes/ |
Determine if the Updater can handle the project provided in $directory. |
DrupalUpdaterInterface::getInstallDirectory | function | includes/ |
|
DrupalUpdaterInterface::getProjectName | function | includes/ |
Returns the system name of the project. |
DrupalUpdaterInterface::isInstalled | function | includes/ |
Checks if the project is installed. |
DrupalUpdaterInterface::postInstall | function | includes/ |
Actions to run after an install has occurred. |
DrupalUpdaterInterface::postUpdate | function | includes/ |
Actions to run after an update has occurred. |
DrupalWebTestCase | class | modules/ |
Test case for typical Drupal tests. |
DrupalWebTestCase::$additionalCurlOptions | property | modules/ |
Additional cURL options. |
DrupalWebTestCase::$content | property | modules/ |
The content of the page currently loaded in the internal browser. |
DrupalWebTestCase::$cookieFile | property | modules/ |
The current cookie file used by cURL. |
DrupalWebTestCase::$cookies | property | modules/ |
The cookies of the page currently loaded in the internal browser. |
DrupalWebTestCase::$curlHandle | property | modules/ |
The handle of the current cURL connection. |
DrupalWebTestCase::$drupalSettings | property | modules/ |
The value of the Drupal.settings JavaScript variable for the page currently loaded in the internal browser. |
DrupalWebTestCase::$elements | property | modules/ |
The parsed version of the page. |
DrupalWebTestCase::$generatedTestFiles | property | modules/ |
Whether the files were copied to the test files directory. |
DrupalWebTestCase::$headers | property | modules/ |
The headers of the page currently loaded in the internal browser. |
DrupalWebTestCase::$httpauth_credentials | property | modules/ |
HTTP authentication credentials (<username>:<password>). |
DrupalWebTestCase::$httpauth_method | property | modules/ |
HTTP authentication method |
DrupalWebTestCase::$loggedInUser | property | modules/ |
The current user logged in using the internal browser. |
DrupalWebTestCase::$originalCleanUrl | property | modules/ |
The original clean_url variable value. |
DrupalWebTestCase::$originalLanguageUrl | property | modules/ |
The original language URL. |
DrupalWebTestCase::$originalProfile | property | modules/ |
The original active installation profile. |
DrupalWebTestCase::$originalShutdownCallbacks | property | modules/ |
The original shutdown handlers array, before it was cleaned for testing purposes. |
DrupalWebTestCase::$originalUser | property | modules/ |
The original user, before it was changed to a clean uid = 1 for testing purposes. |
DrupalWebTestCase::$plainTextContent | property | modules/ |
The content of the page currently loaded in the internal browser (plain text version). |
DrupalWebTestCase::$private_files_directory | property | modules/ |
The private files directory created for testing purposes. |
DrupalWebTestCase::$profile | property | modules/ |
The profile to install as a basis for testing. |
DrupalWebTestCase::$public_files_directory | property | modules/ |
The public files directory created for testing purposes. |
DrupalWebTestCase::$redirect_count | property | modules/ |
The number of redirects followed during the handling of a request. |
DrupalWebTestCase::$session_id | property | modules/ |
The current session ID, if available. |
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. |
Pagination
- Previous page
- Page 55
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.