|
BackdropWebTestCase::useCache |
core/modules/simpletest/backdrop_web_test_case.php |
Copies the cached tables and config for a profile if one is available. |
|
BackdropWebTestCase::tearDown |
core/modules/simpletest/backdrop_web_test_case.php |
Delete created files and temporary files directory, delete the tables
created by setUp(), and reset the database prefix. |
|
BackdropWebTestCase::setUp |
core/modules/simpletest/backdrop_web_test_case.php |
Sets up a Backdrop site for running functional and integration tests. |
|
BackdropWebTestCase::resetAll |
core/modules/simpletest/backdrop_web_test_case.php |
Reset all data structures after having enabled new modules. |
|
BackdropWebTestCase::refreshVariables |
core/modules/simpletest/backdrop_web_test_case.php |
Refresh the in-memory set of variables and state values. Useful after a
page request is made that changes a variable in a different thread. |
|
BackdropWebTestCase::recursiveCopy |
core/modules/simpletest/backdrop_web_test_case.php |
Recursively copy one directory to another. |
|
BackdropWebTestCase::prepareEnvironment |
core/modules/simpletest/backdrop_web_test_case.php |
Prepares the current environment for running the test. |
|
BackdropWebTestCase::parse |
core/modules/simpletest/backdrop_web_test_case.php |
Parse content returned from curlExec using DOM and SimpleXML. |
|
BackdropWebTestCase::handleForm |
core/modules/simpletest/backdrop_web_test_case.php |
Handle form input related to backdropPost(). Ensure that the specified fields
exist and attempt to create POST data in the correct manner for the particular
field type. |
|
BackdropWebTestCase::getUrl |
core/modules/simpletest/backdrop_web_test_case.php |
Get the current URL from the cURL handler. |
|
BackdropWebTestCase::getSelectedItem |
core/modules/simpletest/backdrop_web_test_case.php |
Get the selected value from a select field. |
|
BackdropWebTestCase::getAllOptions |
core/modules/simpletest/backdrop_web_test_case.php |
Get all option elements, including nested options, in a select. |
|
BackdropWebTestCase::getAbsoluteUrl |
core/modules/simpletest/backdrop_web_test_case.php |
Takes a path and returns an absolute path. |
|
BackdropWebTestCase::curlInitialize |
core/modules/simpletest/backdrop_web_test_case.php |
Initializes the cURL connection. |
|
BackdropWebTestCase::curlHeaderCallback |
core/modules/simpletest/backdrop_web_test_case.php |
Reads headers and registers errors received from the tested site. |
|
BackdropWebTestCase::curlExec |
core/modules/simpletest/backdrop_web_test_case.php |
Initializes and executes a cURL request. |
|
BackdropWebTestCase::curlClose |
core/modules/simpletest/backdrop_web_test_case.php |
Close the cURL handler and unset the handler. |
|
BackdropWebTestCase::cronRun |
core/modules/simpletest/backdrop_web_test_case.php |
Runs cron in the Backdrop installed by SimpleTest. |
|
BackdropWebTestCase::constructFieldXpath |
core/modules/simpletest/backdrop_web_test_case.php |
Helper function: construct an XPath for the given set of attributes and value. |
|
BackdropWebTestCase::clickLink |
core/modules/simpletest/backdrop_web_test_case.php |
Follows a link by name. |
|
BackdropWebTestCase::clearWatchdog |
core/modules/simpletest/backdrop_web_test_case.php |
Clears the watchdog database table. |
|
BackdropWebTestCase::checkPermissions |
core/modules/simpletest/backdrop_web_test_case.php |
Check to make sure that the array of permissions are valid. |
|
BackdropWebTestCase::checkForMetaRefresh |
core/modules/simpletest/backdrop_web_test_case.php |
Check for meta refresh tag and if found call backdropGet() recursively. This
function looks for the http-equiv attribute to be set to "Refresh"
and is case-sensitive. |
|
BackdropWebTestCase::changeDatabasePrefix |
core/modules/simpletest/backdrop_web_test_case.php |
Changes the database connection to the prefixed one. |
|
BackdropWebTestCase::buildXPathQuery |
core/modules/simpletest/backdrop_web_test_case.php |
Builds an XPath query. |
|
BackdropWebTestCase::backdropSetSettings |
core/modules/simpletest/backdrop_web_test_case.php |
Sets the value of the Backdrop.settings JavaScript variable for the currently loaded page. |
|
BackdropWebTestCase::backdropSetContent |
core/modules/simpletest/backdrop_web_test_case.php |
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. |
|
BackdropWebTestCase::backdropPostAJAX |
core/modules/simpletest/backdrop_web_test_case.php |
Execute an Ajax submission. |
|
BackdropWebTestCase::backdropPost |
core/modules/simpletest/backdrop_web_test_case.php |
Execute a POST request on a Backdrop page.
It will be done as usual POST request with SimpleBrowser. |
|
BackdropWebTestCase::backdropLogout |
core/modules/simpletest/backdrop_web_test_case.php |
|
|
BackdropWebTestCase::backdropLogin |
core/modules/simpletest/backdrop_web_test_case.php |
Log in a user with the internal browser. |
|
BackdropWebTestCase::backdropHead |
core/modules/simpletest/backdrop_web_test_case.php |
Retrieves only the headers for a Backdrop path or an absolute path. |
|
BackdropWebTestCase::backdropGetToken |
core/modules/simpletest/backdrop_web_test_case.php |
Generate a token for the currently logged in user. |
|
BackdropWebTestCase::backdropGetTestFiles |
core/modules/simpletest/backdrop_web_test_case.php |
Get a list files that can be used in tests. |
|
BackdropWebTestCase::backdropGetSettings |
core/modules/simpletest/backdrop_web_test_case.php |
Gets the value of the Backdrop.settings JavaScript variable for the currently loaded page. |
|
BackdropWebTestCase::backdropGetNodeByTitle |
core/modules/simpletest/backdrop_web_test_case.php |
Get a node from the database based on its title. |
|
BackdropWebTestCase::backdropGetMails |
core/modules/simpletest/backdrop_web_test_case.php |
Gets an array containing all emails sent during this test case. |
|
BackdropWebTestCase::backdropGetHeaders |
core/modules/simpletest/backdrop_web_test_case.php |
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… |
|
BackdropWebTestCase::backdropGetHeader |
core/modules/simpletest/backdrop_web_test_case.php |
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… |
|
BackdropWebTestCase::backdropGetContent |
core/modules/simpletest/backdrop_web_test_case.php |
Gets the current raw HTML of requested page. |
|
BackdropWebTestCase::backdropGetAJAX |
core/modules/simpletest/backdrop_web_test_case.php |
Retrieve a Backdrop path or an absolute path and JSON decode the result. |
|
BackdropWebTestCase::backdropGet |
core/modules/simpletest/backdrop_web_test_case.php |
Retrieves a Backdrop path or an absolute path. |
|
BackdropWebTestCase::backdropCreateUser |
core/modules/simpletest/backdrop_web_test_case.php |
Create a user with a given set of permissions. |
|
BackdropWebTestCase::backdropCreateRole |
core/modules/simpletest/backdrop_web_test_case.php |
Creates a role with specified permissions. |
|
BackdropWebTestCase::backdropCreateNode |
core/modules/simpletest/backdrop_web_test_case.php |
Creates a node based on default settings. |
|
BackdropWebTestCase::backdropCreateContentType |
core/modules/simpletest/backdrop_web_test_case.php |
Creates a custom content type based on default settings. |
|
BackdropWebTestCase::backdropCompareFiles |
core/modules/simpletest/backdrop_web_test_case.php |
Compare two files based on size and file name. |
|
BackdropWebTestCase::assertWatchdogMessage |
core/modules/simpletest/backdrop_web_test_case.php |
Verifies that a watchdog message has been entered. |
|
BackdropWebTestCase::assertUrl |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the internal browser's URL matches the given path. |
|
BackdropWebTestCase::assertUniqueTextHelper |
core/modules/simpletest/backdrop_web_test_case.php |
Helper for assertUniqueText and assertNoUniqueText. |