CommonJavaScriptTestCase::setUp |
core/modules/simpletest/tests/common.test |
Sets up a Backdrop site for running functional and integration tests. |
CommonJavaScriptTestCase::tearDown |
core/modules/simpletest/tests/common.test |
Delete created files and temporary files directory, delete the tables
created by setUp(), and reset the database prefix. |
CommonJavaScriptTestCase::testAddExternal |
core/modules/simpletest/tests/common.test |
Tests adding an external JavaScript File. |
CommonJavaScriptTestCase::testAddFile |
core/modules/simpletest/tests/common.test |
Test adding a JavaScript file. |
CommonJavaScriptTestCase::testAddInline |
core/modules/simpletest/tests/common.test |
Test adding inline scripts. |
CommonJavaScriptTestCase::testAddJsFileWithQueryString |
core/modules/simpletest/tests/common.test |
Tests that the query string remains intact when adding JavaScript files
that have query string parameters. |
CommonJavaScriptTestCase::testAddSetting |
core/modules/simpletest/tests/common.test |
Test adding settings. |
CommonJavaScriptTestCase::testAggregatedAttributes |
core/modules/simpletest/tests/common.test |
Tests that attributes are maintained when JS aggregation is enabled. |
CommonJavaScriptTestCase::testAggregation |
core/modules/simpletest/tests/common.test |
Test JavaScript grouping and aggregation. |
CommonJavaScriptTestCase::testAggregationOrder |
core/modules/simpletest/tests/common.test |
Tests JavaScript aggregation when files are added to a different scope. |
CommonJavaScriptTestCase::testAlter |
core/modules/simpletest/tests/common.test |
Test altering a JavaScript's weight via hook_js_alter(). |
CommonJavaScriptTestCase::testAttachedLibrary |
core/modules/simpletest/tests/common.test |
Tests the addition of libraries through the #attached['library'] property. |
CommonJavaScriptTestCase::testAttributes |
core/modules/simpletest/tests/common.test |
Tests adding JavaScript files with additional attributes. |
CommonJavaScriptTestCase::testDefault |
core/modules/simpletest/tests/common.test |
Test default JavaScript is empty. |
CommonJavaScriptTestCase::testDeprecatedBrowserConditionalComments |
core/modules/simpletest/tests/common.test |
Test deprecated conditional comments are no longer output. |
CommonJavaScriptTestCase::testDifferentGroup |
core/modules/simpletest/tests/common.test |
Test adding a JavaScript file with a different group. |
CommonJavaScriptTestCase::testDifferentWeight |
core/modules/simpletest/tests/common.test |
Test adding a JavaScript file with a different weight. |
CommonJavaScriptTestCase::testFooterHTML |
core/modules/simpletest/tests/common.test |
Test backdrop_get_js() with a footer scope. |
CommonJavaScriptTestCase::testGetLibrary |
core/modules/simpletest/tests/common.test |
Tests retrieval of libraries via backdrop_get_library(). |
CommonJavaScriptTestCase::testHeaderSetting |
core/modules/simpletest/tests/common.test |
Test backdrop_get_js() for JavaScript settings. |
CommonJavaScriptTestCase::testLibraryAlter |
core/modules/simpletest/tests/common.test |
Adds a JavaScript library to the page and alters it. |
CommonJavaScriptTestCase::testLibraryNameConflicts |
core/modules/simpletest/tests/common.test |
Tests that multiple modules can implement the same library. |
CommonJavaScriptTestCase::testLibraryRender |
core/modules/simpletest/tests/common.test |
Adds a library to the page and tests for both its JavaScript and its CSS. |
CommonJavaScriptTestCase::testLibraryUnknown |
core/modules/simpletest/tests/common.test |
Tests non-existing libraries. |
CommonJavaScriptTestCase::testNoCache |
core/modules/simpletest/tests/common.test |
Test backdrop_add_js() sets preprocess to false when cache is set to false. |
CommonJavaScriptTestCase::testRenderDifferentWeight |
core/modules/simpletest/tests/common.test |
Test rendering the JavaScript with a file's weight above jQuery's. |
CommonJavaScriptTestCase::testRenderExternal |
core/modules/simpletest/tests/common.test |
Test rendering an external JavaScript file. |
CommonJavaScriptTestCase::testRenderOrder |
core/modules/simpletest/tests/common.test |
Test JavaScript ordering. |
CommonJavaScriptTestCase::testReset |
core/modules/simpletest/tests/common.test |
Test to see if resetting the JavaScript empties the cache. |
CommonJavaScriptTestCase::testVersionQueryString |
core/modules/simpletest/tests/common.test |
Test JavaScript versioning. |
CommonJSONUnitTestCase::testJSON |
core/modules/simpletest/tests/common.test |
Tests converting PHP variables to JSON strings and back. |
CommonSimpleTestErrorCollectorTestCase::assertError |
core/modules/simpletest/tests/common.test |
Assert that a collected error matches what we are expecting. |
CommonSimpleTestErrorCollectorTestCase::error |
core/modules/simpletest/tests/common.test |
Error handler that collects errors in an array. |
CommonSimpleTestErrorCollectorTestCase::setUp |
core/modules/simpletest/tests/common.test |
Sets up a Backdrop site for running functional and integration tests. |
CommonSimpleTestErrorCollectorTestCase::testErrorCollect |
core/modules/simpletest/tests/common.test |
Test that simpletest collects errors from the tested site. |
CommonSizeUnitTestCase::setUp |
core/modules/simpletest/tests/common.test |
Sets up unit test environment. |
CommonSizeUnitTestCase::testCommonFormatSize |
core/modules/simpletest/tests/common.test |
Check that format_size() returns the expected string. |
CommonSizeUnitTestCase::testCommonParseSize |
core/modules/simpletest/tests/common.test |
Check that parse_size() returns the proper byte sizes. |
CommonSizeUnitTestCase::testCommonParseSizeFormatSize |
core/modules/simpletest/tests/common.test |
Cross-test parse_size() and format_size(). |
CommonURLUnitTestCase::testBackdropGetBareDomain |
core/modules/simpletest/tests/common.test |
Test backdrop_get_bare_domain(). |
CommonURLUnitTestCase::testBackdropGetQueryParameters |
core/modules/simpletest/tests/common.test |
Test backdrop_get_query_parameters(). |
CommonURLUnitTestCase::testBackdropHttpBuildQuery |
core/modules/simpletest/tests/common.test |
Test backdrop_http_build_query(). |
CommonURLUnitTestCase::testBackdropParseUrl |
core/modules/simpletest/tests/common.test |
Test backdrop_parse_url(). |
CommonURLWebTestCase::hasClass |
core/modules/simpletest/tests/common.test |
|
CommonURLWebTestCase::testExternalUrls |
core/modules/simpletest/tests/common.test |
Test external URL handling. |
CommonURLWebTestCase::testInternalPathMimicsExternal |
core/modules/simpletest/tests/common.test |
Tests the url() function on internal paths which mimic external URLs. |
CommonURLWebTestCase::testLActiveClass |
core/modules/simpletest/tests/common.test |
|
CommonURLWebTestCase::testLCustomClass |
core/modules/simpletest/tests/common.test |
Tests for custom class in l() function. |
CommonURLWebTestCase::testLXSS |
core/modules/simpletest/tests/common.test |
Confirm that invalid text given as $path is filtered. |
CommonURLWebTestCase::testUrl |
core/modules/simpletest/tests/common.test |
Test url() with/without query, with/without fragment, absolute on/off and
assert all that works when clean URLs are on and off. |