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 10.3.x for test
  5. Search 11.x 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
KernelTestDrupalKernel::$cacheSuffix property core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php A cache suffix to increment on rebuilds.
KernelTestDrupalKernel::$overrideUseCache property core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Whether the container should be retrieved from cache.
KernelTestDrupalKernel::getContainerCacheKey function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Returns the container cache key based on the environment.
KernelTestDrupalKernel::getContainerFromCacheIfCacheable function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Gets the cached container definition if the cache may be used.
KernelTestDrupalKernel::rebuildContainer function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Force a container rebuild.
KernelTestDrupalKernel::resetCacheSuffix function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Resets the cache suffix to 0.
KernelTestDrupalKernel::resetContainer function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Force a container reset.
KernelTestDrupalKernel::setContainerNeedsRebuild function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Sets whether the container should be rebuilt.
KernelTestDrupalKernel::setOverrideUseCache function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Sets whether the container should be retrieved from cache.
KernelTestDynamicPageCacheRequestPolicy class core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php Replaces the dynamic_page_cache module's default request policy.
KernelTestDynamicPageCacheRequestPolicy::__construct function core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php Constructs the default Dynamic Page Cache request policy.
KernelTestHooksTest class core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php Tests that hook implementations in Kernel test classes are executed.
KernelTestHooksTest.php file core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php
KernelTestHooksTest::hookTestHook function core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php Implements hook_test_hook().
KernelTestHooksTest::hookTestHookAlter function core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php Implements hook_test_hook_alter().
KernelTestHooksTest::hookTestVariantHookAlter function core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php Implements hook_test_variant_hook_alter().
KernelTestHooksTest::testHookMethodExecution function core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php Invoke hooks and alter hooks and confirm implementations are executed.
KernelTestHttpCacheRequestTest class core/tests/Drupal/KernelTests/KernelTestHttpCacheRequestTest.php Tests making HTTP requests with page cache in a kernel test.
KernelTestHttpCacheRequestTest.php file core/tests/Drupal/KernelTests/KernelTestHttpCacheRequestTest.php
KernelTestHttpCacheRequestTest::$modules property core/tests/Drupal/KernelTests/KernelTestHttpCacheRequestTest.php
KernelTestHttpCacheRequestTest::testRequestAnonymous function core/tests/Drupal/KernelTests/KernelTestHttpCacheRequestTest.php Tests a request is cached and retrieved.
KernelTestHttpDynamicCacheRequestTest class core/tests/Drupal/KernelTests/KernelTestHttpDynamicCacheRequestTest.php Tests making HTTP requests with dynamic page cache in a kernel test.
KernelTestHttpDynamicCacheRequestTest.php file core/tests/Drupal/KernelTests/KernelTestHttpDynamicCacheRequestTest.php
KernelTestHttpDynamicCacheRequestTest::$modules property core/tests/Drupal/KernelTests/KernelTestHttpDynamicCacheRequestTest.php
KernelTestHttpDynamicCacheRequestTest::testRequestAuthenticated function core/tests/Drupal/KernelTests/KernelTestHttpDynamicCacheRequestTest.php Tests a request is cached and retrieved.
KernelTestHttpRequestTest class core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Tests making HTTP requests in a kernel test.
KernelTestHttpRequestTest.php file core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php
KernelTestHttpRequestTest::$modules property core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php
KernelTestHttpRequestTest::$testMarkup property core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Markup used in test controller response.
KernelTestHttpRequestTest::exampleRoute function core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Example of a route defined in a kernel test.
KernelTestHttpRequestTest::testClickLink function core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Tests clickLink() functionality.
KernelTestHttpRequestTest::testKernelTestRoute function core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Test that kernel test classes can provide their own routes.
KernelTestHttpRequestTest::testRequest function core/tests/Drupal/KernelTests/KernelTestHttpRequestTest.php Tests making a request.
KernelTestPageCacheRequestPolicy class core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php Replaces the page_cache module's default request policy.
KernelTestPageCacheRequestPolicy::__construct function core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php Constructs the default page cache request policy.
KernelTestSharedContainerTest class core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php Tests that the container is shared between kernel test methods.
KernelTestSharedContainerTest.php file core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php
KernelTestSharedContainerTest::$modules property core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php
KernelTestSharedContainerTest::testContainerRebuilds function core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php Tests the number of container builds for each iteration of a test.
KeyValueContentEntityStorage::getLatestRevisionId function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Returns the latest revision identifier for an entity.
KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Returns the latest revision affecting the specified translation.
KeyValueContentEntityStorageTest class core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests KeyValueEntityStorage for content entities.
KeyValueContentEntityStorageTest.php file core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
KeyValueContentEntityStorageTest::$modules property core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
KeyValueContentEntityStorageTest::setUp function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
KeyValueContentEntityStorageTest::testCRUD function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests CRUD operations.
KeyValueContentEntityStorageTest::testUninstall function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests uninstallation of a module that does not use the SQL entity storage.
KeyValueEntityStorageTest class core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php Tests Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage.
KeyValueEntityStorageTest.php file core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
KeyValueEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The mocked cache tags invalidator.

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