Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
ModuleHandlerTest::testResetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests internal implementation cache reset.
ModuleHandlerTest::testSetModuleList function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Ensure setting the module list replaces the module list and resets internal structures.
ModuleHandlerTest::testThemeMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct theme metadata is returned.
ModuleHandlerTest::testUninstallContentDependency function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests uninstalling a module that has content.
ModuleHandlerTest::testUninstallProfileDependency function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests uninstalling a module installed by a profile.
ModuleHandlerTest::testWriteCache function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests that write cache calls through to cache library correctly.
ModuleImplementsAlterTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php Tests hook_module_implements_alter().
ModuleImplementsAlterTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php
ModuleImplementsAlterTest::$modules property core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php Modules to install.
ModuleImplementsAlterTest::testModuleImplementsAlter function core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php Tests hook_module_implements_alter() adding an implementation.
ModuleImplementsAlterTest::testModuleImplementsAlterNonExistingImplementation function core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php Tests adding a non-existing function to hook_module_implements_alter().
ModuleInfoTest class core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php Tests that core module info files have the expected keys.
ModuleInfoTest.php file core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php
ModuleInfoTest::testModuleInfo function core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php Tests that core module info files have the expected keys.
ModuleInstallBatchTest class core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php Tests batch operations during tests execution.
ModuleInstallBatchTest.php file core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php
ModuleInstallBatchTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php The theme to install as the default for testing.
ModuleInstallBatchTest::$modules property core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php Modules to install.
ModuleInstallBatchTest::testLoadingEntitiesCreatedInBatch function core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php Tests loading entities created in a batch in test_batch_test_install().
ModuleInstallerTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests the ModuleInstaller class.
ModuleInstallerTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
ModuleInstallerTest::providerTestInvalidCoreInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Data provider for testInvalidCoreInstall().
ModuleInstallerTest::testCacheBinCleanup function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests cache bins defined by modules are removed when uninstalled.
ModuleInstallerTest::testConfigChangeOnInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests config changes by hook_install() are saved for dependent modules.
ModuleInstallerTest::testDependencyInvalidCoreInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests install with a dependency with an invalid core version constraint.
ModuleInstallerTest::testDependencyInvalidCoreInstallNoDependencies function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests no dependencies install with a dependency with invalid core.
ModuleInstallerTest::testDeprecatedInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests trying to install a deprecated module.
ModuleInstallerTest::testInvalidCoreInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests install with a module with an invalid core version constraint.
ModuleInstallerTest::testKernelRebuildDuringHookInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Ensure that rebuilding the container in hook_install() works.
ModuleInstallerTest::testObsoleteInstall function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests trying to install an obsolete module.
ModuleInstallerTest::testRouteRebuild function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests that routes are rebuilt during install and uninstall of modules.
ModuleLegacyTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleLegacyTest.php Tests deprecations from module.inc file.
ModuleLegacyTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleLegacyTest.php
ModuleLegacyTest::testModuleLoadInclude function core/tests/Drupal/KernelTests/Core/Extension/ModuleLegacyTest.php Test deprecation of module_load_include() function.
ModulePermissionsLinkHelperTest class core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php Tests the ModulePermissionsLinkHelper.
ModulePermissionsLinkHelperTest.php file core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
ModulePermissionsLinkHelperTest::$modules property core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php Modules to install.
ModulePermissionsLinkHelperTest::setUp function core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
ModulePermissionsLinkHelperTest::testGetModulePermissionsLink function core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php @covers ::getModulePermissionsLink[[api-linebreak]]
ModuleRequiredByThemesUninstallValidatorTest class core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator[[api-linebreak]]
@group Extension
ModuleRequiredByThemesUninstallValidatorTest.php file core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
ModuleRequiredByThemesUninstallValidatorTest::$moduleExtensionList property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Mock of ModuleExtensionList.
ModuleRequiredByThemesUninstallValidatorTest::$moduleRequiredByThemeUninstallValidator property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Instance of ModuleRequiredByThemesUninstallValidator.
ModuleRequiredByThemesUninstallValidatorTest::$themeExtensionList property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Mock of ThemeExtensionList.
ModuleRequiredByThemesUninstallValidatorTest::setUp function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
ModuleRequiredByThemesUninstallValidatorTest::testValidateNoThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ModuleRequiredByThemesUninstallValidatorTest::testValidateOneThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ModuleRequiredByThemesUninstallValidatorTest::testValidateTwoThemeDependencies function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ModuleRouteSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\ModuleRouteSubscriber[[api-linebreak]]
@group EventSubscriber
ModuleRouteSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.