57 calls to KernelTestBase::enableModules() in Drupal 8
- CacheableMetadataCalculationTest::testCacheableMetadataCalculation in core/
modules/ views/ tests/ src/ Kernel/ CacheableMetadataCalculationTest.php - Tests that cacheability metadata is only calculated when needed.
- CKEditorPluginManagerTest::testCssFiles in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorPluginManagerTest.php - Tests the iframe instance CSS files of plugins.
- CKEditorPluginManagerTest::testEnabledPlugins in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorPluginManagerTest.php - Tests the enabling of plugins.
- CKEditorTest::testBuildContentsCssJSSetting in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests CKEditor::buildContentsCssJSSetting().
- CKEditorTest::testBuildToolbarJSSetting in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests CKEditor::buildToolbarJSSetting().
- CKEditorTest::testGetJSSettings in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests CKEditor::getJSSettings().
- CKEditorTest::testJSTranslation in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests that CKEditor plugins participate in JS translation.
- CKEditorTest::testLanguages in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests language list availability in CKEditor.
- CommentLinksTest::testLinkReply in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Test the comment reply link.
- ConfigEntityUpdaterTest::testUpdateException in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Entity/ ConfigEntityUpdaterTest.php - @covers ::update
- ConfigInstallTest::testCollectionInstallationCollections in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigInstallTest.php - Tests config objects in collections are installed as expected.
- ConfigInstallTest::testCollectionInstallationNoCollections in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigInstallTest.php - Tests that collections are ignored if the event does not return anything.
- ConfigInstallTest::testModuleInstallation in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigInstallTest.php - Tests module installation.
- ContentNegotiationRoutingTest::testFullNegotiation in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ ContentNegotiationRoutingTest.php - Full negotiation by header only.
- EditorManagerTest::testManager in core/
modules/ editor/ tests/ src/ Kernel/ EditorManagerTest.php - Tests the configurable text editor manager.
- EditorSelectionTest::testTextWysiwyg in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorSelectionTest.php - Tests a textual field, with text filtering, with cardinality 1 and >1, always with an Editor plugin present that supports textual fields with text filtering, but with varying text format compatibility.
- EntityContentBaseTest::testUntranslatable in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d6/ EntityContentBaseTest.php - Test that translation destination fails for untranslatable entities.
- EntityDisplayTest::testComponentDependencies in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests components dependencies additions.
- EntityDisplayTest::testOnDependencyRemoval in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
- EntityFormDisplayTest::testOnDependencyRemoval in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityFormDisplayTest.php - Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
- EntityKernelTestBase::installModule in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKernelTestBase.php - Installs a module and refreshes services.
- EntityQueryTest::testBaseFieldMultipleColumns in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Test base fields with multiple columns.
- EntityTypeConstraintsTest::testConstraintDefinition in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypeConstraintsTest.php - Tests defining entity constraints via entity type annotations and hooks.
- EntityViewBuilderTest::testViewField in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests EntityViewBuilder::viewField() language awareness.
- FieldDefinitionIntegrityTest::testFieldPluginDefinitionAvailability in core/
modules/ field/ tests/ src/ Kernel/ FieldDefinitionIntegrityTest.php - Tests to load field plugin definitions used in core's existing entities.
- FieldDefinitionIntegrityTest::testFieldPluginDefinitionIntegrity in core/
modules/ field/ tests/ src/ Kernel/ FieldDefinitionIntegrityTest.php - Tests the integrity of field plugin definitions.
- FieldItemSerializationTest::testCustomBooleanNormalization in core/
modules/ serialization/ tests/ src/ Kernel/ FieldItemSerializationTest.php - Tests a format-agnostic normalizer.
- HelpEmptyPageTest::testEmptyHookHelp in core/
modules/ help/ tests/ src/ Kernel/ HelpEmptyPageTest.php - Ensures that no URL generator is called on a page without hook_help().
- KernelTestBaseTest::testContainerIsolation in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - Tests whether the fixture allows us to install modules and configuration.
- KernelTestBaseTest::testRegister in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::register
- KernelTestBaseTest::testRender in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::render
- KernelTestBaseTest::testRenderWithTheme in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::render
- KernelTestBaseTest::testSubsequentContainerIsolation in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - Tests whether the fixture can re-install modules and configuration.
- LanguageConfigOverrideInstallTest::testLanguageConfigOverrideInstall in core/
modules/ language/ tests/ src/ Kernel/ LanguageConfigOverrideInstallTest.php - Tests the configuration events are not fired during install of overrides.
- MediaLibraryAddFormTest::testDifferentAddForm in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAddFormTest.php - Tests overwriting of the add form.
- MigrateEntityContentBaseTest::testEmptyDestinations in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests empty destinations.
- MigrateEntityContentBaseTest::testEntityWithStringId in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests creation of ID columns table with definitions taken from entity type.
- MigrateNodeDeriverTest::testTranslations in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeDeriverTest.php - Test node translation migrations with translation enabled.
- MigrateNodeDeriverTest::testTranslations in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeDeriverTest.php - Test node translation migrations with translation enabled.
- MigrateSearchPageTest::testSearchPage in core/
modules/ search/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSearchPageTest.php - Tests migration of search status and settings to search page entity.
- MigrateSearchPageTest::testUserSearchCreate in core/
modules/ search/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSearchPageTest.php - Tests that a search page will be created if it does not exist.
- MigrationPluginListTest::testGetDefinitions in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationPluginListTest.php - @covers ::getDefinitions
- ModuleHandlerTest::testDependencyResolution in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests dependency resolution.
- ModuleHandlerTest::testProfileAllDependencies in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests that a profile can supply only real dependencies
- ModuleHandlerTest::testUninstallContentDependency in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests uninstalling a module that has content.
- ModuleHandlerTest::testUninstallProfileDependency in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests uninstalling a module installed by a profile.
- ModuleHandlerTest::testUninstallProfileDependencyBC in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Tests uninstalling a module that is a "dependency" of a profile.
- ModuleTest::testLoadFunctions in core/
modules/ views/ tests/ src/ Kernel/ ModuleTest.php - Tests the load wrapper/helper functions.
- NodeAccessTest::testUnsupportedOperation in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessTest.php - Test operations not supported by node grants.
- PageRenderTest::testHookPageAlter in core/
modules/ system/ tests/ src/ Kernel/ Common/ PageRenderTest.php - Tests hook_page_attachments_alter() exceptions.
- PageRenderTest::testHookPageAttachmentsExceptions in core/
modules/ system/ tests/ src/ Kernel/ Common/ PageRenderTest.php - Tests hook_page_attachments() exceptions.
- QueryTest::testConditionOperatorArgumentsSQLInjection in core/
tests/ Drupal/ KernelTests/ Core/ Database/ QueryTest.php - Tests SQL injection via condition operator.
- ServiceDestructionTest::testDestructionUnused in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ ServiceDestructionTest.php - Verifies that services are not unnecessarily destructed when not used.
- ServiceDestructionTest::testDestructionUsed in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ ServiceDestructionTest.php - Verifies that services are destructed when used.
- UsageTest::testFileUsageWithEntityTranslation in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests file usage with translated entities.
- ViewsModerationStateSortTest::testSortBaseTable in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateSortTest.php - Test sorting with a standard data base table.
- ViewsModerationStateSortTest::testSortRevisionBaseTable in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateSortTest.php - Test sorting with the revision base table.