Search for test
Title | Object type | File name | Summary |
---|---|---|---|
DrupalTestCase::assertFalse | function | modules/ |
Check to see if a value is false (an empty string, 0, NULL, or FALSE). |
DrupalTestCase::assertIdentical | function | modules/ |
Check to see if two values are identical. |
DrupalTestCase::assertNotEqual | function | modules/ |
Check to see if two values are not equal. |
DrupalTestCase::assertNotIdentical | function | modules/ |
Check to see if two values are not identical. |
DrupalTestCase::assertNotNull | function | modules/ |
Check to see if a value is not NULL. |
DrupalTestCase::assertNull | function | modules/ |
Check to see if a value is NULL. |
DrupalTestCase::assertTrue | function | modules/ |
Check to see if a value is not false (not an empty string, 0, NULL, or FALSE). |
DrupalTestCase::deleteAssert | function | modules/ |
Delete an assertion record by message ID. |
DrupalTestCase::error | function | modules/ |
Fire an error assertion. |
DrupalTestCase::errorHandler | function | modules/ |
Handle errors during test runs. |
DrupalTestCase::exceptionHandler | function | modules/ |
Handle exceptions. |
DrupalTestCase::fail | function | modules/ |
Fire an assertion that is always negative. |
DrupalTestCase::generatePermutations | function | modules/ |
Converts a list of possible parameters into a stack of permutations. |
DrupalTestCase::getAssertionCall | function | modules/ |
Cycles through backtrace until the first non-assertion method is found. |
DrupalTestCase::getDatabaseConnection | function | modules/ |
Returns the database connection to the site running Simpletest. |
DrupalTestCase::insertAssert | function | modules/ |
Store an assertion from outside the testing context. |
DrupalTestCase::pass | function | modules/ |
Fire an assertion that is always positive. |
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. |
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. |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.