Search for test

  1. Search 7.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. 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
CacheableMetadataTest::providerTestMerge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for testMerge().
CacheableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::addCacheableDependency
@dataProvider providerTestMerge
CacheableMetadataTest::testAddCacheTags function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php This delegates to Cache::mergeTags(), so just a basic test.
CacheableMetadataTest::testCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromObject
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray
@dataProvider providerTestCreateFromRenderArray
CacheableMetadataTest::testMerge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::merge
@dataProvider providerTestMerge
CacheableMetadataTest::testSetCacheMaxAge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests valid and invalid values as max age.
CacheableTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php
CacheableTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php
CacheableTestResponse class core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php
CacheableTestResponse.php file core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php
CacheCollectorTest class core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Tests DatabaseBackend cache tag implementation.
CacheCollectorTest class core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php @coversDefaultClass \Drupal\Core\Cache\CacheCollector
@group Cache
CacheCollectorTest.php file core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest.php file core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest::$cacheBackend property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache backend that should be used.
CacheCollectorTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache tags invalidator.
CacheCollectorTest::$cid property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache id used for the test.
CacheCollectorTest::$collector property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Cache collector implementation to test.
CacheCollectorTest::$lock property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The lock backend that should be used.
CacheCollectorTest::providerTestInvalidCharacters function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Data provider for ::testCacheCollector().
CacheCollectorTest::register function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Registers test-specific services.
CacheCollectorTest::setUp function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest::testCacheCollector function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Tests setting and invalidating.
CacheCollectorTest::testDelete function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests setting and deleting values.
CacheCollectorTest::testGetFromCache function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests returning value from the collected cache.
CacheCollectorTest::testResolveCacheMiss function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests the resolve cache miss function.
CacheCollectorTest::testSetAndGet function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests setting and getting values when the cache is empty.
CacheCollectorTest::testSetAndGetNull function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Makes sure that NULL is a valid value and is collected.
CacheCollectorTest::testUpdateCache function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache after a set.
CacheCollectorTest::testUpdateCacheClear function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests a clear of the cache collector.
CacheCollectorTest::testUpdateCacheClearTags function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests a clear of the cache collector using tags.
CacheCollectorTest::testUpdateCacheDelete function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache after a delete.
CacheCollectorTest::testUpdateCacheInvalidatedConflict function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache when there is a conflict after cache invalidation.
CacheCollectorTest::testUpdateCacheLockFail function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache when the lock acquire fails.
CacheCollectorTest::testUpdateCacheMerge function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache when a different request.
CacheCollectorTest::testUpdateCacheNoChanges function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache when no changes were made.
CacheCollectorTest::testUpdateCacheReset function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests a reset of the cache collector.
CacheContextOptimizationTest class core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Tests the cache context optimization.
CacheContextOptimizationTest.php file core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php
CacheContextOptimizationTest::$modules property core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Modules to enable.
CacheContextOptimizationTest::setUp function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php
CacheContextOptimizationTest::testUserPermissionCacheContextOptimization function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Ensures that 'user.permissions' cache context is able to define cache tags.
CacheContextOptimizationTest::testUserRolesCacheContextOptimization function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Ensures that 'user.roles' still works when it is optimized away.
CacheContextsManagerTest class core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager
@group Cache
CacheContextsManagerTest.php file core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.
CacheContextsManagerTest::getContextsFixture function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::getMockContainer function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::providerTestInvalidCalculatedContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of invalid 'baz' cache contexts: the parameter is missing.
CacheContextsManagerTest::providerTestOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of context token sets.

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