275 calls to format_string()
- AjaxExampleTestCase::testDynamicSectionsNoJs in modules/examples/ajax_example/tests/ajax_example.test
- Check the non-JavaScript version of the "Dynamic Sections" example.
- BackdropErrorHandlerUnitTest::assertErrorMessage in core/modules/simpletest/tests/error.test
- Helper function: assert that the error message is found.
- BackdropErrorHandlerUnitTest::assertNoErrorMessage in core/modules/simpletest/tests/error.test
- Helper function: assert that the error message is not found.
- BackdropErrorHandlerUnitTest::testExceptionHandler in core/modules/simpletest/tests/error.test
- Test the exception handler.
- BackdropMatchPathTestCase::testBackdropMatchPath in core/modules/simpletest/tests/path.test
- Run through our test cases, making sure each one works as expected.
- BackdropWebTestCase::assertThemeOutput in core/modules/simpletest/backdrop_web_test_case.php
- Asserts themed output.
- BackdropWebTestCase::assertWatchdogMessage in core/modules/simpletest/backdrop_web_test_case.php
- Verifies that a watchdog message has been entered.
- BookTestCase::checkBookNode in core/modules/book/tests/book.test
- Checks the outline of sub-pages; previous, up, and next.
- BookTestCase::testBookNavigationBlock in core/modules/book/tests/book.test
- Tests the functionality of the book navigation block.
- CacheClearCase::testFlushAllCaches in core/modules/simpletest/tests/cache.test
- Test backdrop_flush_all_caches().
- CacheSavingCase::checkVariable in core/modules/simpletest/tests/cache.test
- Check or a variable is stored and restored properly.
- 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.
- CommentFieldsTest::testCommentDefaultFields in core/modules/comment/tests/comment.test
- Tests that the default 'comment_body' field is correctly added.
- CommentHelperCase::performCommentOperation in core/modules/comment/tests/comment.test
- Performs the specified operation on the specified comment.
- CommentHelperCase::setCommentAnonymous in core/modules/comment/tests/comment.test
- Sets the value governing restrictions on anonymous comments.
- CommentHelperCase::setCommentPreview in core/modules/comment/tests/comment.test
- Sets the value governing the previewing mode for the comment form.
- CommentHelperCase::setCommentsPerPage in core/modules/comment/tests/comment.test
- Sets the value specifying the default number of comments per page.
- CommentPagerTest::assertCommentOrder in core/modules/comment/tests/comment.test
- Asserts that the comments are displayed in the correct order.
- CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/comment.test
- Tests comment_new_page_count().
- CommentTokenReplaceTestCase::testCommentTokenReplacement in core/modules/comment/tests/comment.test
- Creates a comment, then tests the tokens generated from it.
- CommonAutocompleteTagsTestCase::assertTags in core/modules/simpletest/tests/common.test
- Helper function: asserts that the ending array of tags is what we wanted.
- CommonBackdropAddFeedTestCase::testBasicFeedAddNoTitle in core/modules/simpletest/tests/common.test
- Test backdrop_add_feed() with paths, URLs, and titles.
- CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequest in core/modules/simpletest/tests/common.test
- CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequestRedirect in core/modules/simpletest/tests/common.test
- CommonBackdropRenderTestCase::assertRenderedElement in core/modules/simpletest/tests/common.test
- CommonBackdropSystemListingTestCase::testDirectoryPrecedence in core/modules/simpletest/tests/common.test
- Test that files in different directories take precedence as expected.
- CommonCascadingStylesheetsUnitTestCase::testLoadCssBasic in core/modules/simpletest/tests/common.test
- Tests basic CSS loading with and without optimization via backdrop_load_stylesheet().
- CommonJSONUnitTestCase::testJSON in core/modules/simpletest/tests/common.test
- Tests converting PHP variables to JSON strings and back.
- CommonSimpleTestErrorCollectorTestCase::assertError in core/modules/simpletest/tests/common.test
- Assert that a collected error matches what we are expecting.
- 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.
- CommonValidUrlUnitTestCase::testInvalidAbsolute in core/modules/simpletest/tests/common.test
- Test invalid absolute URLs.
- CommonValidUrlUnitTestCase::testInvalidRelative in core/modules/simpletest/tests/common.test
- Test invalid relative URLs.
- 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.
- Config::validateName in core/includes/config.inc
- Validates the configuration object name.
- ConfigDatabaseStorage::initializeStorage in core/includes/config.inc
- Create the database table if does not already exist.
- ConfigDatabaseStorage::read in core/includes/config.inc
- Reads configuration data from the storage.
- ConfigFileStorage::initializeStorage in core/includes/config.inc
- Create a configuration directory, if it does not already exist, and ensure
it is writable by the site. Additionally, protect it with a .htaccess file.
- ConfigFileStorage::read in core/includes/config.inc
- Reads configuration data from the storage.
- ConfigurationUITest::testFullImportValidation in core/modules/config/tests/config.test
- Test full import validation.
- config_get_config_directory in core/includes/config.inc
- Returns the path of a configuration directory for config stored in files.
- 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.
- ConnectionUnitTest::assertNoConnection in core/modules/simpletest/tests/database_test.test
- Asserts that a connection ID does not exist.
- ContactSitewideTestCase::testSiteWideContact in core/modules/contact/tests/contact.test
- Tests configuration options and the site-wide contact form.
- DashboardTest::testDashboardLayout in core/modules/dashboard/tests/dashboard.test
- Test the dashboard layout.
- DatabaseInsertLOBTestCase::testInsertOneBlob in core/modules/simpletest/tests/database_test.test
- Test that we can insert a single blob field successfully.
- 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.
- DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectPagerDefaultTestCase::testOddPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst in core/modules/simpletest/tests/database_test.test
- Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
- DatabaseTestCase::installTables in core/modules/simpletest/tests/database_test.test
- Set up several tables needed by a certain test.
- DatabaseTransactionTestCase::assertRowAbsent in core/modules/simpletest/tests/database_test.test
- Assert that a given row is absent from the test table.
- DatabaseTransactionTestCase::assertRowPresent in core/modules/simpletest/tests/database_test.test
- Assert that a given row is present in the test table.
- DatabaseUpdateLOBTestCase::testUpdateOneBlob in core/modules/simpletest/tests/database_test.test
- Confirm that we can update a blob column.
- DateFieldTokenTestCase::testDateFieldToken in core/modules/date/tests/date_field.test
- Tests that date field tokens function properly.
- DateUITestCase::dateForm in core/modules/date/tests/date.test
- DateUITestCase::testFieldUI in core/modules/date/tests/date.test
- DateValidationTestCase::checkGranularity in core/modules/date/tests/date_validation.test
- Confirms that fields missing the time granularity are accepted.
- DateValidationTestCase::dateRangeTests in core/modules/date/tests/date_validation.test
- Tests for date ranges.
- 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::testDBLogAddAndClear in core/modules/dblog/tests/dblog.test
- Tests the addition and clearing of log events through the admin interface.
- 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.
- EnableDisableTestCase::testEnableDisable in core/modules/system/tests/system.test
- Test that all core modules can be enabled, disabled and uninstalled.
- EntityReferenceHandlersTestCase::assertReferenceable in core/modules/entityreference/tests/entityreference.handlers.test
- entity_query_access_test_sample_query in core/modules/entity/tests/entity_query_access_test/entity_query_access_test.module
- Returns the results from an example EntityFieldQuery.
- FieldAttachOtherTestCase::testFieldAttachView in core/modules/field/tests/field.test
- Test field_attach_view() and field_attach_prepare_view().
- FieldAttachStorageTestCase::testFieldAttachLoadMultiple in core/modules/field/tests/field.test
- Test the 'multiple' load feature.
- FieldAttachStorageTestCase::testFieldAttachSaveLoad in core/modules/field/tests/field.test
- Check field values insert, update and load.
- FieldAttachStorageTestCase::testFieldAttachSaveLoadDifferentStorage in core/modules/field/tests/field.test
- Test saving and loading fields using different storage backends.
- FieldAttachStorageTestCase::testFieldStorageDetailsAlter in core/modules/field/tests/field.test
- Test storage details alteration.
- FieldCrudTestCase::_testActiveHelper in core/modules/field/tests/field.test
- Helper function for testActive().
- FieldDisplayAPITestCase::testFieldViewField in core/modules/field/tests/field.test
- Test the field_view_field() function.
- FieldDisplayAPITestCase::testFieldViewValue in core/modules/field/tests/field.test
- Test the field_view_value() function.
- FieldInfoTestCase::testFieldInfo in core/modules/field/tests/field.test
- Test that field types and field definitions are correctly cached.
- FieldInfoTestCase::testSettingsInfo in core/modules/field/tests/field.test
- Test that the field_info settings convenience functions work.
- 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::testFieldSqlStorageMultipleConditionsDifferentColumns in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on multiple columns of one field.
- FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on multiple columns of one field for multiple languages.
- FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsSameColumn in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on one column of a field.
- 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.
- FieldTestCase::assertFieldValues in core/modules/field/tests/field.test
- Assert that a field has the expected values in an entity.
- FieldTokenTestCase::testFieldToken in core/modules/field/tests/field.test
- Test fields in token display mode.
- 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::testFieldInvoke in core/modules/field/tests/field.test
- Test the multilanguage logic of _field_invoke().
- 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::manageFieldsPage in core/modules/field_ui/tests/field_ui.test
- Tests the manage fields page.
- FieldUIManageFieldsTestCase::testCardinalitySettings in core/modules/field_ui/tests/field_ui.test
- Tests the cardinality settings of a 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().
- FieldUITestCase::fieldUIAddNewField in core/modules/field_ui/tests/field_ui.test
- Creates a new field through the Field UI.
- field_validate_field in core/modules/field/field.crud.inc
- Validates a field configuration.
- FileAccessFunctionsAlignedTestCase::testFileAccessFunctions in core/modules/file/tests/file.test
- Verify that both, file_access() and File::access() return the same value.
- FileAccessTestCase::testFilePrivateDownloadAccess in core/modules/file/tests/file.test
- Test to see if we have access to download private files when granted the permissions.
- FileAttributeOverrideTestCase::testFileFileAttributeOverrides in core/modules/file/tests/file.test
- Test to see if file attributes can be overridden.
- FileDirectoryTest::testFileCreateNewFilepath in core/modules/simpletest/tests/file.test
- This will take a directory and path, and find a valid filepath that is not
taken by another file.
- FileFieldDisplayTestCase::testNodeDisplay in core/modules/file/tests/file.test
- Tests normal formatter display on node display.
- FileFieldPathTestCase::testUploadPath in core/modules/file/tests/file.test
- Tests the normal formatter display on node display.
- FileFieldValidateTestCase::testFileMaxSize in core/modules/file/tests/file.test
- Tests the max file size validator.
- FileFieldValidateTestCase::testRequired in core/modules/file/tests/file.test
- Tests the required property on file fields.
- FileFieldWidgetTestCase::testMultiValuedWidget in core/modules/file/tests/file.test
- Tests upload and remove buttons for multiple multi-valued File fields.
- FileHookTestCase::assertFileHookCalled in core/modules/simpletest/tests/file.test
- Assert that a hook_file_* hook was called a certain number of times.
- 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.
- FileMimeTypeTest::testFileMimeTypeDetection in core/modules/simpletest/tests/file.test
- Test mapping of mimetypes from filenames.
- FileMoveTest::testNormal in core/modules/simpletest/tests/file.test
- Move a normal file.
- FileNameMungingTest::testMungeIgnoreAllowed in core/modules/simpletest/tests/file.test
- Allowed extensions are ignored by file_munge_filename().
- FileNameMungingTest::testMungeIgnoreInsecure in core/modules/simpletest/tests/file.test
- If the allow_insecure_uploads variable evaluates to true, the file should
come out untouched, no matter how evil the filename.
- FileNameMungingTest::testMungeUnsafe in core/modules/simpletest/tests/file.test
- Tests unsafe extensions are munged by file_munge_filename().
- FileNameMungingTest::testMunging in core/modules/simpletest/tests/file.test
- Create a file and munge/unmunge the name.
- FileNameMungingTest::testUnMunge in core/modules/simpletest/tests/file.test
- Ensure that unmunge gets your name back.
- FileSaveUploadTest::testHandleExtension in core/modules/simpletest/tests/file.test
- Test extension handling.
- FileTestCase::assertDifferentFile in core/modules/simpletest/tests/file.test
- Check that two files are not the same by comparing the fid and filepath.
- FileTestCase::assertDirectoryPermissions in core/modules/simpletest/tests/file.test
- Helper function to test the permissions of a directory.
- FileTestCase::assertFilePermissions in core/modules/simpletest/tests/file.test
- Helper function to test the permissions of a file.
- FileTestCase::assertFileUnchanged in core/modules/simpletest/tests/file.test
- Check that two files have the same values for all fields other than the
timestamp.
- FileTestCase::assertSameFile in core/modules/simpletest/tests/file.test
- Check that two files are the same by comparing the fid and filepath.
- FileTestHelper::assertFileEntryExists in core/modules/file/tests/file.test
- Asserts that a file exists in the database.
- FileTestHelper::assertFileEntryNotExists in core/modules/file/tests/file.test
- Asserts that a file does not exist in the database.
- 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::assertFileNotExists in core/modules/file/tests/file.test
- Asserts that a file does not exist on disk.
- FileTokenReplaceTestCase::testFileTokenReplacement in core/modules/file/tests/file.test
- Creates a file, then tests the tokens generated from it.
- FileViewsTestCase::testFileViewsIcon in core/modules/file/tests/file_views.test
- Tests the File "Icon" field capability within Views.
- FilterCRUDTestCase::verifyFilters in core/modules/filter/tests/filter.test
- Verifies that filters are properly stored for a text format.
- FilterCRUDTestCase::verifyTextFormat in core/modules/filter/tests/filter.test
- Verifies that a text format is properly stored.
- FilterEditorLinkValidateTestCase::testEditorLinkValidate in core/modules/filter/tests/filter_dialog.test
- Check function _filter_format_editor_link_url_validate().
- FilterSettingsTestCase::testFilterDefaults in core/modules/filter/tests/filter.test
- Tests explicit and implicit default settings for filters.
- FilterUnitTestCase::assertFilteredString in core/modules/filter/tests/filter.test
- Asserts multiple filter output expectations for multiple input strings.
- FilterUnitTestCase::testHtmlCorrectorFilter in core/modules/filter/tests/filter.test
- Tests the HTML corrector filter.
- FormAlterTestCase::testExecutionOrder in core/modules/simpletest/tests/form.test
- Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
- FormCheckboxTestCase::testFormCheckbox in core/modules/simpletest/tests/form.test
- FormElementTestCase::testOptionIndentations in core/modules/simpletest/tests/form.test
- Test indentations for checkboxes, radios and select options.
- 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.
- FormResizableTextareaTestCase::testResizableTextarea in core/modules/simpletest/tests/form.test
- Test that setting #resizable on form item results in correct CSS classes.
- FormsElementsTableSelectFunctionalTest::testMultipleFalse in core/modules/simpletest/tests/form.test
- Test the display of radios when #multiple is FALSE.
- FormsElementsTableSelectFunctionalTest::testMultipleTrue in core/modules/simpletest/tests/form.test
- Test the display of checkboxes when #multiple is TRUE.
- 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.
- FormStateValuesCleanTestCase::testFormStateValuesClean in core/modules/simpletest/tests/form.test
- Tests form_state_values_clean().
- FormsTestCase::assertFormValuesDefault in core/modules/simpletest/tests/form.test
- Assert that the values submitted to a form matches the default values of the elements.
- FormsTestCase::testCheckboxProcessing in core/modules/simpletest/tests/form.test
- Test default value handling for checkboxes.
- FormsTestCase::testDisabledMarkup in core/modules/simpletest/tests/form.test
- Verify markup for disabled form elements.
- FormsTestCase::testNumber in core/modules/simpletest/tests/form.test
- Tests validation of #type 'number' elements.
- FormsTestCase::testRequiredCheckboxesRadio in core/modules/simpletest/tests/form.test
- Tests validation for required checkbox, select, and radio elements.
- FormsTestCase::testSelect in core/modules/simpletest/tests/form.test
- Tests validation of #type 'select' elements.
- GraphUnitTest::assertComponents in core/modules/simpletest/tests/graph.test
- Verify expected components in a graph.
- GraphUnitTest::assertPaths in core/modules/simpletest/tests/graph.test
- Verify expected paths in a graph.
- GraphUnitTest::assertReversePaths in core/modules/simpletest/tests/graph.test
- Verify expected reverse paths in a graph.
- GraphUnitTest::assertWeights in core/modules/simpletest/tests/graph.test
- Verify expected order in a graph.
- 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.
- ImageAdminStylesUnitTest::testStyleReplacement in core/modules/image/tests/image.test
- Test deleting a style and choosing a replacement style.
- ImageDimensionsScaleTestCase::testImageDimensionsScale in core/modules/image/tests/image.test
- Tests all control flow branches in image_dimensions_scale().
- ImageExampleTestCase::testImageExample in modules/examples/image_example/tests/image_example.test
- Test implementations of image API hooks.
- ImageFieldDefaultImagesTestCase::testDefaultImages in core/modules/image/tests/image.test
- Tests CRUD for fields and fields instances with default images.
- ImageStyleFlushTest::testFlush in core/modules/image/tests/image.test
- General test to flush a style.
- 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.
- InfoFileCoreTest::testProjectInfoFileContents in core/modules/system/tests/system.test
- Tests that the .info files of all core projects specify a project type.
- installer_browser_installation_select_versions_form in core/modules/installer/installer.pages.inc
- Form builder for the select versions form.
- LayoutDeletionTest::testLayoutDeletion in core/modules/layout/tests/layout.test
- Tests that layouts that have special roles issue warning messages upon
attempted deletion.
- LayoutFlexibleTemplateTest::testLayoutFlexibleTemplates in core/modules/layout/tests/layout.test
- Test that layout templates may be enabled and disabled.
- LayoutInterfaceTest::assertBlocksMatch in core/modules/layout/tests/layout.test
- Check that all the blocks in $layout match those in $copied_from_layout.
- LayoutInterfaceTest::testBlockBasics in core/modules/layout/tests/layout.test
- Add and remove blocks from a custom layout path.
- LayoutInterfaceTest::testContexts in core/modules/layout/tests/layout.test
- Test the support for contexts within conditions and blocks.
- LayoutInterfaceTest::testRelationships in core/modules/layout/tests/layout.test
- Test the support for contexts within conditions and blocks.
- LayoutSelectionTest::assertIsAdminLayout in core/modules/layout/tests/layout.test
- LayoutSelectionTest::assertIsDefaultLayout in core/modules/layout/tests/layout.test
- LayoutUpgradePathTest::assertBlocks in core/modules/layout/tests/layout.test
- layout_test_block_view in core/modules/layout/tests/layout_test/layout_test.module
- Implements hook_block_view().
- ListFieldDisplayTestCase::testListDisplayFormatterBoolean in core/modules/field/modules/list/tests/list.test
- List (boolean) : test 'On/Off' values input.
- LocaleBrowserDetectionTest::testLanguageFromBrowser in core/modules/locale/tests/locale.test
- Unit tests for the locale_language_from_browser() function.
- LocaleCommentLanguageFunctionalTest::testCommentLanguage in core/modules/locale/tests/locale.test
- Test that comment language is properly set.
- 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.
- LocaleTranslationFunctionalTest::testJavaScriptTranslation in core/modules/locale/tests/locale.test
- LocaleUILanguageNegotiationTest::testLanguageDomain in core/modules/locale/tests/locale.test
- Tests url() when separate domains are used for multiple languages.
- LocaleUninstallFunctionalTest::testUninstallProcess in core/modules/locale/tests/locale.test
- Check if the values of the Locale variables are correct after uninstall.
- MenuExampleTestCase::testMenuExample in modules/examples/menu_example/tests/menu_example.test
- Test the various menus.
- 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.
- MenuLinksUnitTestCase::assertMenuLinkParents in core/modules/simpletest/tests/menu.test
- Assert that at set of links is properly parented.
- MenuRouterTestCase::testMenuHidden in core/modules/simpletest/tests/menu.test
- Tests menu link depth and parents of local tasks and menu callbacks.
- MenuRouterTestCase::testMenuLoadArgumentsInheritance in core/modules/simpletest/tests/menu.test
- Tests inheritance of 'load arguments'.
- MenuTestCase::assertMenuLink in core/modules/menu/tests/menu.test
- Fetch the menu item from the database and compare it to the specified
array.
- MenuTrailTestCase::testCustom403And404Pages in core/modules/simpletest/tests/menu.test
- Tests that the active trail works correctly on custom 403 and 404 pages.
- MenuWebTestCase::assertBreadcrumb in core/modules/simpletest/tests/menu.test
- Assert that a given path shows certain breadcrumb links.
- ModuleTestCase::assertModules in core/modules/system/tests/system.test
- Assert the list of modules are enabled or disabled.
- ModuleTestCase::assertModuleTablesDoNotExist in core/modules/system/tests/system.test
- Assert that none of the tables defined in a module's hook_schema() exist.
- 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.
- ModuleUnitTest::assertModuleList in core/modules/simpletest/tests/module.test
- Assert that module_list() return the expected values.
- ModuleUnitTest::testDependencyResolution in core/modules/simpletest/tests/module.test
- Test dependency resolution.
- 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.
- NodeAccessUnitTest::assertNodeAccess in core/modules/node/tests/node.test
- Asserts node_access() correctly grants or denies access.
- NodeLoadMultipleUnitTest::testNodeMultipleLoad in core/modules/node/tests/node.test
- Creates four nodes and ensures that they are loaded correctly.
- NodeTokenReplaceTestCase::testNodeTokenReplacement in core/modules/node/tests/node.test
- Creates a node, then tests the tokens generated from it.
- NodeTypeTestCase::testNodeTypeStatus in core/modules/node/tests/node.test
- Tests that node types correctly handle the 'disabled' flag.
- NumberFieldSettingsTestCase::testNumberDecimalFieldSettings in core/modules/field/modules/number/tests/number_settings.test
- Test number_decimal field settings.
- NumberFieldSettingsTestCase::testNumberIntegerFieldSettings in core/modules/field/modules/number/tests/number_settings.test
- Test number_integer field settings.
- NumberFieldTestCase::testNumberDecimalFieldStepValidation in core/modules/field/modules/number/tests/number.test
- Test number_decimal field step validation.
- PathPatternFunctionalTestCase::testConfigurationUserInterfaces in core/modules/path/tests/path_pattern.test
- PathPatternFunctionalTestCase::testNodeOperations in core/modules/path/tests/path_pattern.test
- Test node operations.
- PathPatternFunctionalTestCase::testUserOperations in core/modules/path/tests/path_pattern.test
- Test user operations.
- PathPatternTestHelper::assertAlias in core/modules/path/tests/path_pattern.test
- PathPatternTestHelper::assertAliasExists in core/modules/path/tests/path_pattern.test
- PathPatternTestHelper::assertNoAliasExists in core/modules/path/tests/path_pattern.test
- PathPatternTestHelper::assertToken in core/modules/path/tests/path_pattern.test
- PathPatternTokenTestCase::assertTokens in core/modules/path/tests/path_pattern.test
- Function copied from TokenTestHelper::assertTokens().
- PathPatternUnitTestCase::testCleanAlias in core/modules/path/tests/path_pattern.test
- Test path_clean_alias().
- PathPatternUnitTestCase::testCleanString in core/modules/path/tests/path_pattern.test
- Test path_clean_string().
- PathPatternUnitTestCase::testPatternLoadByEntity in core/modules/path/tests/path_pattern.test
- Test path_get_pattern_by_entity_type().
- 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.
- SchemaTestCase::assertFieldAdditionRemoval in core/modules/simpletest/tests/schema.test
- Assert that a given field can be added and removed from a table.
- SchemaTestCase::testUnsignedColumns in core/modules/simpletest/tests/schema.test
- Tests creating unsigned columns and data integrity thereof.
- SearchConfigSettingsForm::testSearchModuleDisabling in core/modules/search/tests/search.test
- Verify that you can disable individual search modules.
- SearchNumberMatchingTestCase::testNumberSearching in core/modules/search/tests/search.test
- Tests that all the numbers can be searched.
- SearchNumbersTestCase::testNumberSearching in core/modules/search/tests/search.test
- Tests that all the numbers can be searched.
- SessionTestCase::testSessionSaveRegenerate in core/modules/simpletest/tests/session.test
- Tests for backdrop_save_session() and backdrop_session_regenerate().
- ShutdownFunctionsTest::testShutdownFunctions in core/modules/system/tests/system.test
- Test shutdown functions.
- SimpleTestFunctionalTest::assertAssertion in core/modules/simpletest/tests/simpletest.test
- Assert that an assertion with the specified values is displayed
in the test results.
- SimpleTestMailCaptureTestCase::testMailSend in core/modules/simpletest/tests/simpletest.test
- Test to see if the wrapper function is executed correctly.
- simpletest_test_get_all in core/modules/simpletest/simpletest.module
- Get a list of all of the tests provided by the system.
- SiteMaintenanceTestCase::testSiteMaintenance in core/modules/system/tests/system.test
- Verify site maintenance mode functionality.
- system_test_basic_auth_page in core/modules/simpletest/tests/system_test.module
- Check HTTP headers for authentication.
- system_test_sleep in core/modules/simpletest/tests/system_test.module
- Menu callback; Delay the return of a response, simulating a heavy page.
- t in core/includes/bootstrap.inc
- Translates a string to the current language or to a given language.
- TaxonomyEFQTestCase::testTaxonomyEFQ in core/modules/taxonomy/tests/taxonomy.test
- Tests that a basic taxonomy EntityFieldQuery works.
- TaxonomyLoadMultipleUnitTest::testTaxonomyTermMultipleLoad in core/modules/taxonomy/tests/taxonomy.test
- Create a vocabulary and some taxonomy terms, ensuring they're loaded
correctly using taxonomy_term_load_multiple().
- TaxonomyTermTestCase::testNodeTermCreationAndDeletion in core/modules/taxonomy/tests/taxonomy.test
- Test term creation with a free-tagging vocabulary from the node form.
- TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement in core/modules/taxonomy/tests/taxonomy.test
- Creates some terms and a node, then tests the tokens generated from them.
- TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadProp in core/modules/taxonomy/tests/taxonomy.test
- Test that adding properties via hook_taxonomy_vocabulary_load() works.
- TextSummaryTestCase::assertTextSummary in core/modules/field/modules/text/tests/text.test
- Calls text_summary() and asserts that the expected teaser is returned.
- TextTranslationTestCase::testTextFieldFormatted in core/modules/field/modules/text/tests/text.test
- Check that user that does not have access the field format cannot see the
source value when creating a translation.
- TokenReplaceTestCase::testSystemDateTokenReplacement in core/modules/simpletest/tests/token.test
- Tests the generation of all system date tokens.
- TokenReplaceTestCase::testSystemSiteTokenReplacement in core/modules/simpletest/tests/token.test
- Tests the generation of all system site information tokens.
- TokenReplaceTestCase::testSystemTokenRecognition in core/modules/simpletest/tests/token.test
- Test whether token-replacement works in various contexts.
- TranslationTestCase::assertLanguageSwitchLinks in core/modules/translation/tests/translation.test
- Tests whether the specified language switch links are found.
- TranslationTestCase::testContentTranslation in core/modules/translation/tests/translation.test
- Creates, modifies, and updates a page with a translation.
- TransliterationTest::testMachineNameTransliteration in core/modules/simpletest/tests/transliteration.test
- Tests machine name transliteration provided by System module.
- TransliterationTest::testTransliteration in core/modules/simpletest/tests/transliteration.test
- Tests transliteration API.
- UnicodeUnitTest::helperTestStrLen in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestStrToLower in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestStrToUpper in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestSubStr in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestUcFirst in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::runTruncateTests in core/modules/simpletest/tests/unicode.test
- Runs test cases for helperTestTruncate().
- UnicodeUnitTest::testDecodeEntities in core/modules/simpletest/tests/unicode.test
- Test decode_entities().
- UrlAlterFunctionalTest::assertUrlInboundAlter in core/modules/simpletest/tests/path.test
- Assert that a inbound path is altered to an expected value.
- UrlAlterFunctionalTest::assertUrlOutboundAlter in core/modules/simpletest/tests/path.test
- Assert that an outbound path is altered to an expected value.
- UserEditRebuildTestCase::testUserEditFormRebuild in core/modules/user/tests/user.test
- Test user edit page when the form is set to rebuild.
- UserRegistrationTestCase::testRegistrationWithUserFields in core/modules/user/tests/user.test
- Tests Field API fields on user registration forms.
- UserTokenReplaceTestCase::testUserTokenReplacement in core/modules/user/tests/user.test
- Creates a user, then tests the tokens generated from it.
- ViewsHandlerFieldMath::testMathFloatRender in core/modules/views/tests/handlers/views_handler_field_math.test
- Test rendering of float values in "Global: Math expression" fields.
- ViewsPluginStyleMappingTest::mappedOutputHelper in core/modules/views/tests/styles/views_plugin_style_mapping.test
- Tests the mapping of fields.
- 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.
- _backdrop_bootstrap_configuration in core/includes/bootstrap.inc
- Sets up the script environment and loads settings.php.
- _backdrop_bootstrap_sanitize_request in core/includes/bootstrap.inc
- Sanitizes unsafe input from the PHP request super-globals.
- _deprecated_redirect_test_page in core/modules/system/tests/deprecated_redirect_test/deprecated_redirect_test.module
- _filter_formtest_href_element_validate in core/modules/filter/tests/filter_formtest.module
- Helper function to output potentially altered form values as message.
- _system_test_first_shutdown_function in core/modules/simpletest/tests/system_test.module
- Dummy shutdown function which registers another shutdown function.
- _system_test_second_shutdown_function in core/modules/simpletest/tests/system_test.module
- Dummy shutdown function.