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. |
BackdropWebTestCase::assertUniqueText |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the text is found ONLY ONCE on the text version of the page. |
BackdropWebTestCase::assertTitle |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the page title is the given string. |
BackdropWebTestCase::assertThemeOutput |
core/modules/simpletest/backdrop_web_test_case.php |
Asserts themed output. |
BackdropWebTestCase::assertTextHelper |
core/modules/simpletest/backdrop_web_test_case.php |
Helper for assertText and assertNoText. |
BackdropWebTestCase::assertText |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the text IS found on the text version of the page. The text version
is the equivalent of what a user would see when viewing through a web browser.
In other words the HTML has been filtered out of the contents. |
BackdropWebTestCase::assertResponse |
core/modules/simpletest/backdrop_web_test_case.php |
Asserts the page responds with the specified response code. |
BackdropWebTestCase::assertRaw |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the raw text IS found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated. |
BackdropWebTestCase::assertPattern |
core/modules/simpletest/backdrop_web_test_case.php |
Will trigger a pass if the Perl regex pattern is found in the raw content. |
BackdropWebTestCase::assertOptionSelected |
core/modules/simpletest/backdrop_web_test_case.php |
Asserts that a select option in the current page is checked. |
BackdropWebTestCase::assertOption |
core/modules/simpletest/backdrop_web_test_case.php |
Asserts that a select option in the current page exists. |
BackdropWebTestCase::assertNoUniqueText |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the text is found MORE THAN ONCE on the text version of the page. |
BackdropWebTestCase::assertNoTitle |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the page title is not the given string. |
BackdropWebTestCase::assertNoText |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the text is NOT found on the text version of the page. The text version
is the equivalent of what a user would see when viewing through a web browser.
In other words the HTML has been filtered out of the contents. |
BackdropWebTestCase::assertNoResponse |
core/modules/simpletest/backdrop_web_test_case.php |
Asserts the page did not return the specified response code. |
BackdropWebTestCase::assertNoRaw |
core/modules/simpletest/backdrop_web_test_case.php |
Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated. |