69 calls to RandomGeneratorTrait::randomString() in Drupal 10
- AssertMailTraitTest::testAssertMailTrait in core/
tests/ Drupal/ KernelTests/ Core/ Test/ AssertMailTraitTest.php - Tests that the maintenance theme initializes the theme and its base themes.
- CacheCollectorTest::providerTestInvalidCharacters in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - Data provider for ::testCacheCollector().
- CommentDepthTest::testCommentDepth in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentDepthTest.php - Test the comment depth.
- CommentLinksTest::testLinkApprove in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Tests the comment approve link.
- CommentLinksTest::testLinkReply in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Tests the comment reply link.
- CommentUserNameTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - CommentViewsFieldAccessTest::testCommentFields in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentViewsFieldAccessTest.php - Check access for comment fields.
- ConfigEntityImportTest::checkSinglePluginConfigSync in core/
modules/ system/ tests/ src/ Kernel/ Entity/ ConfigEntityImportTest.php - Tests that a single set of plugin config stays in sync.
- ConfigEntityUnitTest::testStorageMethods in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityUnitTest.php - Tests storage methods.
- DisplayBlockTest::testBlockCategory in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests default and custom block categories.
- EndOfTransactionQueriesTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ EndOfTransactionQueriesTest.php - EndOfTransactionQueriesTest::testEntitySave in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ EndOfTransactionQueriesTest.php - EndOfTransactionQueriesTest::testEntitySaveRollback in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ EndOfTransactionQueriesTest.php - EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a base field if entities exist.
- EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a base field when it has existing data.
- EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a bundle field if entities exist.
- EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Ensures that a new entity level index is created when data exists.
- EntityDefinitionUpdateTest::testEntityIndexCreateWithData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating a multi-field index when there are existing entities.
- EntityExistsTest::testEntityExists in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ EntityExistsTest.php - Tests the EntityExists plugin.
- EntityFormTest::testEntityFormModeAlter in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityFormTest.php - Tests hook_entity_form_mode_alter().
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAdminTest::testMultipleTargetBundles in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - Tests field settings for an entity reference field when the field has multiple target bundles and is set to auto-create the target entity.
- EntityReferenceAutoCreateTest::testMultipleTargetBundles in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAutoCreateTest.php - Tests if an entity reference field having multiple target bundles is storing the auto-created entity in the right destination.
- EntityReferenceAutoCreateTest::testNoBundles in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAutoCreateTest.php - Tests autocreation for an entity that has no bundles.
- EntityReferenceSelectionReferenceableTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelectionReferenceableTest.php - EntityReferenceSettingsTest::setUp in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceSettingsTest.php - EntityReferenceSettingsTest::testConfigTargetBundleDeletion in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceSettingsTest.php - Tests that config bundle deletions are mirrored in field config settings.
- EntityReferenceSettingsTest::testCustomTargetBundleDeletion in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceSettingsTest.php - Tests that deletions of custom bundles are mirrored in field settings.
- EntityReferenceXSSTest::testEntityReferenceXSS in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceXSSTest.php - Tests markup is escaped in the entity reference select and label formatter.
- EntityResourceTestBase::testPatch in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a PATCH request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testPost in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a POST request for an entity, plus edge cases to ensure good DX.
- EntityTranslationFormTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityTranslationFormTest.php - EntityTranslationFormTest::testEntityFormLanguage in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityTranslationFormTest.php - Tests entity form language.
- FieldDiscoveryTest::setUp in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ FieldDiscoveryTest.php - FilterEntityBundleTest::testFilterEntity in core/
modules/ views/ tests/ src/ Kernel/ Entity/ FilterEntityBundleTest.php - Tests the generic bundle filter.
- FormObjectTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Form/ FormObjectTest.php - FormTest::testInputWithInvalidToken in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests that input is retained for safe elements even with an invalid token.
- FormTest::testRequiredCheckboxesRadio in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required checkbox, select, and radio elements.
- FormTest::testRequiredTextfieldNoTitle in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required textfield element without title.
- KeyValueContentEntityStorageTest::testCRUD in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ KeyValueContentEntityStorageTest.php - Tests CRUD operations.
- MailCaptureTest::testMailSend in core/
tests/ Drupal/ FunctionalTests/ MailCaptureTest.php - Tests to see if the wrapper function is executed correctly.
- MigrateNodeTest::rerunMigration in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTest.php - Execute the migration a second time.
- ModuleHandlerTest::testUninstallContentDependency in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests uninstalling a module that has content.
- NodeRevisionWizardTest::testViewAdd in core/
modules/ node/ tests/ src/ Functional/ Views/ Wizard/ NodeRevisionWizardTest.php - Tests creating a node revision view.
- OptionsTestBase::setUp in core/
modules/ options/ tests/ src/ Kernel/ Views/ OptionsTestBase.php - PagerTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Pager/ PagerTest.php - PagerTest::testPagerEllipsis in core/
modules/ system/ tests/ src/ Functional/ Pager/ PagerTest.php - Tests proper functioning of the ellipsis.
- PhpStorageFactoryTest::setSettings in core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php - Sets the Settings() singleton.
- RawStringFormatterTest::testStringFormatter in core/
modules/ field/ tests/ src/ Kernel/ String/ RawStringFormatterTest.php - Tests string formatter output.
- RebuildTest::testPreserveFormActionAfterAJAX in core/
modules/ system/ tests/ src/ FunctionalJavascript/ Form/ RebuildTest.php - Tests that a form's action is retained after an Ajax submission.
- ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability in core/
modules/ jsonapi/ tests/ src/ Kernel/ EventSubscriber/ ResourceObjectNormalizerCacherTest.php - Tests that link normalization cache information is not lost.
- ResponseTest::testFormResponse in core/
modules/ system/ tests/ src/ Functional/ Form/ ResponseTest.php - Tests that enforced responses propagate through subscribers and middleware.
- RestExportTest::testBuildResponse in core/
modules/ rest/ tests/ src/ Kernel/ Views/ RestExportTest.php - @covers ::buildResponse
- RevisionUidTest::testRevisionUid in core/
modules/ node/ tests/ src/ Kernel/ Views/ RevisionUidTest.php - Tests the node_revision_uid relationship.
- RevisionUserTest::testRevisionUser in core/
modules/ media/ tests/ src/ Kernel/ Views/ RevisionUserTest.php - Tests the media_revision_user relationship.
- RevisionUserTest::testRevisionUser in core/
modules/ block_content/ tests/ src/ Kernel/ Views/ RevisionUserTest.php - Tests the block_content_revision_user relationship.
- SelectionTest::setUp in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ Views/ SelectionTest.php - SelectionTest::setUp in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ Views/ SelectionTest.php - StringFormatterTest::testStringFormatter in core/
modules/ field/ tests/ src/ Kernel/ String/ StringFormatterTest.php - Tests string formatter output.
- TaxonomyFieldVidTest::setUp in core/
modules/ taxonomy/ tests/ src/ Kernel/ Views/ TaxonomyFieldVidTest.php - TrustedHostsTest::testShortcut in core/
modules/ system/ tests/ src/ Functional/ System/ TrustedHostsTest.php - Tests that shortcut module works together with host verification.
- TypedDataTest::testGetAndSet in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - Tests the basics around constructing and working with typed data objects.
- UninstallTest::testUninstallPage in core/
modules/ system/ tests/ src/ Functional/ Module/ UninstallTest.php - Tests the Uninstall page and Uninstall confirmation page.
- UniqueFieldConstraintTest::testEntityWithStringId in core/
tests/ Drupal/ KernelTests/ Core/ Validation/ UniqueFieldConstraintTest.php - Tests cases where the validation passes for entities with string IDs.
- UniqueFieldConstraintTest::testEntityWithStringIdWithViolation in core/
tests/ Drupal/ KernelTests/ Core/ Validation/ UniqueFieldConstraintTest.php - Tests cases when validation raises violations for entities with string IDs.
- UserKernelTestBase::setupPermissionTestData in core/
modules/ user/ tests/ src/ Kernel/ Views/ UserKernelTestBase.php - Set some test data for permission related tests.
- UserRoleConditionTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Condition/ UserRoleConditionTest.php - ValidationTest::testCustomRequiredError in core/
modules/ system/ tests/ src/ Functional/ Form/ ValidationTest.php - Tests #required with custom validation errors.
- ViewEntityDependenciesTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ Entity/ ViewEntityDependenciesTest.php