ActionExampleTestCase::testActionExample in modules/examples/action_example/tests/action_example.test
Test Action Example.
ActionLoopTestCase::triggerActions in core/modules/simpletest/tests/actions.test
Create an infinite loop by causing a watchdog message to be set, which causes the actions to be triggered again, up to actions_max_stack times.
AdminBarCustomizedTestCase::testCustomDisabled in core/modules/admin_bar/tests/admin_bar.test
Test disabled custom links.
AdminBarCustomizedTestCase::testCustomExternal in core/modules/admin_bar/tests/admin_bar.test
Tests external links.
AdminBarWebTestCase::assertElementByXPath in core/modules/admin_bar/tests/admin_bar.test
Check that an element exists in HTML markup.
AdminBarWebTestCase::assertNoElementByXPath in core/modules/admin_bar/tests/admin_bar.test
Check that an element does not exist in HTML markup.
AJAXDialogTest::testDialog in core/modules/simpletest/tests/ajax.test
Test sending non-JS and AJAX requests to open and manipulate modals.
AJAXFrameworkTestCase::testLazyLoad in core/modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.
AJAXTestCase::assertCommand in core/modules/simpletest/tests/ajax.test
Assert that a command with the required properties exists within the array of Ajax commands returned by the server.
BackdropErrorHandlerUnitTest::testExceptionHandler in core/modules/simpletest/tests/error.test
Test the exception handler.
BackdropHtmlToTextTestCase::testVeryLongLineWrap in core/modules/simpletest/tests/mail.test
Tests that backdrop_html_to_text() wraps before 1000 characters.
BackdropWebTestCase::assertFieldByXPath in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a field exists in the current page by the given XPath.
BackdropWebTestCase::assertFieldChecked in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a checkbox field in the current page is checked.
BackdropWebTestCase::assertMail in core/modules/simpletest/backdrop_web_test_case.php
Asserts that the most recently sent email message has the given value.
BackdropWebTestCase::assertMailPattern in core/modules/simpletest/backdrop_web_test_case.php
Asserts that the most recently sent email message has the pattern in it.
BackdropWebTestCase::assertMailString in core/modules/simpletest/backdrop_web_test_case.php
Asserts that the most recently sent email message has the string in it.
BackdropWebTestCase::assertNoFieldChecked in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a checkbox field in the current page is not checked.
BackdropWebTestCase::assertNoOption in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a select option in the current page does not exist.
BackdropWebTestCase::assertNoOptionSelected in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a select option in the current page is not checked.
BackdropWebTestCase::assertOption in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a select option in the current page exists.
BackdropWebTestCase::assertOptionSelected in core/modules/simpletest/backdrop_web_test_case.php
Asserts that a select option in the current page is checked.
BackdropWebTestCase::assertResponse in core/modules/simpletest/backdrop_web_test_case.php
Asserts the page responds with the specified response code.
BackdropWebTestCase::backdropCreateRole in core/modules/simpletest/backdrop_web_test_case.php
Creates a role with specified permissions.
BackdropWebTestCase::backdropCreateUser in core/modules/simpletest/backdrop_web_test_case.php
Create a user with a given set of permissions.
BackdropWebTestCase::backdropPost in 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::curlExec in core/modules/simpletest/backdrop_web_test_case.php
Initializes and executes a cURL request.
BackdropWebTestCase::setUp in core/modules/simpletest/backdrop_web_test_case.php
Sets up a Backdrop site for running functional and integration tests.
BareUpgradePathTestCase::testBareUpgrade in core/modules/simpletest/tests/upgrade/upgrade_bare.test
Test a successful upgrade.
BlockTranslationTestCase::testTranslateCustomBlock in core/modules/block/tests/block.translation.test
Test creating custom block, translate it, and then deleting it.
BookTestCase::testBookDelete in core/modules/book/tests/book.test
Tests the access for deleting top-level book nodes.
BootstrapIPAddressTestCase::testIPAddressHost in core/modules/simpletest/tests/bootstrap.test
test IP Address and hostname
BootstrapOverrideServerVariablesTestCase::testCheckMemoryLimit in core/modules/simpletest/tests/bootstrap.test
Tests that the backdrop_check_memory_limit() function works as expected.
BootstrapPageCacheTestCase::testPageCache in core/modules/simpletest/tests/bootstrap.test
Test cache headers.
BootstrapTimerTestCase::testTimer in core/modules/simpletest/tests/bootstrap.test
Test timer_read() to ensure it properly accumulates time when the timer started and stopped multiple times.
CacheClearCase::testClearArray in core/modules/simpletest/tests/cache.test
Test clearing using an array.
CacheClearCase::testClearWildcard in core/modules/simpletest/tests/cache.test
Test clearing using wildcard.
CacheGetMultipleUnitTest::testCacheMultiple in core/modules/simpletest/tests/cache.test
Test getMultiple().
CacheIsEmptyCase::testIsEmpty in core/modules/simpletest/tests/cache.test
Test clearing using a cid.
CacheSavingCase::checkVariable in core/modules/simpletest/tests/cache.test
Check or a variable is stored and restored properly.
CacheSavingCase::testObject in core/modules/simpletest/tests/cache.test
Test the saving and restoring of an object.
CacheTestCase::assertCacheExists in core/modules/simpletest/tests/cache.test
Assert or a cache entry exists.
CKEditor5RtlTestCase::testRtlAdminIcons in core/modules/ckeditor5/tests/ckeditor5_rtl.test
Test that the CKEditor admin form works correctly with RTL languages.
CKEditorRtlTestCase::testRtlAdminIcons in core/modules/ckeditor/tests/ckeditor_rtl.test
Test that the CKEditor 4 admin form works correctly with RTL languages.
ColorTestCase::testBartikLegacy in core/modules/color/tests/color.test
Test the Bartik legacy color mode.
ColorTestCase::testColor in core/modules/color/tests/color.test
Tests the Color module functionality.
ColorTestCase::testUpdateCssFilesOnConfigSave in core/modules/color/tests/color.test
Test if the CSS files for a theme are updated when editing Configuration.
CommentAnonymous::testAnonymous in core/modules/comment/tests/comment.test
Tests anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in core/modules/comment/tests/comment.test
Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface in core/modules/comment/tests/comment.test
Tests comment approval functionality through the node interface.
CommentAuthorDeletionTestCase::testAuthorDeletion in core/modules/comment/tests/comment.test
Tests that comments are correctly deleted when their author is deleted.
CommentAuthorDeletionTestCase::testAuthorDeletionCommentModuleDisabled in core/modules/comment/tests/comment.test
Test comment author deletion while the comment module is disabled.
CommentBlockFunctionalTest::testRecentCommentBlock in core/modules/comment/tests/comment.test
Tests the recent comments block.
CommentContentRebuild::testCommentRebuild in core/modules/comment/tests/comment.test
Tests the rebuilding of comment's content arrays on calling comment_view().
CommentFieldsTest::testCommentDefaultFields in core/modules/comment/tests/comment.test
Tests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnable in core/modules/comment/tests/comment.test
Tests that comment module works when enabled after a content module.
CommentHelperCase::postComment in core/modules/comment/tests/comment.test
Posts a comment.
CommentInterfaceTest::assertCommentLinks in core/modules/comment/tests/comment.test
Asserts that comment links appear according to the passed environment.
CommentInterfaceTest::testCommentClasses in core/modules/comment/tests/comment.test
Tests CSS classes on comments.
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/comment.test
Tests the comment interface.
CommentInterfaceTest::testCommentNewCommentsIndicator in core/modules/comment/tests/comment.test
Tests new comment marker.
CommentNodeAccessTest::testThreadedCommentView in core/modules/comment/tests/comment.test
Test that threaded comments can be viewed.
CommentNodeChangesTestCase::testNodeCommentSettings in core/modules/comment/tests/comment.test
Tests opening, closing, and hiding comments.
CommentNodeChangesTestCase::testNodeDeletion in core/modules/comment/tests/comment.test
Tests that comments are deleted with the node.
CommentPagerTest::testCommentPaging in core/modules/comment/tests/comment.test
Confirms comment paging works correctly with flat and threaded comments.
CommentThreadingTestCase::testCommentThreading in core/modules/comment/tests/comment.test
Tests the comment threading.
CommonAutocompleteTagsTestCase::assertTags in core/modules/simpletest/tests/common.test
Helper function: asserts that the ending array of tags is what we wanted.
CommonBackdropArrayUnitTest::testUnset in core/modules/simpletest/tests/common.test
Tests unsetting nested array values.
CommonBackdropGotoTestCase::testBackdropGoto in core/modules/simpletest/tests/common.test
Test backdrop_goto().
CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequest in core/modules/simpletest/tests/common.test
CommonBackdropRenderTestCase::testBackdropRenderCache in core/modules/simpletest/tests/common.test
Tests caching of render items.
CommonBackdropRenderTestCase::testBackdropRenderChildrenAttached in core/modules/simpletest/tests/common.test
Test #attached functionality in children elements.
CommonBackdropRenderTestCase::testBackdropRenderSorting in core/modules/simpletest/tests/common.test
Test sorting by weight.
CommonBackdropSystemListingTestCase::testDirectoryPrecedence in core/modules/simpletest/tests/common.test
Test that files in different directories take precedence as expected.
CommonBackdropWriteRecordTestCase::testBackdropWriteRecord in core/modules/simpletest/tests/common.test
Test the backdrop_write_record() API function.
CommonCascadingStylesheetsTestCase::testModuleInfo in core/modules/simpletest/tests/common.test
Test that stylesheets in module .info files are loaded.
CommonCascadingStylesheetsTestCase::testRenderExternal in core/modules/simpletest/tests/common.test
Tests rendering an external stylesheet.
CommonCascadingStylesheetsTestCase::testRenderFile in core/modules/simpletest/tests/common.test
Tests rendering the stylesheets.
CommonCascadingStylesheetsTestCase::testRenderInlineNoPreprocess in core/modules/simpletest/tests/common.test
Tests rendering inline stylesheets with preprocessing off.
CommonCascadingStylesheetsTestCase::testRenderStylesAttributes in core/modules/simpletest/tests/common.test
Test CSS Styles with attributes rendering.
CommonJavaScriptTestCase::testAddExternal in core/modules/simpletest/tests/common.test
Tests adding an external JavaScript File.
CommonJavaScriptTestCase::testAddFile in core/modules/simpletest/tests/common.test
Test adding a JavaScript file.
CommonJavaScriptTestCase::testAddInline in core/modules/simpletest/tests/common.test
Test adding inline scripts.
CommonJavaScriptTestCase::testAggregatedAttributes in core/modules/simpletest/tests/common.test
Tests that attributes are maintained when JS aggregation is enabled.
CommonJavaScriptTestCase::testAggregation in core/modules/simpletest/tests/common.test
Test JavaScript grouping and aggregation.
CommonJavaScriptTestCase::testAlter in core/modules/simpletest/tests/common.test
Test altering a JavaScript's weight via hook_js_alter().
CommonJavaScriptTestCase::testAttachedLibrary in core/modules/simpletest/tests/common.test
Tests the addition of libraries through the #attached['library'] property.
CommonJavaScriptTestCase::testAttributes in core/modules/simpletest/tests/common.test
Tests adding JavaScript files with additional attributes.
CommonJavaScriptTestCase::testDeprecatedBrowserConditionalComments in core/modules/simpletest/tests/common.test
Test deprecated conditional comments are no longer output.
CommonJavaScriptTestCase::testFooterHTML in core/modules/simpletest/tests/common.test
Test backdrop_get_js() with a footer scope.
CommonJavaScriptTestCase::testGetLibrary in core/modules/simpletest/tests/common.test
Tests retrieval of libraries via backdrop_get_library().
CommonJavaScriptTestCase::testHeaderSetting in core/modules/simpletest/tests/common.test
Test backdrop_get_js() for JavaScript settings.
CommonJavaScriptTestCase::testLibraryAlter in core/modules/simpletest/tests/common.test
Adds a JavaScript library to the page and alters it.
CommonJavaScriptTestCase::testLibraryRender in core/modules/simpletest/tests/common.test
Adds a library to the page and tests for both its JavaScript and its CSS.
CommonJavaScriptTestCase::testLibraryUnknown in core/modules/simpletest/tests/common.test
Tests non-existing libraries.
CommonJavaScriptTestCase::testRenderDifferentWeight in core/modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
CommonJavaScriptTestCase::testRenderExternal in core/modules/simpletest/tests/common.test
Test rendering an external JavaScript file.
CommonJavaScriptTestCase::testVersionQueryString in core/modules/simpletest/tests/common.test
Test JavaScript versioning.
CommonJSONUnitTestCase::testJSON in core/modules/simpletest/tests/common.test
Tests converting PHP variables to JSON strings and back.
CommonURLUnitTestCase::testBackdropParseUrl in core/modules/simpletest/tests/common.test
Test backdrop_parse_url().
CommonURLWebTestCase::testExternalUrls in core/modules/simpletest/tests/common.test
Test external URL handling.
CommonURLWebTestCase::testLActiveClass in core/modules/simpletest/tests/common.test
CommonURLWebTestCase::testLCustomClass in core/modules/simpletest/tests/common.test
Tests for custom class in l() function.
CommonURLWebTestCase::testLXSS in core/modules/simpletest/tests/common.test
Confirm that invalid text given as $path is filtered.
CommonValidNumberStepUnitTestCase::testNumberStep in core/modules/simpletest/tests/common.test
Tests valid_number_step() without offset.
CommonValidNumberStepUnitTestCase::testNumberStepOffset in core/modules/simpletest/tests/common.test
Tests valid_number_step() with offset.
CommonValidUrlUnitTestCase::testValidAbsolute in core/modules/simpletest/tests/common.test
Test valid absolute URLs.
CommonValidUrlUnitTestCase::testValidRelative in core/modules/simpletest/tests/common.test
Test valid relative URLs.
ConfigObjectTestCase::testConfigObject in core/modules/simpletest/tests/config_obj.test
ConfigurationSyncTest::testSync in core/modules/config/tests/config.test
Tests that hook_config_create() is run during config sync.
ConfigurationTest::testConfigHtaccess in core/modules/config/tests/config.test
Tests that config directories are protected by .htaccess files.
ConfigurationTest::testOverrideConfig in core/modules/config/tests/config.test
Tests that a config setting can be overridden.
ConfirmFormTest::assertCancelLinkUrl in core/modules/system/tests/system.test
Asserts that a cancel link is present pointing to the provided URL.
ConnectionUnitTest::assertConnection in core/modules/simpletest/tests/database_test.test
Asserts that a connection ID exists.
CronRunTestCase::testAutomaticCron in core/modules/system/tests/system.test
Ensure that the automatic cron run feature is working.
CronRunTestCase::testTempFileCleanup in core/modules/system/tests/system.test
Ensure that temporary files are removed.
DatabaseEmptyStatementTestCase::testEmpty in core/modules/simpletest/tests/database_test.test
Test that the empty result set behaves as empty.
DatabaseExtraTypesTestCase::testDateField in core/modules/simpletest/tests/database_test.test
Test the date data type.
DatabaseExtraTypesTestCase::testTimeField in core/modules/simpletest/tests/database_test.test
Test the time data type.
DatabaseFetch2TestCase::testQueryFetchBoth in core/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchNum in core/modules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArray in core/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClass in core/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchDefault in core/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObject in core/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an object explicitly.
DatabaseInsertLOBTestCase::testInsertMultipleBlob in core/modules/simpletest/tests/database_test.test
Test that we can insert multiple blob fields in the same query.
DatabaseInsertLOBTestCase::testInsertOneBlob in core/modules/simpletest/tests/database_test.test
Test that we can insert a single blob field successfully.
DatabaseSelectComplexTestCase::testDefaultJoin in core/modules/simpletest/tests/database_test.test
Test simple JOIN statements.
DatabaseSelectComplexTestCase::testGroupBy in core/modules/simpletest/tests/database_test.test
Test GROUP BY clauses.
DatabaseSelectComplexTestCase::testGroupByAndHaving in core/modules/simpletest/tests/database_test.test
Test GROUP BY and HAVING clauses together.
DatabaseSelectComplexTestCase::testLeftOuterJoin in core/modules/simpletest/tests/database_test.test
Test LEFT OUTER joins.
DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in core/modules/simpletest/tests/database_test.test
Test multiple order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in core/modules/simpletest/tests/database_test.test
Test basic order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in core/modules/simpletest/tests/database_test.test
Test order by descending.
DatabaseTaggingTestCase::testExtenderHasAllTags in core/modules/simpletest/tests/database_test.test
Test extended query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testExtenderHasAnyTag in core/modules/simpletest/tests/database_test.test
Test extended query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testExtenderHasTag in core/modules/simpletest/tests/database_test.test
Confirm that an extended query has a "tag" added to it.
DatabaseTaggingTestCase::testHasAllTags in core/modules/simpletest/tests/database_test.test
Test query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testHasAnyTag in core/modules/simpletest/tests/database_test.test
Test query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testHasTag in core/modules/simpletest/tests/database_test.test
Confirm that a query has a "tag" added to it.
DatabaseTestCase::installTables in core/modules/simpletest/tests/database_test.test
Set up several tables needed by a certain test.
DatabaseTransactionTestCase::assertRowPresent in core/modules/simpletest/tests/database_test.test
Assert that a given row is present in the test table.
DatabaseTransactionTestCase::testTransactionStacking in core/modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::transactionInnerLayer in core/modules/simpletest/tests/database_test.test
Helper method for transaction unit tests. This "inner layer" transaction is either used alone or nested inside of the "outer layer" transaction.
DatabaseTransactionTestCase::transactionOuterLayer in core/modules/simpletest/tests/database_test.test
Helper method for transaction unit test. This "outer layer" transaction starts and then encapsulates the "inner layer" transaction. This nesting is used to evaluate whether the the database transaction API properly supports…
DatabaseUpdateLOBTestCase::testUpdateMultipleBlob in core/modules/simpletest/tests/database_test.test
Confirm that we can update two blob columns in the same table.
DatabaseUpdateLOBTestCase::testUpdateOneBlob in core/modules/simpletest/tests/database_test.test
Confirm that we can update a blob column.
DateAPITestCase::testDateAPI in core/modules/date/tests/date_api.test
DateFieldTokenTestCase::testDateFieldToken in core/modules/date/tests/date_field.test
Tests that date field tokens function properly.
DBLogTestCase::doNode in core/modules/dblog/tests/dblog.test
Generates and then verifies some node events.
DBLogTestCase::doUser in core/modules/dblog/tests/dblog.test
Generates and then verifies some user events.
DBLogTestCase::verifyCron in core/modules/dblog/tests/dblog.test
Verifies that cron correctly applies the database log row limit.
DBLogTestCase::verifyDateFormat in core/modules/dblog/tests/dblog.test
Verifies setting of the database log date format.
DBLogTestCase::verifyRowLimit in core/modules/dblog/tests/dblog.test
Verifies setting of the database log row limit.
EarlyBootstrapTestCase::testHookBoot in core/modules/simpletest/tests/boot.test
Test hook_boot() on both regular and "early exit" pages.
EmailExampleTestCase::testContactForm in modules/examples/email_example/tests/email_example.test
Verify the functionality of the example module.
EnableDisableTestCase::testEnableDisable in core/modules/system/tests/system.test
Test that all core modules can be enabled, disabled and uninstalled.
EntityAPIInfoTestCase::testEntityInfoChanges in core/modules/entity/tests/entity.test
Ensures entity info cache is updated after changes.
EntityAPITestCase::testCaching in core/modules/entity/tests/entity.test
Tests caching (and not caching) of entities in the Entity API.
EntityAPITestCase::testCRUD in core/modules/entity/tests/entity.test
Tests basic CRUD functionality of the Entity API.
EntityCrudHookTestCase::assertHookMessageOrder in core/modules/entity/tests/entity_crud_hook_test.test
Checks the order of CRUD hook execution messages.
EntityFieldQueryTestCase::testEntityFieldQuery in core/modules/entity/tests/entity_query.test
Tests EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryRouting in core/modules/entity/tests/entity_query.test
Tests the routing feature of EntityFieldQuery.
FieldAttachOtherTestCase::testFieldAttachPrepareViewMultiple in core/modules/field/tests/field.test
Tests the 'multiple entity' behavior of field_attach_prepare_view().
FieldAttachOtherTestCase::testFieldAttachView in core/modules/field/tests/field.test
Test field_attach_view() and field_attach_prepare_view().
FieldAttachStorageTestCase::testFieldAttachSaveMissingData in core/modules/field/tests/field.test
Tests insert and update with missing or NULL fields.
FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in core/modules/field/tests/field.test
Test insert with missing or NULL fields, with default value.
FieldAttachStorageTestCase::testFieldHasData in core/modules/field/tests/field.test
Test field_has_data().
FieldAttachStorageTestCase::testFieldStorageDetailsAlter in core/modules/field/tests/field.test
Test storage details alteration.
FieldBlockTestCase::testFieldBlock in core/modules/field/tests/field.test
Check special conditions around the main content block.
FieldBulkDeleteTestCase::checkHooksInvocations in core/modules/field/tests/field.test
Tests that the expected hooks have been invoked on the expected entities.
FieldBulkDeleteTestCase::testDeleteFieldInstance in core/modules/field/tests/field.test
Verify that deleting an instance leaves the field data items in the database and that the appropriate Field API functions can operate on the deleted data and instance.
FieldBulkDeleteTestCase::testPurgeField in core/modules/field/tests/field.test
Verify that fields are preserved and purged correctly as multiple instances are deleted and purged.
FieldBulkDeleteTestCase::testPurgeInstance in core/modules/field/tests/field.test
Verify that field data items and instances are purged when an instance is deleted.
FieldCrudTestCase::testCreateFieldFail in core/modules/field/tests/field.test
Test failure to create a field.
FieldCrudTestCase::testDeleteField in core/modules/field/tests/field.test
Test the deletion of a field.
FieldCrudTestCase::testReadField in core/modules/field/tests/field.test
Test reading back a field definition.
FieldCrudTestCase::_testActiveHelper in core/modules/field/tests/field.test
Helper function for testActive().
FieldExampleTest::testExampleFieldBasic in modules/examples/field_example/tests/field_example.test
Test basic functionality of the example field.
FieldFormTestCase::testNestedFieldForm in core/modules/field/tests/field.test
Tests Field API form integration within a subform.
FieldInfoTestCase::testFieldInfo in core/modules/field/tests/field.test
Test that field types and field definitions are correctly cached.
FieldInstanceCrudTestCase::testCreateFieldInstance in core/modules/field/tests/field.test
Test the creation of a field instance.
FieldInstanceCrudTestCase::testDeleteFieldInstance in core/modules/field/tests/field.test
Test the deletion of a field instance.
FieldInstanceCrudTestCase::testReadFieldInstance in core/modules/field/tests/field.test
Test reading back an instance definition.
FieldInstanceCrudTestCase::testUpdateFieldInstance in core/modules/field/tests/field.test
Test the update of a field instance.
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
Reads mysql to verify correct data is written when using insert and update.
FieldSqlStorageTestCase::testFieldStorageDetails in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
Test the storage details.
FieldSqlStorageTestCase::testFieldUpdateFailure in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
Test that failure to create fields is handled gracefully.
FieldTestPermissionsExample::testFieldnoteEditPerms in modules/examples/field_permission_example/tests/field_permission_example.test
Test edit permissions.
FieldTestPermissionsExample::testFieldnoteViewPerms in modules/examples/field_permission_example/tests/field_permission_example.test
Test view permissions.
FieldTranslationsTestCase::checkTranslationRevisions in core/modules/field/tests/field.test
Check if the field translation attached to the entity revision identified by the passed arguments were correctly stored.
FieldTranslationsTestCase::testFieldAvailableLanguages in core/modules/field/tests/field.test
Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage in core/modules/field/tests/field.test
Tests display language logic for translatable fields.
FieldTranslationsTestCase::testFieldInvokeMultiple in core/modules/field/tests/field.test
Test the multilanguage logic of _field_invoke_multiple().
FieldTranslationsTestCase::testTranslatableFieldSaveLoad in core/modules/field/tests/field.test
Test translatable fields storage/retrieval.
FieldUIManageFieldsTestCase::assertFieldSettings in core/modules/field_ui/tests/field_ui.test
Asserts field settings are as expected.
FieldUIManageFieldsTestCase::createField in core/modules/field_ui/tests/field_ui.test
Tests adding a new field.
FieldUIManageFieldsTestCase::testHiddenFields in core/modules/field_ui/tests/field_ui.test
Tests that Field UI respects the 'no_ui' option in hook_field_info().
FieldUIViewModeFunctionalTest::testInfoHooks in core/modules/field_ui/tests/field_ui.test
Test the new entity display mode hooks.
FieldUIViewModeTestHelper::assertNoViewModeExists in core/modules/field_ui/tests/field_ui.test
FieldUIViewModeTestHelper::assertViewModeExists in core/modules/field_ui/tests/field_ui.test
FieldViewsDataTest::testViewsData in core/modules/field/tests/field_views.test
Unit testing the views data structure.
FieldViewsTestHelper::CreateUser in core/modules/field/tests/field_views.test
FileAccessTestCase::testFilePrivateDownloadAccess in core/modules/file/tests/file.test
Test to see if we have access to download private files when granted the permissions.
FileCopyTest::testExistingRename in core/modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace in core/modules/simpletest/tests/file.test
Test replacement when copying over a file that already exists.
FileCopyTest::testNormal in core/modules/simpletest/tests/file.test
Test file copying in the normal, base case.
FileDeleteTest::testInUse in core/modules/simpletest/tests/file.test
Tries deleting a file that is in use.
FileDeleteTest::testUnused in core/modules/simpletest/tests/file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileDirectoryTest::testFileCheckDirectoryHandling in core/modules/simpletest/tests/file.test
Test directory handling functions.
FileEditTestCase::testFileEdit in core/modules/file/tests/file.test
Check file edit functionality.
FileFieldPathTestCase::assertPathMatch in core/modules/file/tests/file.test
Asserts that a file is uploaded to the right location.
FileFieldValidateTestCase::testRequired in core/modules/file/tests/file.test
Tests the required property on file fields.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit in core/modules/file/tests/file.test
Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTestCase::testMultiValuedWidget in core/modules/file/tests/file.test
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTestCase::testSingleValuedWidget in core/modules/file/tests/file.test
Tests upload and remove buttons for a single-valued File field.
FileHookTestCase::assertFileHooksCalled in core/modules/simpletest/tests/file.test
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileLoadTest::testMultiple in core/modules/simpletest/tests/file.test
This will test loading file data from the database.
FileLoadTest::testSingleValues in core/modules/simpletest/tests/file.test
Load a single file and ensure that the correct values are returned.
FileManagedFileElementTestCase::testManagedFile in core/modules/file/tests/file.test
Tests the managed_file element type.
FileMoveTest::testExistingError in core/modules/simpletest/tests/file.test
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
FileMoveTest::testExistingRename in core/modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
FileMoveTest::testExistingReplace in core/modules/simpletest/tests/file.test
Test replacement when moving onto a file that already exists.
FileMoveTest::testNormal in core/modules/simpletest/tests/file.test
Move a normal file.
FileNameMungingTest::testMunging in core/modules/simpletest/tests/file.test
Create a file and munge/unmunge the name.
FilePrivateTestCase::testPrivateFile in core/modules/file/tests/file.test
Tests file access for file uploaded to a private node.
FileReplaceTestCase::testReplaceFile in core/modules/file/tests/file.test
@todo Test image dimensions for an image field are reset when a file is replaced. @todo Test image styles are cleared when an image is updated.
FileSaveDataTest::testExistingRename in core/modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
FileSaveDataTest::testExistingReplace in core/modules/simpletest/tests/file.test
Test file_save_data() when replacing an existing file.
FileSaveDataTest::testWithFilename in core/modules/simpletest/tests/file.test
Test the file_save_data() function when a filename is provided.
FileSaveDataTest::testWithoutFilename in core/modules/simpletest/tests/file.test
Test the file_save_data() function when no filename is provided.
FileSaveTest::testFileSave in core/modules/simpletest/tests/file.test
FileSaveUploadTest::setUp in core/modules/simpletest/tests/file.test
Sets up a Backdrop site for running functional and integration tests.
FileSaveUploadTest::testNormal in core/modules/simpletest/tests/file.test
Test the file_save_upload() function.
FileScanDirectoryTest::testOptionMinDepth in core/modules/simpletest/tests/file.test
Check that the min_depth options lets us ignore files in the starting directory.
FileScanDirectoryTest::testOptionRecurse in core/modules/simpletest/tests/file.test
Check that the recurse option descends into subdirectories.
FileTaxonomyTermTestCase::_testTermFile in core/modules/file/tests/file.test
Runs tests for attaching a file field to a taxonomy term.
FileTestCase::createDirectory in core/modules/simpletest/tests/file.test
Create a directory and assert it exists.
FileTestCase::createFile in core/modules/simpletest/tests/file.test
Create a file and save it to the files table and assert that it occurs correctly.
FileTestHelper::assertFileExists in core/modules/file/tests/file.test
Asserts that a file exists physically on disk.
FileTestHelper::assertFileIsPermanent in core/modules/file/tests/file.test
Asserts that a file's status is set to permanent in the database.
FileTestHelper::createFile in core/modules/file/tests/file.test
Create file
FileTransferTest::testJail in core/modules/simpletest/tests/filetransfer.test
FileTypeTestCase::clickFileTypeOperationLink in core/modules/file/tests/file.test
Click a link to perform an operation on a view.
FileTypeTestCase::testTypesCrudUi in core/modules/file/tests/file.test
Test file types CRUD UI.
FileUnitTestCase::testImageDimensions in core/modules/file/tests/file.test
Tests storing image height and width as file metadata.
FileUnmanagedCopyTest::testNormal in core/modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in core/modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedDeleteRecursiveTest::testDirectory in core/modules/simpletest/tests/file.test
Try deleting a directory with some files.
FileUnmanagedDeleteRecursiveTest::testEmptyDirectory in core/modules/simpletest/tests/file.test
Try deleting an empty directory.
FileUnmanagedDeleteRecursiveTest::testSingleFile in core/modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedDeleteRecursiveTest::testSubDirectory in core/modules/simpletest/tests/file.test
Try deleting subdirectories with some files.
FileUnmanagedDeleteTest::testDirectory in core/modules/simpletest/tests/file.test
Try deleting a directory.
FileUnmanagedDeleteTest::testMissing in core/modules/simpletest/tests/file.test
Try deleting a missing file.
FileUnmanagedDeleteTest::testNormal in core/modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedMoveTest::testNormal in core/modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in core/modules/simpletest/tests/file.test
Try to move a file onto itself.
FileUnmanagedSaveDataTest::testFileSaveData in core/modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
FileUploadTransliterationTest::testTransliteration in core/modules/simpletest/tests/file.test
FileUploadWizardTestCase::testFileUploadWizardBasic in core/modules/file/tests/file.test
Test the basic file upload wizard functionality.
FileUploadWizardTestCase::testFileUploadWizardFields in core/modules/file/tests/file.test
Test the file upload wizard field step.
FileUploadWizardTestCase::testFileUploadWizardSchemes in core/modules/file/tests/file.test
Test the file upload wizard scheme step.
FileUploadWizardTestCase::testFileUploadWizardStepSkipping in core/modules/file/tests/file.test
Test skipping each of the file upload wizard steps.
FileUploadWizardTestCase::testFileUploadWizardTypes in core/modules/file/tests/file.test
Test the file upload wizard type step.
FileUsageTest::testGetUsage in core/modules/simpletest/tests/file.test
Tests file_usage_list().
FileUsageTestCase::testFileUsagePage in core/modules/file/tests/file.test
Create a file and verify its usage information.
FileValidatorTest::testFileValidateImageResolution in core/modules/simpletest/tests/file.test
This ensures the resolution of a specific file is within bounds. The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage in core/modules/simpletest/tests/file.test
This ensures a specific file is actually an image.
FilledUpgradePathTestCase::testFilledUpgrade in core/modules/simpletest/tests/upgrade/upgrade_filled.test
Test a successful upgrade.
FilterAdminTestCase::clickTextFormatOperationLink in core/modules/filter/tests/filter.test
Click a link to perform an operation on a text format.
FilterAdminTestCase::testFilterAdmin in core/modules/filter/tests/filter.test
Tests filter administration functionality.
FilterAdminTestCase::testUrlFilterAdmin in core/modules/filter/tests/filter.test
Tests the URL filter settings form is properly validated.
FilterCRUDTestCase::testTextFormatCRUD in core/modules/filter/tests/filter.test
Tests CRUD operations for text formats and filters.
FilterCRUDTestCase::verifyFilters in core/modules/filter/tests/filter.test
Verifies that filters are properly stored for a text format.
FilterFormatAccessTestCase::testFormatPermissions in core/modules/filter/tests/filter.test
Tests the Filter format access permissions functionality.
FilterFormatAccessTestCase::testFormatRoles in core/modules/filter/tests/filter.test
Tests if text format is available to a role.
FilterUnitTestCase::assertFilteredString in core/modules/filter/tests/filter.test
Asserts multiple filter output expectations for multiple input strings.
FilterUnitTestCase::assertNoNormalized in core/modules/filter/tests/filter.test
Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
FilterUnitTestCase::assertNormalized in core/modules/filter/tests/filter.test
Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string.
FilterUnitTestCase::testFilterXSS in core/modules/filter/tests/filter.test
Tests limiting allowed tags and XSS prevention.
FloodFunctionalTest::testCleanUp in core/modules/system/tests/system.test
Test flood control mechanism clean-up.
FormElementTestCase::testOptions in core/modules/simpletest/tests/form.test
Tests expansion of #options for #type checkboxes and radios.
FormElementTestCase::testPlaceHolderText in core/modules/simpletest/tests/form.test
Tests placeholder text for elements that support placeholders.
FormsElementsLabelsTestCase::testFormLabels in core/modules/simpletest/tests/form.test
Test form elements, labels, title attributes and required marks output correctly and have the correct label option class if needed.
FormsElementsTableSelectFunctionalTest::testMultipleFalseOptionChecker in core/modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for radios.
FormsElementsTableSelectFunctionalTest::testMultipleTrueOptionChecker in core/modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
FormsElementsVerticalTabsFunctionalTest::testJavaScriptOrdering in core/modules/simpletest/tests/form.test
Ensures that vertical-tabs.js is included before collapse.js.
FormsFormCacheTestCase::testCacheFormCustomExpiration in core/modules/simpletest/tests/form.test
Tests changing form_cache_expiration.
FormsProgrammaticTestCase::submitForm in core/modules/simpletest/tests/form.test
Helper function used to programmatically submit the form defined in form_test.module with the given values.
FormStateValuesCleanAdvancedTestCase::testFormStateValuesCleanAdvanced in core/modules/simpletest/tests/form.test
Tests form_state_values_clean().
FormStateValuesCleanTestCase::testFormStateValuesClean in core/modules/simpletest/tests/form.test
Tests form_state_values_clean().
FormsTestCase::testDisabledMarkup in core/modules/simpletest/tests/form.test
Verify markup for disabled form elements.
FormsTestCase::testRequiredFields in core/modules/simpletest/tests/form.test
Check several empty values for required forms elements.
GenericFieldTest::codeTestGenericAddAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
Add all testable fields as instances to a content type.
GenericFieldTest::codeTestGenericRemoveAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
Remove all fields in $this->field_names.
GenericFieldTest::createFieldContentForUser in modules/examples/field_permission_example/tests/field_permission_example.test
Create a node with some field content.
GenericFieldTest::runTestGenericFieldInfo in modules/examples/field_permission_example/tests/field_permission_example.test
Verify that all required fields are specified in hook_field_info().
GraphUnitTest::assertWeights in core/modules/simpletest/tests/graph.test
Verify expected order in a graph.
HookBootExitTestCase::testHookBootExit in core/modules/simpletest/tests/bootstrap.test
Test calling of hook_boot() and hook_exit().
ImageAdminStylesUnitTest::testDefaultStyle in core/modules/image/tests/image.test
Test to override, edit, then revert a style.
ImageAdminStylesUnitTest::testNumericStyleName in core/modules/image/tests/image.test
Test creating an image style with a numeric name and ensuring it can be applied to an image.
ImageAdminStylesUnitTest::testStyle in core/modules/image/tests/image.test
General test to add a style, add/remove/edit effects to it, then delete it.
ImageDimensionsUnitTest::testImageDimensions in core/modules/image/tests/image.test
Test styled image dimensions cumulatively.
ImageEffectsUnitTest::testEffects in core/modules/image/tests/image.test
Test all the image effects provided by core.
ImageEffectsUnitTest::testImageEffectsCaching in core/modules/image/tests/image.test
Test image effect caching.
ImageExampleTestCase::testImageExample in modules/examples/image_example/tests/image_example.test
Test implementations of image API hooks.
ImageFieldValidateTestCase::testOrientation in core/modules/image/tests/image.test
Test image rotation resulting from EXIF data. Requires a special test image, file rotate90cw.jpg.
ImageFileMoveTest::testNormal in core/modules/simpletest/tests/image.test
Tests moving a randomly generated image.
ImageStyleFloodProtection::testFloodProtection in core/modules/image/tests/image.test
Check the number of images that can be generated simultaneously.
ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in core/modules/image/tests/image.test
Test image_style_url().
ImageStyleTokenTests::testTokens in core/modules/image/tests/token.test
Test that the image style tokens exist.
ImageToolkitGdTestCase::testManipulations in core/modules/simpletest/tests/image.test
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
ImageToolkitTestCase::assertToolkitOperationsCalled in core/modules/simpletest/tests/image.test
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
ImageToolkitUnitTest::testCrop in core/modules/simpletest/tests/image.test
Test the image_crop() function.
ImageToolkitUnitTest::testDesaturate in core/modules/simpletest/tests/image.test
Test the image_desaturate() function.
ImageToolkitUnitTest::testGetAvailableToolkits in core/modules/simpletest/tests/image.test
Check that hook_image_toolkits() is called and only available toolkits are returned.
ImageToolkitUnitTest::testLoad in core/modules/simpletest/tests/image.test
Test the image_load() function.
ImageToolkitUnitTest::testResize in core/modules/simpletest/tests/image.test
Test the image_resize() function.
ImageToolkitUnitTest::testRotate in core/modules/simpletest/tests/image.test
Test the image_rotate() function.
ImageToolkitUnitTest::testScale in core/modules/simpletest/tests/image.test
Test the image_scale() function.
ImageToolkitUnitTest::testScaleAndCrop in core/modules/simpletest/tests/image.test
Test the image_scale_and_crop() function.
InstallerBrowserAdministrationTestCase::testProjectBrowserInstallPage in core/modules/installer/tests/installer.test
InstallerBrowserAdministrationTestCase::testProjectBrowserProjectEnabled in core/modules/installer/tests/installer.test
InstallerLanguageTestCase::testInstallerTranslationFiles in core/modules/simpletest/tests/installer.test
Tests that the installer can find translation files.
LanguageUpgradePathTestCase::testLanguageUpgrade in core/modules/simpletest/tests/upgrade/upgrade.language.test
Tests a successful upgrade.
LayoutBlockTest::testHeroBlocks in core/modules/layout/tests/layout.test
Test Hero blocks.
LayoutBlockUsageTestCase::checkBlockUsage in core/modules/layout/tests/layout.test
Checks block usage.
LayoutBlockUsageTestCase::testBlockUsage in core/modules/layout/tests/layout.test
Tests layout_get_block_usage().
LayoutFlexibleTemplateTest::testLayoutFlexibleTemplates in core/modules/layout/tests/layout.test
Test that layout templates may be enabled and disabled.
LayoutHookTestCase::assertHookMessageOrder in core/modules/layout/tests/layout.test
Checks the order of CRUD hook execution messages.
LayoutInterfaceTest::assertBlocksMatch in core/modules/layout/tests/layout.test
Check that all the blocks in $layout match those in $copied_from_layout.
LayoutInterfaceTest::testLayoutChange in core/modules/layout/tests/layout.test
Tests switching between different layouts, ensuring block copying.
LayoutInterfaceTest::testMenuItemReassignment in core/modules/layout/tests/layout.test
Ensure that reassignment of menu items works when deleting layouts.
LayoutInterfaceTest::testRegionStyles in core/modules/layout/tests/layout.test
Test region styles.
LayoutInterfaceTest::testRelationships in core/modules/layout/tests/layout.test
Test the support for contexts within conditions and blocks.
LayoutUpgradePathTest::testLayoutUpgrade in core/modules/layout/tests/layout.test
Tests a successful upgrade, where block positions copied to layouts.
LinkBaseTestClass::assertElementByXPath in core/modules/link/tests/link.test
Check that an element exists in HTML markup.
LinkUITest::testCRUDCreateFieldDefaults in core/modules/link/tests/link.ui.test
Creates a field with all the default values and check expected values.
ListDynamicValuesValidationTestCase::testDynamicAllowedValues in core/modules/field/modules/list/tests/list.test
Test that allowed values function gets the entity.
ListFieldTestCase::testUpdateAllowedValues in core/modules/field/modules/list/tests/list.test
Test that allowed values can be updated.
LocaleJavascriptTranslationTest::testFileParsing in core/modules/locale/tests/locale.test
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in core/modules/locale/tests/locale.test
Tests alterations to language types/negotiation info.
LocaleLibraryInfoAlterTest::testLibraryInfoAlter in core/modules/locale/tests/locale.test
Verifies that the datepicker can be localized.
LocaleMultilingualFieldsFunctionalTest::testMultilingualDisplaySettings in core/modules/locale/tests/locale.test
LocaleMultilingualFieldsFunctionalTest::testMultilingualNodeForm in core/modules/locale/tests/locale.test
Test if field languages are correctly set through the node form.
LocalePathFunctionalTest::testPathLanguageConfiguration in core/modules/locale/tests/locale.test
Test if a language can be associated with a URL alias.
LocaleStringIsSafeTest::testLocaleStringIsSafe in core/modules/locale/tests/locale.test
Tests for locale_string_is_safe().
LocaleTranslationFunctionalTest::testJavaScriptTranslation in core/modules/locale/tests/locale.test
LocaleTranslationFunctionalTest::testStringTranslation in core/modules/locale/tests/locale.test
Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationFunctionalTest::testStringValidation in core/modules/locale/tests/locale.test
Tests the validation of the translation input.
LocaleUILanguageNegotiationTest::testLanguageDomain in core/modules/locale/tests/locale.test
Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUrlLanguageFallback in core/modules/locale/tests/locale.test
Test URL language detection when the requested URL has no language.
LocaleUninstallFunctionalTest::testUninstallProcess in core/modules/locale/tests/locale.test
Check if the values of the Locale variables are correct after uninstall.
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration in core/modules/locale/tests/locale.test
Test if user can change their default language.
LockFunctionalTest::testLockAcquire in core/modules/simpletest/tests/lock.test
Confirm that we can acquire and release locks in two parallel requests.
MenuBlockTestCase::addMenuLink in core/modules/system/tests/system.test
Add a menu link using the menu module UI.
MenuBreadcrumbTestCase::testBreadCrumbs in core/modules/simpletest/tests/menu.test
Tests breadcrumbs on node and administrative paths.
MenuLanguageTestCase::testMenuParentLanguage in core/modules/menu/tests/menu_language.test
Test menu item parents on form menu_edit_item.
MenuLanguageTestCase::testMenuParentLanguageNode in core/modules/menu/tests/menu_language.test
Test that the available parent menu items match on the node form.
MenuNodeTestCase::testMenuNodeFormWidget in core/modules/menu/tests/menu.test
Test creating, editing, deleting menu links via node form widget.
MenuRouterTestCase::testAuthUserUserLogin in core/modules/simpletest/tests/menu.test
Test that an authenticated user hitting 'user/login' gets redirected to 'user' and 'user/register' gets redirected to the user edit page.
MenuTestCase::addMenuLink in core/modules/menu/tests/menu.test
Add a menu link using the menu module UI.
MenuTestCase::getStandardMenuLink in core/modules/menu/tests/menu.test
Get standard menu link.
MenuTreeOutputTestCase::testMenuTreeData in core/modules/simpletest/tests/menu.test
Validate the generation of a proper menu tree output.
MenuWebTestCase::assertBreadcrumb in core/modules/simpletest/tests/menu.test
Assert that a given path shows certain breadcrumb links.
ModuleDependencyTestCase::testModuleMetaData in core/modules/system/tests/system.test
Tests whether the correct module metadata is returned.
ModuleDependencyTestCase::testThemeMetaData in core/modules/system/tests/system.test
Tests whether the correct theme metadata is returned.
ModuleImplementsAlterTestCase::testModuleImplementsAlter in core/modules/simpletest/tests/module.test
Tests hook_module_implements_alter() adding an implementation.
ModuleInstallTestCase::testBackdropWriteRecord in core/modules/simpletest/tests/module.test
Test that calls to backdrop_write_record() work during module installation.
ModuleTestCase::assertModuleTablesExist in core/modules/system/tests/system.test
Assert that all tables defined in a module's hook_schema() exist.
ModuleTestCase::assertTableCount in core/modules/system/tests/system.test
Assert there are tables that begin with the specified base table name.
ModuleUninstallTestCase::testUserPermsUninstalled in core/modules/simpletest/tests/module.test
Tests the hook_modules_uninstalled() of the user module.
ModuleUnitTest::testDependencyResolution in core/modules/simpletest/tests/module.test
Test dependency resolution.
ModuleUnitTest::testModuleImplements in core/modules/simpletest/tests/module.test
Test module_implements() caching.
NodeAccessBaseTableTestCase::assertTaxonomyPage in core/modules/node/tests/node.test
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeAccessBaseTableTestCase::testNodeAccessBasic in core/modules/node/tests/node.test
Tests the "private" node access functionality.
NodeAccessExampleTestCase::testNodeAccessBasic in modules/examples/node_access_example/tests/node_access_example.test
Test the "private" node access.
NodeAccessRecordsUnitTest::testNodeAccessRecords in core/modules/node/tests/node.test
Creates a node and tests the creation of node access rules.
NodeBlockFunctionalTest::testRecentNodeBlock in core/modules/node/tests/node.test
Tests the recent content block.
NodeCreationTestCase::testFailedPageCreation in core/modules/node/tests/node.test
Verifies that a transaction rolls back the failed creation.
NodeCreationTestCase::testNodeCreation in core/modules/node/tests/node.test
Creates a "Page" node and verifies its consistency in the database.
NodeFeedTestCase::testNodeFeedExtraChannelElements in core/modules/node/tests/node.test
Ensures that node_feed() accepts and prints extra channel elements.
NodeLoadMultipleUnitTest::testNodeMultipleLoad in core/modules/node/tests/node.test
Creates four nodes and ensures that they are loaded correctly.
NodeMultiByteUtf8Test::testMultiByteUtf8 in core/modules/node/tests/node.test
Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
NodeRevisionPermissionsTestCase::testNodeRevisionAccess in core/modules/node/tests/node.test
Tests the _node_revision_access() function.
NodeRevisionsTestCase::testNodeRevisionWithoutLogMessage in core/modules/node/tests/node.test
Checks that revisions are correctly saved without log messages.
NodeRevisionsTestCase::testRevisions in core/modules/node/tests/node.test
Checks node revision related operations.
NodeSaveTestCase::testImport in core/modules/node/tests/node.test
Checks whether custom node IDs are saved properly during an import operation.
NodeTypeExampleTest::testInstallationApi in modules/examples/node_type_example/tests/node_type_example.test
API-level content type test.
NodeTypePersistenceTestCase::testNodeTypeCustomizationPersistence in core/modules/node/tests/node.test
Tests that node type customizations persist through disable and uninstall.
NodeTypeTestCase::testNodeTypeCreation in core/modules/node/tests/node.test
Tests creating a content type programmatically and via a form.
NodeTypeTestCase::testNodeTypeHasContent in core/modules/node/tests/node.test
Ensures that node_type_has_content function works correctly.
NodeTypeTestCase::testNodeTypePermissions in core/modules/node/tests/node.test
Tests that node types permissions are correctly set from the Node Type UI.
NodeTypeTestCase::testNodeTypeStatus in core/modules/node/tests/node.test
Tests that node types correctly handle the 'disabled' flag.
OptionsSelectDynamicValuesTestCase::testSelectListDynamic in core/modules/field/modules/options/tests/options.test
Tests the 'options_select' widget (single select).
OptionsWidgetsTestCase::testSelectListSingle in core/modules/field/modules/options/tests/options.test
Tests the 'options_select' widget (single select).
PageEditTestCase::testPageEdit in core/modules/node/tests/node.test
Checks node edit functionality.
PagerFunctionalWebTestCase::assertClass in core/modules/simpletest/tests/pager.test
Asserts that an element has a given class.
PagerFunctionalWebTestCase::assertNoClass in core/modules/simpletest/tests/pager.test
Asserts that an element does not have a given class.
PagerFunctionalWebTestCase::assertPagerItems in core/modules/simpletest/tests/pager.test
Asserts pager items and links.
PageTitleFiltering::testTitleTags in core/modules/system/tests/system.test
Tests the handling of HTML by backdrop_set_title() and backdrop_get_title()
PageViewTestCase::testPageView in core/modules/node/tests/node.test
Tests an anonymous and unpermissioned user attempting to edit the node.
PasswordHashingTest::testPasswordHashing in core/modules/simpletest/tests/password.test
Test password hashing.
PathLanguageTestCase::testAliasTranslation in core/modules/path/tests/path.test
Test alias functionality through the admin interfaces.
PathPatternLocaleTestCase::testLanguageAliases in core/modules/path/tests/path_pattern.test
Test that when an English node is updated, its old English URL alias is updated and its newer French URL alias is left intact.
PathPatternTestHelper::assertAliasExists in core/modules/path/tests/path_pattern.test
PathPatternTokenTestCase::assertTokens in core/modules/path/tests/path_pattern.test
Function copied from TokenTestHelper::assertTokens().
PathTestCase::testPathCache in core/modules/path/tests/path.test
Tests the path cache.
QueueTestCase::testQueue in core/modules/system/tests/system.test
Queues and dequeues a set of items to check the basic queue functionality.
RedirectFunctionalTest::testPageCache in core/modules/redirect/tests/redirect.test
Tests the links added to 404 pages for creating URL redirects.
RedirectTestHelper::assertPageCached in core/modules/redirect/tests/redirect.test
RenderExampleTestCase::assertRenderedText in modules/examples/render_example/tests/render_example.test
Asserts that the string value of the result is the same as the passed text.
RetrieveFileTestCase::testFileRetrieving in core/modules/system/tests/system.test
Invokes system_retrieve_file() in several scenarios.
SchemaTestCase::testSchema in core/modules/simpletest/tests/schema.test
SchemaTestCase::testUnsignedColumns in core/modules/simpletest/tests/schema.test
Tests creating unsigned columns and data integrity thereof.
SearchAdvancedSearchForm::testNodeType in core/modules/search/tests/search.test
Test using the search form with GET and POST queries. Test using the advanced search form to limit search to nodes of type "Page".
SearchExcerptTestCase::testSearchExcerpt in core/modules/search/tests/search.test
Tests search_excerpt() with several simulated search keywords.
SearchExcerptTestCase::testSearchExcerptSimplified in core/modules/search/tests/search.test
Tests search_excerpt() with search keywords matching simplified words.
SearchSimplifyTestCase::testSearchSimplifyUnicode in core/modules/search/tests/search.test
Tests that all Unicode characters simplify correctly.
SessionHttpsTestCase::assertSessionIds in core/modules/simpletest/tests/session.test
Test that there exists a session with two specific session IDs.
SessionHttpsTestCase::testHttpsSession in core/modules/simpletest/tests/session.test
SessionTestCase::assertSessionEmpty in core/modules/simpletest/tests/session.test
Assert whether $_SESSION is empty at the beginning of the request.
SessionTestCase::testEmptyAnonymousSession in core/modules/simpletest/tests/session.test
Test that empty anonymous sessions are destroyed.
SessionTestCase::testSessionSaveRegenerate in core/modules/simpletest/tests/session.test
Tests for backdrop_save_session() and backdrop_session_regenerate().
SimpleTestFolderTestCase::testFolderSetup in core/modules/simpletest/tests/simpletest.test
SimpleTestFunctionalTest::assertAssertion in core/modules/simpletest/tests/simpletest.test
Assert that an assertion with the specified values is displayed in the test results.
SimpleTestFunctionalTest::confirmStubTestResults in core/modules/simpletest/tests/simpletest.test
Confirm that the stub test produced the desired results.
SimpleTestFunctionalTest::testInternalBrowser in core/modules/simpletest/tests/simpletest.test
Test the internal browsers functionality.
SimpleTestFunctionalTest::testUserAgentValidation in core/modules/simpletest/tests/simpletest.test
Test validation of the User-Agent header we use to perform test requests.
SimpleTestUnitTestExampleTestCase::testSimpleTestUnitTestExampleFunction in modules/examples/simpletest_example/tests/simpletest_example.test
Test simpletest_example_empty_mysql_date().
StandardInstallTestCase::testRolesExist in core/modules/simpletest/tests/standard.test
Tests existence of test case located in an installation profile module.
StreamWrapperTest::testGetValidStreamScheme in core/modules/simpletest/tests/file.test
Test the scheme functions.
SummaryLengthTestCase::testSummaryLength in core/modules/node/tests/node.test
Tests the node summary length functionality.
SyslogTestCase::testSettings in core/modules/syslog/tests/syslog.test
Test the syslog settings page.
SystemConfigFormCase::testConfigForm in core/modules/simpletest/tests/system_config_test.inc
Submit the system_config_form and then test the configuration has the expected values.
SystemInfoAlterTestCase::testSystemInfoAlter in core/modules/system/tests/system.test
Tests that {system}.info is rebuilt after a module that implements hook_system_info_alter() is enabled. Also tests if core *_list() functions return freshly altered info.
SystemMainContentFallback::testMainContentFallback in core/modules/system/tests/system.test
Test availability of main content.
SystemThemeFunctionalTest::testThemeSettings in core/modules/system/tests/system.test
Test theme settings.
TaxonomyTermTestCase::testTaxonomyGetTermByName in core/modules/taxonomy/tests/taxonomy.test
Test taxonomy_term_load_multiple_by_name().
TaxonomyTermTestCase::testTaxonomyTermHierarchy in core/modules/taxonomy/tests/taxonomy.test
Test terms in a single and multiple hierarchy.
TaxonomyTermUnitTest::testTermDelete in core/modules/taxonomy/tests/taxonomy.test
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminDeletingVocabulary in core/modules/taxonomy/tests/taxonomy.test
Deleting a vocabulary.
TaxonomyVocabularyFunctionalTest::testVocabularyPermissions in core/modules/taxonomy/tests/taxonomy.test
Tests that vocabulary permissions are correctly set from the Taxonomy UI.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadProp in core/modules/taxonomy/tests/taxonomy.test
Test that adding properties via hook_taxonomy_vocabulary_load() works.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadStaticReset in core/modules/taxonomy/tests/taxonomy.test
Ensure that the vocabulary static reset works correctly.
TextFieldTestCase::testTextFieldValidation in core/modules/field/modules/text/tests/text.test
Test text field validation.
ThemeDebugMarkupTestCase::testDebugOutput in core/modules/simpletest/tests/theme.test
Tests debug markup added to template output.
ThemeHtmlTplPhpAttributesTestCase::testThemeHtmlTplPhpAttributes in core/modules/simpletest/tests/theme.test
Tests that modules and themes can alter variables in html.tpl.php.
ThemeRegistryTestCase::testRaceCondition in core/modules/simpletest/tests/theme.test
Tests the behavior of the theme registry class.
ThemeTableUnitTest::testThemeTableStickyHeaders in core/modules/simpletest/tests/theme.test
Tableheader.js provides 'sticky' table headers, and is included by default.
ThemeUnitTest::testFrontPageThemeSuggestion in core/modules/simpletest/tests/theme.test
Ensure page-front template suggestion is added when on home page.
ThemeUnitTest::testListThemes in core/modules/simpletest/tests/theme.test
Test the list_themes() function.
ThemingExampleTestCase::testThemingPage in modules/examples/theming_example/tests/theming_example.test
Verify the functionality of the example module.
TokenMenuTestCase::testMenuTokens in core/modules/simpletest/tests/token.test
TokenReplaceTestCase::testSystemTokenRecognition in core/modules/simpletest/tests/token.test
Test whether token-replacement works in various contexts.
TokenScanTest::testTokenScan in core/modules/simpletest/tests/token.test
Scans dummy text, then tests the output.
TokenTestHelper::assertNoTokens in core/modules/simpletest/tests/token.test
TokenTestHelper::assertPageTokens in core/modules/simpletest/tests/token.test
Make a page request and test for token generation.
TokenTestHelper::assertTokens in core/modules/simpletest/tests/token.test
TokenUserTestCase::testUserTokens in core/modules/simpletest/tests/token.test
TranslationTestCase::addLanguage in core/modules/translation/tests/translation.test
Installs the specified language, or enables it if it is already installed.
TranslationTestCase::assertContentByXPath in core/modules/translation/tests/translation.test
Asserts an element identified by the given XPath has the given content.
TranslationTestCase::assertLanguageSwitchLinks in core/modules/translation/tests/translation.test
Tests whether the specified language switch links are found.
TranslationTestCase::createPage in core/modules/translation/tests/translation.test
Creates a "Page" in the specified language.
TranslationTestCase::createTranslation in core/modules/translation/tests/translation.test
Creates a translation for a page in the specified language.
UpdateCoreTestCase::testUpdateCheckingEnabled in core/modules/update/tests/update.test
Tests _update_checking_enabled() returns the expected value during tests.
UpdateDependencyHookInvocationTestCase::testHookUpdateDependencies in core/modules/simpletest/tests/update.test
Test the structure of the array returned by hook_update_dependencies().
UpdateDependencyMissingTestCase::testMissingUpdate in core/modules/simpletest/tests/update.test
UpdateDependencyOrderingTestCase::testUpdateOrderingModuleInterdependency in core/modules/simpletest/tests/update.test
Test that dependencies between modules are resolved correctly.
UpdateDrupal7TestCase::testAvailableUpdates in core/modules/simpletest/tests/update.test
Tests that updates will be executed in the correct order.
UpdateTestContribCase::testUpdateContribOrder in core/modules/update/tests/update.test
Tests that contrib projects are ordered by project name.
UserCancelTestCase::testMassUserCancelByAdmin in core/modules/user/tests/user.test
Create an administrative user and mass-delete other users.
UserCancelTestCase::testUserAnonymize in core/modules/user/tests/user.test
Delete account and anonymize all content.
UserCancelTestCase::testUserBlock in core/modules/user/tests/user.test
Disable account and keep all content.
UserCancelTestCase::testUserBlockUnpublish in core/modules/user/tests/user.test
Disable account and unpublish all content.
UserCancelTestCase::testUserCancelInvalid in core/modules/user/tests/user.test
Attempt invalid account cancellations.
UserCancelTestCase::testUserCancelWithoutPermission in core/modules/user/tests/user.test
Attempt to cancel account without permission.
UserCancelTestCase::testUserDelete in core/modules/user/tests/user.test
Delete account and remove all content.
UserEditRebuildTestCase::testUserEditFormRebuild in core/modules/user/tests/user.test
Test user edit page when the form is set to rebuild.
UserPasswordResetTest::testUserPasswordReset in core/modules/user/tests/user_password_reset.test
Tests password reset functionality.
UserPermissionsTestCase::testAdministratorRole in core/modules/user/tests/user.test
Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testEditorRole in core/modules/user/tests/user.test
Test assigning of permissions for the editor role.
UserPermissionsTestCase::testUserPermissionChanges in core/modules/user/tests/user.test
Change user permissions and check user_access().
UserPermissionsTestCase::testUserRoleChangePermissions in core/modules/user/tests/user.test
Verify proper permission changes by user_role_change_permissions().
UserPictureTestCase::setUp in core/modules/user/tests/user.test
Sets up a Backdrop site for running functional and integration tests.
UserPictureTestCase::testDeletePicture in core/modules/user/tests/user.test
Tests deletion of user pictures.
UserPictureTestCase::testPictureIsValid in core/modules/user/tests/user.test
Do the test: Picture is valid (proper size and dimension)
UserPictureTestCase::testWithGDinvalidDimension in core/modules/user/tests/user.test
Do the test: GD Toolkit is installed Picture has invalid dimension
UserRegistrationTestCase::testRegistrationDefaultValues in core/modules/user/tests/user.test
UserRegistrationTestCase::testRegistrationEmailAsUsername in core/modules/user/tests/user.test
Tests new users username matches their email if username is an email.
UserRegistrationTestCase::testRegistrationWithEmailVerification in core/modules/user/tests/user.test
UserRoleAdminTestCase::testRoleAdministration in core/modules/user/tests/user.test
Test adding, renaming and deleting roles.
UserRoleAdminTestCase::testRoleWeightChange in core/modules/user/tests/user.test
Test user role weight change operation.
UserRolesAssignmentTestCase::userLoadAndCheckRoleAssigned in core/modules/user/tests/user.test
Check role on user object.
UserSaveTestCase::testUserImport in core/modules/user/tests/user.test
Test creating a user with arbitrary uid.
UserViewsArgumentValidate::testArgumentValidateUserEither in core/modules/user/tests/user_views_argument_validate.test
UserViewsArgumentValidate::testArgumentValidateUserName in core/modules/user/tests/user_views_argument_validate.test
UserViewsArgumentValidate::testArgumentValidateUserUid in core/modules/user/tests/user_views_argument_validate.test
UserViewsHandlerFieldNameTest::testUserName in core/modules/user/tests/user_views_handler_field_name.test
UuidUnitTestCase::testGenerateUuid in core/modules/system/tests/system.test
Test generating a UUID.
UuidUnitTestCase::testUuidValidation in core/modules/system/tests/system.test
Test UUID validation.
ViewsAccessTest::testAccessNone in core/modules/views/tests/views_access.test
Tests none access plugin.
ViewsAccessTest::testAccessPerm in core/modules/views/tests/views_access.test
Tests perm access plugin.
ViewsAccessTest::testAccessRole in core/modules/views/tests/views_access.test
Tests role access plugin.
ViewsAccessTest::testDynamicAccessPlugin in core/modules/views/tests/views_access.test
Tests dynamic access plugin.
ViewsAccessTest::testStaticAccessPlugin in core/modules/views/tests/views_access.test
Tests static access check.
ViewsAjaxTest::testAjaxView in core/modules/views/tests/views_ajax.test
Tests an ajax and non-ajax view.
ViewsArgumentValidatorTest::testArgumentValidateNumeric in core/modules/views/tests/views_argument_validator.test
ViewsArgumentValidatorTest::testArgumentValidatePhp in core/modules/views/tests/views_argument_validator.test
ViewsCacheTest::testHeaderStorage in core/modules/views/tests/views_cache.test
Tests css/js storage and restoring mechanism.
ViewsHandlerArgumentNullTest::testAreaText in core/modules/views/tests/handlers/views_handler_argument_null.test
ViewsHandlerFieldTest::testIsValueEmpty in core/modules/views/tests/handlers/views_handler_field.test
Tests views_handler_field::is_value_empty().
ViewsHandlerFilterNumericTest::testAllowEmpty in core/modules/views/tests/handlers/views_handler_filter_numeric.test
ViewsModuleTest::testFetchData in core/modules/views/tests/views_module.test
Tests views_fetch_data().
ViewsModuleTest::testModuleTemplates in core/modules/views/tests/views_module.test
Tests the dynamic includes of templates via module feature.
ViewsPluginDisplayBlockTestCase::testViewBlocks in core/modules/views/tests/plugins/views_plugin_display_block.test
Tests, whether and how the reset button can be renamed.
ViewsPluginStyleJumpMenuTest::testDuplicatePaths in core/modules/views/tests/styles/views_plugin_style_jump_menu.test
Tests jump menus with more than one same path but maybe different titles.
ViewsPluginStyleMappingTest::mappedOutputHelper in core/modules/views/tests/styles/views_plugin_style_mapping.test
Tests the mapping of fields.
ViewsPluginStyleMappingTest::testMappedOutput in core/modules/views/tests/styles/views_plugin_style_mapping.test
Verifies that the fields were mapped correctly.
ViewsPluginStyleTestCase::testCustomRowClasses in core/modules/views/tests/styles/views_plugin_style.test
Tests custom css classes.
ViewsPluginStyleUnformattedTestCase::testDefaultRowClasses in core/modules/views/tests/styles/views_plugin_style_unformatted.test
Take sure that the default css classes works as expected.
ViewsQueryGroupByTest::testGroupByCountOnlyFilters in core/modules/views/tests/views_groupby.test
ViewsUIWizardDefaultViewsTestCase::clickViewsOperationLink in core/modules/views/tests/views_ui.test
Click a link to perform an operation on a view.
ViewsUIWizardItemsPerPageTestCase::testItemsPerPage in core/modules/views/tests/views_ui.test
Tests the number of items per page.
ViewsUIWizardMenuTestCase::testMenus in core/modules/views/tests/views_ui.test
Tests the menu functionality.
ViewsUIWizardSortingTestCase::testSorting in core/modules/views/tests/views_ui.test
Tests the sorting functionality.
WatchdogTestCase::assertLogMessage in core/modules/simpletest/tests/bootstrap.test
Verify a log entry was entered. Called in the same way of theme expected original watchdog() execution.
WatchdogTestCase::assertNoLogMessage in core/modules/simpletest/tests/bootstrap.test
Verify no log entry was entered. Called in the same way of the expected original watchdog() execution.