You are here

288 calls to format_string() in Zircon Profile 8.0

AddFeedTest::testBasicFeedAddNoTitle in core/modules/system/src/Tests/Common/AddFeedTest.php
Tests attaching feeds with paths, URLs, and titles.
AggregatorAdminTest::testSettingsPage in core/modules/aggregator/src/Tests/AggregatorAdminTest.php
Tests the settings form to ensure the correct default values are used.
AggregatorRenderingTest::testBlockLinks in core/modules/aggregator/src/Tests/AggregatorRenderingTest.php
Adds a feed block to the page and checks its links.
AggregatorTestBase::createFeed in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Creates an aggregator feed.
AggregatorTestBase::updateFeedItems in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Updates the feed items.
AliasTest::testCRUD in core/modules/system/src/Tests/Path/AliasTest.php
AnalyzeTest::testAnalyzeBasic in core/modules/views_ui/src/Tests/AnalyzeTest.php
Tests that analyze works in general.
AreaEntityTest::testEntityAreaData in core/modules/views/src/Tests/Handler/AreaEntityTest.php
Tests views data for entity area handlers.
ArgumentDefaultTest::testArgumentDefaultNoOptions in core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
Tests the use of a default argument plugin that provides no options.
AssertBreadcrumbTrait::assertBreadcrumbParts in core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
Assert that a trail exists in the internal browser.
AssertContentTrait::assertThemeOutput in core/modules/simpletest/src/AssertContentTrait.php
Asserts themed output.
AssertMenuActiveTrailTrait::assertMenuActiveTrail in core/modules/system/src/Tests/Menu/AssertMenuActiveTrailTrait.php
Assert that active trail exists in a menu tree output.
BlockContentCreationTest::testBlockContentCreation in core/modules/block_content/src/Tests/BlockContentCreationTest.php
Creates a "Basic page" block and verifies its consistency in the database.
BlockContentCreationTest::testBlockContentCreationMultipleViewModes in core/modules/block_content/src/Tests/BlockContentCreationTest.php
Creates a "Basic page" block with multiple view modes.
BlockContentCreationTest::testDefaultBlockContentCreation in core/modules/block_content/src/Tests/BlockContentCreationTest.php
Create a default custom block.
BlockContentRevisionsTest::testRevisions in core/modules/block_content/src/Tests/BlockContentRevisionsTest.php
Checks block revision related operations.
BlockContentTypeTest::testBlockContentTypeEditing in core/modules/block_content/src/Tests/BlockContentTypeTest.php
Tests editing a block type using the UI.
BlockContentValidationTest::testValidation in core/modules/block_content/src/Tests/BlockContentValidationTest.php
Tests the block content validation constraints.
BlockTest::moveBlockToRegion in core/modules/block/src/Tests/BlockTest.php
Moves a block to a given region via the UI and confirms the result.
BookTest::checkBookNode in core/modules/book/src/Tests/BookTest.php
Checks the outline of sub-pages; previous, up, and next.
BookTest::testBookNavigationBlock in core/modules/book/src/Tests/BookTest.php
Tests the functionality of the book navigation block.
BulkFormTest::testBulkForm in core/modules/action/src/Tests/BulkFormTest.php
Tests the bulk form.
CheckboxTest::testFormCheckbox in core/modules/system/src/Tests/Form/CheckboxTest.php
ClearTest::testFlushAllCaches in core/modules/system/src/Tests/Cache/ClearTest.php
Tests drupal_flush_all_caches().
CommentFieldsTest::testCommentDefaultFields in core/modules/comment/src/Tests/CommentFieldsTest.php
Tests that the default 'comment_body' field is correctly added.
CommentLanguageTest::testCommentLanguage in core/modules/comment/src/Tests/CommentLanguageTest.php
Test that comment language is properly set.
CommentNonNodeTest::performCommentOperation in core/modules/comment/src/Tests/CommentNonNodeTest.php
Performs the specified operation on the specified comment.
CommentPagerTest::assertCommentOrder in core/modules/comment/src/Tests/CommentPagerTest.php
Asserts that the comments are displayed in the correct order.
CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/src/Tests/CommentPagerTest.php
Tests calculation of first page with new comment.
CommentTestBase::performCommentOperation in core/modules/comment/src/Tests/CommentTestBase.php
Performs the specified operation on the specified comment.
CommentTestBase::setCommentAnonymous in core/modules/comment/src/Tests/CommentTestBase.php
Sets the value governing restrictions on anonymous comments.
CommentTestBase::setCommentPreview in core/modules/comment/src/Tests/CommentTestBase.php
Sets the value governing the previewing mode for the comment form.
CommentTestBase::setCommentsPerPage in core/modules/comment/src/Tests/CommentTestBase.php
Sets the value specifying the default number of comments per page.
CommentThreadingTest::assertNoParentLink in core/modules/comment/src/Tests/CommentThreadingTest.php
Asserts that the specified comment does not have a link to a parent.
CommentThreadingTest::assertParentLink in core/modules/comment/src/Tests/CommentThreadingTest.php
Asserts that the link to the specified parent comment is present.
CommentTokenReplaceTest::testCommentTokenReplacement in core/modules/comment/src/Tests/CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
ConfigCRUDTest::testNameValidation in core/modules/config/src/Tests/ConfigCRUDTest.php
Tests the validation of configuration object names.
ConfigDiffTest::testDiff in core/modules/config/src/Tests/ConfigDiffTest.php
Tests calculating the difference between two sets of configuration.
ConfigEntityStorageTest::testUUIDConflict in core/modules/config/src/Tests/ConfigEntityStorageTest.php
Tests creating configuration entities with changed UUIDs.
ConfigEntityTest::testCRUDUI in core/modules/config/src/Tests/ConfigEntityTest.php
Tests CRUD operations through the UI.
ConfigImportUITest::testEntityBundleDelete in core/modules/config/src/Tests/ConfigImportUITest.php
Tests the config importer cannot delete bundles with existing entities.
ConfigImportUITest::testImportDiff in core/modules/config/src/Tests/ConfigImportUITest.php
Tests the screen that shows differences between active and sync.
ConfigTestForm::save in core/modules/config/tests/config_test/src/ConfigTestForm.php
Form submission handler for the 'save' action.
ConfigTranslationUiTest::getTranslation in core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
Gets translation from locale storage.
ConnectionTest::testPostgresqlReservedWords in core/modules/system/src/Tests/Database/ConnectionTest.php
Test the escapeTable(), escapeField() and escapeAlias() methods with all possible reserved words in PostgreSQL.
ConnectionUnitTest::assertConnection in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Asserts that a connection ID exists.
ConnectionUnitTest::assertNoConnection in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Asserts that a connection ID does not exist.
ContactSitewideTest::deleteContactForms in core/modules/contact/src/Tests/ContactSitewideTest.php
Deletes all forms.
ContactSitewideTest::testSiteWideContact in core/modules/contact/src/Tests/ContactSitewideTest.php
Tests configuration options and the site-wide contact form.
ContentEntityCloneTest::testFieldEntityReferenceAfterClone in core/modules/system/src/Tests/Entity/ContentEntityCloneTest.php
Tests if entity references on fields are still correct after cloning.
ContentTranslationSettingsTest::assertSettings in core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
Asserts that translatability has the expected value for the given bundle.
ContentTranslationSyncImageTest::testImageFieldSync in core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
Tests image field field synchronization.
ContentTranslationUITestBase::doTestBasicTranslation in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationChanged in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationOverview in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests that the translation overview shows the correct values.
ContentTranslationWorkflowsTest::testWorkflows in core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
Test simple and editorial translation workflows.
ContextualDynamicContextTest::assertContextualLinkPlaceHolder in core/modules/contextual/src/Tests/ContextualDynamicContextTest.php
Asserts that a contextual link placeholder with the given id exists.
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder in core/modules/contextual/src/Tests/ContextualDynamicContextTest.php
Asserts that a contextual link placeholder with the given id does not exist.
DateTimeFieldTest::testInvalidField in core/modules/datetime/src/Tests/DateTimeFieldTest.php
Test that invalid values are caught and marked as invalid.
DbLogTest::doNode in core/modules/dblog/src/Tests/DbLogTest.php
Generates and then verifies some node events.
DbLogTest::doUser in core/modules/dblog/src/Tests/DbLogTest.php
Generates and then verifies some user events.
DbLogTest::testDBLogAddAndClear in core/modules/dblog/src/Tests/DbLogTest.php
Tests the addition and clearing of log events through the admin interface.
DbLogTest::verifyCron in core/modules/dblog/src/Tests/DbLogTest.php
Verifies that cron correctly applies the database log row limit.
DbLogTest::verifyRowLimit in core/modules/dblog/src/Tests/DbLogTest.php
Verifies setting of the database log row limit.
DefaultViewRecentCommentsTest::testBlockDisplay in core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
Tests the block defined by the comments_recent view.
DefaultViewsTest::clickViewsOperationLink in core/modules/views_ui/src/Tests/DefaultViewsTest.php
Click a link to perform an operation on a view.
DefaultViewsTest::testDefaultViews in core/modules/views/src/Tests/DefaultViewsTest.php
Test that all Default views work as expected.
DirectoryTest::testFileCreateNewFilepath in core/modules/system/src/Tests/File/DirectoryTest.php
This will take a directory and path, and find a valid filepath that is not taken by another file.
DisplayApiTest::testFieldItemListView in core/modules/field/src/Tests/DisplayApiTest.php
Tests the FieldItemListInterface::view() method.
DisplayApiTest::testFieldItemView in core/modules/field/src/Tests/DisplayApiTest.php
Tests the FieldItemInterface::view() method.
DisplayAttachmentTest::testAttachmentUI in core/modules/views_ui/src/Tests/DisplayAttachmentTest.php
Tests the attachment UI.
DisplayBlockTest::testBlockContextualLinks in core/modules/block/src/Tests/Views/DisplayBlockTest.php
Tests the contextual links on a Views block.
DisplayTest::testPageContextualLinks in core/modules/views_ui/src/Tests/DisplayTest.php
Tests contextual links on Views page displays.
EditorSecurityTest::testInitialSecurity in core/modules/editor/src/Tests/EditorSecurityTest.php
Tests initial security: is the user safe without switching text formats?
EditorSecurityTest::testSwitchingSecurity in core/modules/editor/src/Tests/EditorSecurityTest.php
Tests administrator security: is the user safe when switching text formats?
EfqTest::testTaxonomyEfq in core/modules/taxonomy/src/Tests/EfqTest.php
Tests that a basic taxonomy entity query works.
ElementsTableSelectTest::testMultipleFalse in core/modules/system/src/Tests/Form/ElementsTableSelectTest.php
Test the display of radios when #multiple is FALSE.
ElementsTableSelectTest::testMultipleTrue in core/modules/system/src/Tests/Form/ElementsTableSelectTest.php
Test the display of checkboxes when #multiple is TRUE.
ElementsTableSelectTest::testTableselectColSpan in core/modules/system/src/Tests/Form/ElementsTableSelectTest.php
Tests the display when #colspan is set.
ElementTest::testOptions in core/modules/system/src/Tests/Form/ElementTest.php
Tests expansion of #options for #type checkboxes and radios.
ElementTest::testPlaceHolderText in core/modules/system/src/Tests/Form/ElementTest.php
Tests placeholder text for elements that support placeholders.
ElementTest::testWrapperIds in core/modules/system/src/Tests/Form/ElementTest.php
Tests wrapper ids for checkboxes and radios.
EntityAccessControlHandlerTest::assertEntityAccess in core/modules/system/src/Tests/Entity/EntityAccessControlHandlerTest.php
Asserts entity access correctly grants or denies access.
EntityApiTest::assertCRUD in core/modules/system/src/Tests/Entity/EntityApiTest.php
Executes a test set for a defined entity type and user.
EntityFieldTest::doTestComputedProperties in core/modules/system/src/Tests/Entity/EntityFieldTest.php
Executes the computed properties tests for the given entity type.
EntityFieldTest::doTestDataStructureInterfaces in core/modules/system/src/Tests/Entity/EntityFieldTest.php
Executes the data structure interfaces tests for the given entity type.
EntityFieldTest::doTestIterator in core/modules/system/src/Tests/Entity/EntityFieldTest.php
Executes the iterator tests for the given entity type.
EntityFieldTest::doTestReadWrite in core/modules/system/src/Tests/Entity/EntityFieldTest.php
Executes the read write test set for a defined entity type.
EntityFieldTest::doTestSave in core/modules/system/src/Tests/Entity/EntityFieldTest.php
Executes the save tests for the given entity type.
EntityFormTest::doTestFormCRUD in core/modules/system/src/Tests/Entity/EntityFormTest.php
Executes the form CRUD tests for the given entity type.
EntityFormTest::doTestMultilingualFormCRUD in core/modules/system/src/Tests/Entity/EntityFormTest.php
Executes the multilingual form CRUD tests for the given entity type ID.
EntityOperationsTest::testEntityOperationAlter in core/modules/system/src/Tests/Entity/EntityOperationsTest.php
Checks that hook_entity_operation_alter() can add an operation.
EntityReferenceFormatterTest::testAccess in core/modules/field/src/Tests/EntityReference/EntityReferenceFormatterTest.php
Assert inaccessible items don't change the data of the fields.
EntityReferenceFormatterTest::testEntityFormatter in core/modules/field/src/Tests/EntityReference/EntityReferenceFormatterTest.php
Tests the entity formatter.
EntityReferenceIntegrationTest::assertFieldValues in core/modules/field/src/Tests/EntityReference/EntityReferenceIntegrationTest.php
Asserts that the reference field values are correct.
EntityReferenceSelectionAccessTest::assertReferenceable in core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
Checks that a selection plugin returns the expected results.
EntityRevisionsTest::runRevisionsTests in core/modules/system/src/Tests/Entity/EntityRevisionsTest.php
Executes the revision tests for the given entity type.
EntityTranslationTest::doTestEntityLanguageMethods in core/modules/system/src/Tests/Entity/EntityTranslationTest.php
Executes the entity language method tests for the given entity type.
EntityTranslationTest::doTestEntityTranslationAPI in core/modules/system/src/Tests/Entity/EntityTranslationTest.php
Executes the Entity Translation API tests for the given entity type.
EntityTranslationTest::doTestMultilingualProperties in core/modules/system/src/Tests/Entity/EntityTranslationTest.php
Executes the multilingual property tests for the given entity type.
EntityTranslationTest::testFieldDefinitions in core/modules/system/src/Tests/Entity/EntityTranslationTest.php
Check that field translatability is handled properly.
EntityTranslationTest::testFieldEntityReference in core/modules/system/src/Tests/Entity/EntityTranslationTest.php
Tests if entity references are correct after adding a new translation.
entity_test_entity_operation_alter in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_operation_alter().
ErrorHandlerTest::assertErrorMessage in core/modules/system/src/Tests/System/ErrorHandlerTest.php
Helper function: assert that the error message is found.
ErrorHandlerTest::assertNoErrorMessage in core/modules/system/src/Tests/System/ErrorHandlerTest.php
Helper function: assert that the error message is not found.
ErrorHandlerTest::testExceptionHandler in core/modules/system/src/Tests/System/ErrorHandlerTest.php
Test the exception handler.
FeedParserTest::testAtomSample in core/modules/aggregator/src/Tests/FeedParserTest.php
Tests a feed that uses the Atom format.
FeedParserTest::testHtmlEntitiesSample in core/modules/aggregator/src/Tests/FeedParserTest.php
Tests a feed that uses HTML entities in item titles.
FeedParserTest::testRSS091Sample in core/modules/aggregator/src/Tests/FeedParserTest.php
Tests a feed that uses the RSS 0.91 format.
FieldAttachStorageTest::testFieldAttachLoadMultiple in core/modules/field/src/Tests/FieldAttachStorageTest.php
Test the 'multiple' load feature.
FieldAttachStorageTest::testFieldAttachSaveLoad in core/modules/field/src/Tests/FieldAttachStorageTest.php
Check field values insert, update and load.
FieldCounterTest::testSimple in core/modules/views/src/Tests/Handler/FieldCounterTest.php
FieldDataCountTest::testEntityCountAndHasData in core/modules/field/src/Tests/FieldDataCountTest.php
Tests entityCount() and hadData() methods.
FieldKernelTest::testFieldTokens in core/modules/views/src/Tests/Handler/FieldKernelTest.php
Tests the field tokens, row level and field level.
FieldTestBase::assertFieldValues in core/modules/field/src/Tests/FieldTestBase.php
Assert that a field has the expected values in an entity.
FieldTypePluginManagerTest::testDefaultSettings in core/modules/field/src/Tests/FieldTypePluginManagerTest.php
Tests the default settings convenience methods.
FieldUnitTestBase::assertFieldValues in core/modules/field/src/Tests/FieldUnitTestBase.php
Assert that a field has the expected values in an entity.
FieldWebTest::testTextRendering in core/modules/views/src/Tests/Handler/FieldWebTest.php
Tests trimming/read-more/ellipses.
FileFieldDisplayTest::testNodeDisplay in core/modules/file/src/Tests/FileFieldDisplayTest.php
Tests normal formatter display on node display.
FileFieldPathTest::testUploadPath in core/modules/file/src/Tests/FileFieldPathTest.php
Tests the normal formatter display on node display.
FileFieldTestBase::assertFileEntryExists in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file exists in the database.
FileFieldTestBase::assertFileEntryNotExists in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file does not exist in the database.
FileFieldTestBase::assertFileExists in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file exists physically on disk.
FileFieldTestBase::assertFileIsPermanent in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file's status is set to permanent in the database.
FileFieldTestBase::assertFileNotExists in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file does not exist on disk.
FileFieldValidateTest::testFileMaxSize in core/modules/file/src/Tests/FileFieldValidateTest.php
Tests the max file size validator.
FileFieldValidateTest::testRequired in core/modules/file/src/Tests/FileFieldValidateTest.php
Tests the required property on file fields.
FileFieldWidgetTest::testMultiValuedWidget in core/modules/file/src/Tests/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileManagedTestBase::assertFileHookCalled in core/modules/file/src/Tests/FileManagedTestBase.php
Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHooksCalled in core/modules/file/src/Tests/FileManagedTestBase.php
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileManagedUnitTestBase::assertFileHookCalled in core/modules/file/src/Tests/FileManagedUnitTestBase.php
Assert that a hook_file_* hook was called a certain number of times.
FileManagedUnitTestBase::assertFileHooksCalled in core/modules/file/src/Tests/FileManagedUnitTestBase.php
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/src/Tests/FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
FilterAdminTest::testFormatAdmin in core/modules/filter/src/Tests/FilterAdminTest.php
Tests the format administration functionality.
FilterAPITest::assertFilterFormatViolation in core/modules/filter/src/Tests/FilterAPITest.php
Checks if an expected violation exists in the given violations.
FilterCrudTest::verifyTextFormat in core/modules/filter/src/Tests/FilterCrudTest.php
Verifies that a text format is properly stored.
FilterHtmlImageSecureTest::testImageSource in core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
Tests removal of images having a non-local source.
FilterSettingsTest::testFilterDefaults in core/modules/filter/src/Tests/FilterSettingsTest.php
Tests explicit and implicit default settings for filters.
FilterTest::testFilterQuery in core/modules/views/src/Tests/Plugin/FilterTest.php
Test query of the row plugin.
FilterTestPlaceholders::renderDynamicThing in core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php
#lazy_builder callback; builds a render array containing the dynamic thing.
FilterUnitTest::assertFilteredString in core/modules/filter/src/Tests/FilterUnitTest.php
Asserts multiple filter output expectations for multiple input strings.
FilterUnitTest::testHtmlCorrectorFilter in core/modules/filter/src/Tests/FilterUnitTest.php
Tests the HTML corrector filter.
FormTest::assertFormValuesDefault in core/modules/system/src/Tests/Form/FormTest.php
Assert that the values submitted to a form matches the default values of the elements.
FormTest::testCheckboxProcessing in core/modules/system/src/Tests/Form/FormTest.php
Test default value handling for checkboxes.
FormTest::testDisabledMarkup in core/modules/system/src/Tests/Form/FormTest.php
Verify markup for disabled form elements.
FormTest::testNumber in core/modules/system/src/Tests/Form/FormTest.php
Tests validation of #type 'number' and 'range' elements.
FormTest::testRequiredAttribute in core/modules/system/src/Tests/Form/FormTest.php
Tests required attribute.
FormTest::testRequiredCheckboxesRadio in core/modules/system/src/Tests/Form/FormTest.php
Tests validation for required checkbox, select, and radio elements.
FormTest::testSelect in core/modules/system/src/Tests/Form/FormTest.php
Tests validation of #type 'select' elements.
ForumBlockTest::testActiveForumTopicsBlock in core/modules/forum/src/Tests/ForumBlockTest.php
Tests the "Active forum topics" block.
ForumBlockTest::testNewForumTopicsBlock in core/modules/forum/src/Tests/ForumBlockTest.php
Tests the "New forum topics" block.
ForumTest::createForum in core/modules/forum/src/Tests/ForumTest.php
Creates a forum container or a forum.
ForumTest::createForumTopic in core/modules/forum/src/Tests/ForumTest.php
Creates a forum topic.
FrameworkTest::testLazyLoad in core/modules/system/src/Tests/Ajax/FrameworkTest.php
Tests that new JavaScript and CSS files are lazy-loaded on an AJAX request.
FrontPageTest::testFrontPage in core/modules/node/src/Tests/Views/FrontPageTest.php
Tests the frontpage.
HandlerAllTest::testHandlers in core/modules/views/src/Tests/Handler/HandlerAllTest.php
Tests most of the handlers.
HelpTest::testHelp in core/modules/help/src/Tests/HelpTest.php
Logs in users, creates dblog events, and tests dblog functionality.
HelpTest::verifyHelp in core/modules/help/src/Tests/HelpTest.php
Verifies the logged in user has access to the various help nodes.
ImageAdminStylesTest::testConfigImport in core/modules/image/src/Tests/ImageAdminStylesTest.php
Tests image style configuration import that does a delete.
ImageAdminStylesTest::testNumericStyleName in core/modules/image/src/Tests/ImageAdminStylesTest.php
Test creating an image style with a numeric name and ensuring it can be applied to an image.
ImageAdminStylesTest::testStyle in core/modules/image/src/Tests/ImageAdminStylesTest.php
General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesTest::testStyleReplacement in core/modules/image/src/Tests/ImageAdminStylesTest.php
Test deleting a style and choosing a replacement style.
ImageFieldDefaultImagesTest::testDefaultImages in core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php
Tests CRUD for fields and fields fields with default images.
ImageFieldDisplayTest::testImageFieldSettings in core/modules/image/src/Tests/ImageFieldDisplayTest.php
Tests for image field settings.
ImageStyleFlushTest::testFlush in core/modules/image/src/Tests/ImageStyleFlushTest.php
General test to flush a style.
InsertLobTest::testInsertOneBlob in core/modules/system/src/Tests/Database/InsertLobTest.php
Tests that we can insert a single blob field successfully.
InstallerLanguageTest::testInstallerTranslationFiles in core/modules/system/src/Tests/Installer/InstallerLanguageTest.php
Tests that the installer can find translation files.
InstallTest::testModuleNameLength in core/modules/system/src/Tests/Module/InstallTest.php
Tests that an exception is thrown when a module name is too long.
KernelTestBase::disableModules in core/modules/simpletest/src/KernelTestBase.php
Disables modules for this test.
KernelTestBase::enableModules in core/modules/simpletest/src/KernelTestBase.php
Enables modules for this test.
KernelTestBase::installConfig in core/modules/simpletest/src/KernelTestBase.php
Installs default configuration for a given list of modules.
KernelTestBase::installSchema in core/modules/simpletest/src/KernelTestBase.php
Installs a specific table from a module schema definition.
LanguageConfigurationTest::checkConfigurableLanguageWeight in core/modules/language/src/Tests/LanguageConfigurationTest.php
Validates system languages are ordered after configurable languages.
LanguageDependencyInjectionTest::testDependencyInjectedNewLanguage in core/modules/language/src/Tests/LanguageDependencyInjectionTest.php
Test dependency injected languages against a new Language object.
LanguageNegotiationInfoTest::checkFixedLanguageTypes in core/modules/language/src/Tests/LanguageNegotiationInfoTest.php
Check that language negotiation for fixed types matches the stored one.
LanguageNegotiationInfoTest::testInfoAlterations in core/modules/language/src/Tests/LanguageNegotiationInfoTest.php
Tests alterations to language types/negotiation info.
LanguageSelectElementTest::testHiddenLanguageSelectElement in core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
Tests the case when the language select elements should not be printed.
LanguageSelectElementTest::testLanguageSelectElementOptions in core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
Tests that the options printed by the language select element are correct.
LanguageSelectElementTest::_testLanguageSelectElementOptions in core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
Helper function to check the options of a language select form element.
LanguageUILanguageNegotiationTest::testLanguageDomain in core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
Tests URL handling when separate domains are used for multiple languages.
LoadMultipleTest::testTaxonomyTermMultipleLoad in core/modules/taxonomy/src/Tests/LoadMultipleTest.php
Create a vocabulary and some taxonomy terms, ensuring they're loaded correctly using entity_load_multiple().
LocaleImportFunctionalTest::testConfigPoFile in core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
Tests .po file import with configuration translation.
LocaleStringTest::testStringCRUDAPI in core/modules/locale/src/Tests/LocaleStringTest.php
Test CRUD API.
LocaleUpdateBase::assertTranslation in core/modules/locale/src/Tests/LocaleUpdateBase.php
Checks the translation of a string.
LocaleUpdateTest::testUpdateProjects in core/modules/locale/src/Tests/LocaleUpdateTest.php
Checks if a list of translatable projects gets build.
LocalTasksTest::assertLocalTasks in core/modules/system/src/Tests/Menu/LocalTasksTest.php
Asserts local tasks in the page output.
MailCaptureTest::testMailSend in core/modules/simpletest/src/Tests/MailCaptureTest.php
Test to see if the wrapper function is executed correctly.
ManageFieldsTest::manageFieldsPage in core/modules/field_ui/src/Tests/ManageFieldsTest.php
Tests the manage fields page.
ManageFieldsTest::testFieldPrefix in core/modules/field_ui/src/Tests/ManageFieldsTest.php
Tests that the 'field_prefix' setting works on Field UI.
ManageFieldsTest::testHiddenFields in core/modules/field_ui/src/Tests/ManageFieldsTest.php
Tests that Field UI respects the 'no_ui' flag in the field type definition.
MenuTest::testBlockContextualLinks in core/modules/menu_ui/src/Tests/MenuTest.php
Tests the contextual links on a menu block.
MimeTypeTest::testFileMimeTypeDetection in core/modules/system/src/Tests/File/MimeTypeTest.php
Test mapping of mimetypes from filenames.
ModuleHandlerTest::assertModuleList in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
Assert that the extension handler returns the expected values.
ModuleTest::testViewsGetHandler in core/modules/views/src/Tests/ModuleTest.php
Tests the views_get_handler method.
ModuleTestBase::assertLogMessage in core/modules/system/src/Tests/Module/ModuleTestBase.php
Verify a log entry was entered for a module's status change.
ModuleTestBase::assertModuleConfig in core/modules/system/src/Tests/Module/ModuleTestBase.php
Asserts that the default configuration of a module has been installed.
ModuleTestBase::assertModules in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert the list of modules are enabled or disabled.
ModuleTestBase::assertModuleTablesDoNotExist in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert that none of the tables defined in a module's hook_schema() exist.
ModuleTestBase::assertModuleTablesExist in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert that all tables defined in a module's hook_schema() exist.
ModuleTestBase::assertNoModuleConfig in core/modules/system/src/Tests/Module/ModuleTestBase.php
Asserts that no configuration exists for a given module.
ModuleTestBase::assertTableCount in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert there are tables that begin with the specified base table name.
MoveTest::testNormal in core/modules/file/src/Tests/MoveTest.php
Move a normal file.
NameMungingTest::testMungeIgnoreInsecure in core/modules/system/src/Tests/File/NameMungingTest.php
If the system.file.allow_insecure_uploads setting evaluates to true, the file should come out untouched, no matter how evil the filename.
NameMungingTest::testMungeIgnoreWhitelisted in core/modules/system/src/Tests/File/NameMungingTest.php
White listed extensions are ignored by file_munge_filename().
NameMungingTest::testMunging in core/modules/system/src/Tests/File/NameMungingTest.php
Create a file and munge/unmunge the name.
NameMungingTest::testUnMunge in core/modules/system/src/Tests/File/NameMungingTest.php
Ensure that unmunge gets your name back.
NodeAccessRecordsTest::testNodeAccessRecords in core/modules/node/src/Tests/NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
NodeLoadMultipleTest::testNodeMultipleLoad in core/modules/node/src/Tests/NodeLoadMultipleTest.php
Creates four nodes and ensures that they are loaded correctly.
NodeTestBase::nodeAccessAssertMessage in core/modules/node/src/Tests/NodeTestBase.php
Constructs an assert message to display which node access was tested.
NodeTokenReplaceTest::testNodeTokenReplacement in core/modules/node/src/Tests/NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
NodeTranslationUITest::doTestAlternateHreflangLinks in core/modules/node/src/Tests/NodeTranslationUITest.php
Tests that the given path provides the correct alternate hreflang links.
NodeTranslationUITest::doTestTranslations in core/modules/node/src/Tests/NodeTranslationUITest.php
Tests that the given path displays the correct translation values.
OptionsFieldUITest::testNodeDisplay in core/modules/options/src/Tests/OptionsFieldUITest.php
Tests normal and key formatter display on node display.
PageEditTest::testPageEdit in core/modules/block_content/src/Tests/PageEditTest.php
Checks block edit functionality.
PluginInstanceTest::testPluginData in core/modules/views/src/Tests/PluginInstanceTest.php
Confirms that there is plugin data for all views plugin types.
PluginInstanceTest::testPluginInstances in core/modules/views/src/Tests/PluginInstanceTest.php
Tests creating instances of every views plugin.
ProgrammaticTest::submitForm in core/modules/system/src/Tests/Form/ProgrammaticTest.php
Helper function used to programmatically submit the form defined in form_test.module with the given values.
QueryGroupByTest::groupByTestHelper in core/modules/views/src/Tests/QueryGroupByTest.php
Provides a test helper which runs a view with some aggregation function.
RenderWebTest::assertRenderedElement in core/modules/system/src/Tests/Common/RenderWebTest.php
Tests that elements are rendered properly.
RequiredTest::testDisableRequired in core/modules/system/src/Tests/Module/RequiredTest.php
Assert that core required modules cannot be disabled.
SchemaTest::assertFieldAdditionRemoval in core/modules/system/src/Tests/Database/SchemaTest.php
Asserts that a given field can be added and removed from a table.
SchemaTest::assertFieldChange in core/modules/system/src/Tests/Database/SchemaTest.php
Asserts that a field can be changed from one spec to another.
SchemaTest::testUnsignedColumns in core/modules/system/src/Tests/Database/SchemaTest.php
Tests creating unsigned columns and data integrity thereof.
SearchConfigSettingsFormTest::testSearchModuleDisabling in core/modules/search/src/Tests/SearchConfigSettingsFormTest.php
Verifies that you can disable individual search plugins.
SearchNumberMatchingTest::testNumberSearching in core/modules/search/src/Tests/SearchNumberMatchingTest.php
Tests that all the numbers can be searched.
SearchNumbersTest::testNumberSearching in core/modules/search/src/Tests/SearchNumbersTest.php
Tests that all the numbers can be searched.
SearchTestBase::submitGetForm in core/modules/search/src/Tests/SearchTestBase.php
Simulates submission of a form using GET instead of POST.
SelectComplexTest::testGroupBy in core/modules/system/src/Tests/Database/SelectComplexTest.php
Tests GROUP BY clauses.
SelectComplexTest::testGroupByAndHaving in core/modules/system/src/Tests/Database/SelectComplexTest.php
Tests GROUP BY and HAVING clauses together.
SelectPagerDefaultTest::testEvenPagerQuery in core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectPagerDefaultTest::testOddPagerQuery in core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectTableSortDefaultTest::testTableSortQueryFirst in core/modules/system/src/Tests/Database/SelectTableSortDefaultTest.php
Confirms precedence of tablesorts headers.
SessionTest::testSessionSaveRegenerate in core/modules/system/src/Tests/Session/SessionTest.php
Tests for \Drupal\Core\Session\WriteSafeSessionHandler::setSessionWritable() ::isSessionWritable and \Drupal\Core\Session\SessionManager::regenerate().
ShortcutLinksTest::verifyAccessShortcutsPermissionForEditPages in core/modules/shortcut/src/Tests/ShortcutLinksTest.php
Tests that the 'access shortcuts' permission is required for shortcut set administration page access.
ShortcutTranslationUITest::doTestBasicTranslation in core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
Tests the basic translation workflow.
ShortcutTranslationUITest::doTestTranslationChanged in core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
Tests the basic translation workflow.
SimpleTestErrorCollectorTest::assertError in core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
Asserts that a collected error matches what we are expecting.
SimpleTestTest::assertAssertion in core/modules/simpletest/src/Tests/SimpleTestTest.php
Asserts that an assertion with specified values is displayed in results.
StateValuesCleanTest::testFormStateValuesClean in core/modules/system/src/Tests/Form/StateValuesCleanTest.php
Tests \Drupal\Core\Form\FormState::cleanValues().
StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php
Creates a node, then tests the statistics tokens generated from it.
StorageTest::testDetails in core/modules/views_ui/src/Tests/StorageTest.php
Tests changing label, description and tag.
StringFieldTest::_testTextfieldWidgets in core/modules/field/src/Tests/String/StringFieldTest.php
Helper function for testTextfieldWidgets().
StyleMappingTest::mappedOutputHelper in core/modules/views/src/Tests/Plugin/StyleMappingTest.php
Tests the mapping of fields.
SystemConfigFormTestBase::testConfigForm in core/modules/system/src/Tests/System/SystemConfigFormTestBase.php
Submit the system_config_form ensure the configuration has expected values.
SystemListingTest::testDirectoryPrecedence in core/modules/system/src/Tests/Common/SystemListingTest.php
Tests that files in different directories take precedence as expected.
SystemMenuBlockTest::testConfigLevelDepth in core/modules/system/src/Tests/Block/SystemMenuBlockTest.php
Tests the config start level and depth.
TagTest::testViewsUiAutocompleteTag in core/modules/views_ui/src/Tests/TagTest.php
Tests the views_ui_autocomplete_tag function.
TermTest::testNodeTermCreationAndDeletion in core/modules/taxonomy/src/Tests/TermTest.php
Test term creation with a free-tagging vocabulary from the node form.
TermValidationTest::testValidation in core/modules/taxonomy/src/Tests/TermValidationTest.php
Tests the term validation constraints.
TextFormatterTest::testFormatters in core/modules/text/src/Tests/Formatter/TextFormatterTest.php
Tests all text field formatters.
TextSummaryTest::assertTextSummary in core/modules/text/src/Tests/TextSummaryTest.php
Calls text_summary() and asserts that the expected teaser is returned.
ThemeTest::testThemeDataTypes in core/modules/system/src/Tests/Theme/ThemeTest.php
Test that _theme() returns expected data types.
TokenReplaceTest::testTaxonomyTokenReplacement in core/modules/taxonomy/src/Tests/TokenReplaceTest.php
Creates some terms and a node, then tests the tokens generated from them.
TokenReplaceTest::testTokenReplacement in core/modules/views/src/Tests/TokenReplaceTest.php
Tests core token replacements generated from a view.
TokenReplaceUnitTest::testSystemDateTokenReplacement in core/modules/system/src/Tests/System/TokenReplaceUnitTest.php
Tests the generation of all system date tokens.
TokenReplaceUnitTest::testSystemTokenRecognition in core/modules/system/src/Tests/System/TokenReplaceUnitTest.php
Test whether token-replacement works in various contexts.
TourTestBase::assertTourTips in core/modules/tour/src/Tests/TourTestBase.php
Assert function to determine if tips rendered to the page have a corresponding page element.
TrackerTest::testTrackerCronIndexing in core/modules/tracker/src/Tests/TrackerTest.php
Tests that existing nodes are indexed by cron.
TransactionTest::assertRowAbsent in core/modules/system/src/Tests/Database/TransactionTest.php
Asserts that a given row is absent from the test table.
TransactionTest::assertRowPresent in core/modules/system/src/Tests/Database/TransactionTest.php
Asserts that a given row is present in the test table.
TranslationTest::testTranslatableFieldSaveLoad in core/modules/field/src/Tests/TranslationTest.php
Test translatable fields storage/retrieval.
TranslationWebTest::checkTranslationRevisions in core/modules/field/src/Tests/TranslationWebTest.php
Check if the field translation attached to the entity revision identified by the passed arguments were correctly stored.
UpdateFeedItemTest::testUpdateFeedItem in core/modules/aggregator/src/Tests/UpdateFeedItemTest.php
Tests running "update items" from 'admin/config/services/aggregator' page.
UpdateFeedTest::testUpdateFeed in core/modules/aggregator/src/Tests/UpdateFeedTest.php
Creates a feed and attempts to update it.
UpdateLobTest::testUpdateOneBlob in core/modules/system/src/Tests/Database/UpdateLobTest.php
Confirms that we can update a blob column.
UrlAlterFunctionalTest::assertUrlInboundAlter in core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php
Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter in core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php
Assert that an outbound path is altered to an expected value.
UrlTest::testLinkAttributes in core/modules/system/src/Tests/Common/UrlTest.php
Tests that default and custom attributes are handled correctly on links.
UrlTest::testLinkXSS in core/modules/system/src/Tests/Common/UrlTest.php
Confirms that invalid URLs are filtered in link generating functions.
UserDeleteTest::testUserDeleteMultiple in core/modules/user/src/Tests/UserDeleteTest.php
Test deleting multiple users.
UserRegistrationTest::testRegistrationWithUserFields in core/modules/user/src/Tests/UserRegistrationTest.php
Tests Field API fields on user registration forms.
UserTokenReplaceTest::testUserTokenReplacement in core/modules/user/src/Tests/UserTokenReplaceTest.php
Creates a user, then tests the tokens generated from it.
ValidationTest::testValidateLimitErrors in core/modules/system/src/Tests/Form/ValidationTest.php
Tests partial form validation through #limit_validation_errors.
ViewExecutable::setDisplay in core/modules/views/src/ViewExecutable.php
Sets the current display.
ViewExecutableTest::testInitMethods in core/modules/views/src/Tests/ViewExecutableTest.php
Tests the initDisplay() and initHandlers() methods.
ViewExecutableTest::testValidate in core/modules/views/src/Tests/ViewExecutableTest.php
Tests the validation of display handlers.
ViewResultAssertionTrait::assertIdenticalResultsetHelper in core/modules/views/src/Tests/ViewResultAssertionTrait.php
Performs View result assertions.
ViewsHooksTest::testHooks in core/modules/views/src/Tests/ViewsHooksTest.php
Tests the hooks.
ViewStorageTest::createTests in core/modules/views/src/Tests/ViewStorageTest.php
Tests creating configuration entities.
ViewStorageTest::displayMethodTests in core/modules/views/src/Tests/ViewStorageTest.php
Tests the display related functions like getDisplaysList().
ViewStorageTest::loadTests in core/modules/views/src/Tests/ViewStorageTest.php
Tests loading configuration entities.
ViewStorageTest::testCreateDuplicate in core/modules/views/src/Tests/ViewStorageTest.php
Tests the createDuplicate() View method.
WebTestBase::assertBlockAppears in core/modules/simpletest/src/WebTestBase.php
Checks to see whether a block appears on the page.
WebTestBase::assertMailPattern in core/modules/simpletest/src/WebTestBase.php
Asserts that the most recently sent email message has the pattern in it.
WebTestBase::assertMailString in core/modules/simpletest/src/WebTestBase.php
Asserts that the most recently sent email message has the string in it.
WebTestBase::assertNoBlockAppears in core/modules/simpletest/src/WebTestBase.php
Checks to see whether a block does not appears on the page.
WebTestBase::drupalLogin in core/modules/simpletest/src/WebTestBase.php
Log in a user with the internal browser.
WebTestBase::drupalPostForm in core/modules/simpletest/src/WebTestBase.php
Executes a form submission.