Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| CacheableMetadataTest::providerTestMerge | function | core/ |
Provides test data for testMerge(). |
| CacheableMetadataTest::testAddCacheableDependency | function | core/ |
@covers ::addCacheableDependency[[api-linebreak]] @dataProvider providerTestMerge |
| CacheableMetadataTest::testAddCacheTags | function | core/ |
This delegates to Cache::mergeTags(), so just a basic test. |
| CacheableMetadataTest::testCreateFromObject | function | core/ |
@covers ::createFromObject[[api-linebreak]] @dataProvider providerTestCreateFromObject |
| CacheableMetadataTest::testCreateFromRenderArray | function | core/ |
@covers ::createFromRenderArray[[api-linebreak]] @dataProvider providerTestCreateFromRenderArray |
| CacheableMetadataTest::testMerge | function | core/ |
@covers ::merge[[api-linebreak]] @dataProvider providerTestMerge |
| CacheableMetadataTest::testSetCacheMaxAge | function | core/ |
Tests valid and invalid values as max age. |
| CacheableTestDomainObject | class | core/ |
|
| CacheableTestDomainObject.php | file | core/ |
|
| CacheableTestResponse | class | core/ |
|
| CacheableTestResponse.php | file | core/ |
|
| CacheCollectorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\CacheCollector[[api-linebreak]] @group Cache |
| CacheCollectorTest | class | core/ |
Tests DatabaseBackend cache tag implementation. |
| CacheCollectorTest.php | file | core/ |
|
| CacheCollectorTest.php | file | core/ |
|
| CacheCollectorTest::$cacheBackend | property | core/ |
The cache backend that should be used. |
| CacheCollectorTest::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
| CacheCollectorTest::$cid | property | core/ |
The cache id used for the test. |
| CacheCollectorTest::$collector | property | core/ |
Cache collector implementation to test. |
| CacheCollectorTest::$lock | property | core/ |
The lock backend that should be used. |
| CacheCollectorTest::providerTestInvalidCharacters | function | core/ |
Data provider for ::testCacheCollector(). |
| CacheCollectorTest::register | function | core/ |
Registers test-specific services. |
| CacheCollectorTest::setUp | function | core/ |
|
| CacheCollectorTest::testCacheCollector | function | core/ |
Tests setting and invalidating. |
| CacheCollectorTest::testDelete | function | core/ |
Tests setting and deleting values. |
| CacheCollectorTest::testGetFromCache | function | core/ |
Tests returning value from the collected cache. |
| CacheCollectorTest::testResolveCacheMiss | function | core/ |
Tests the resolve cache miss function. |
| CacheCollectorTest::testSetAndGet | function | core/ |
Tests setting and getting values when the cache is empty. |
| CacheCollectorTest::testSetAndGetNull | function | core/ |
Makes sure that NULL is a valid value and is collected. |
| CacheCollectorTest::testUpdateCache | function | core/ |
Tests updating the cache after a set. |
| CacheCollectorTest::testUpdateCacheClear | function | core/ |
Tests a clear of the cache collector. |
| CacheCollectorTest::testUpdateCacheClearTags | function | core/ |
Tests a clear of the cache collector using tags. |
| CacheCollectorTest::testUpdateCacheDelete | function | core/ |
Tests updating the cache after a delete. |
| CacheCollectorTest::testUpdateCacheInvalidatedConflict | function | core/ |
Tests updating the cache when there is a conflict after cache invalidation. |
| CacheCollectorTest::testUpdateCacheLockFail | function | core/ |
Tests updating the cache when the lock acquire fails. |
| CacheCollectorTest::testUpdateCacheMerge | function | core/ |
Tests updating the cache when a different request. |
| CacheCollectorTest::testUpdateCacheNoChanges | function | core/ |
Tests updating the cache when no changes were made. |
| CacheCollectorTest::testUpdateCacheReset | function | core/ |
Tests a reset of the cache collector. |
| CacheContextOptimizationTest | class | core/ |
Tests the cache context optimization. |
| CacheContextOptimizationTest.php | file | core/ |
|
| CacheContextOptimizationTest::$modules | property | core/ |
Modules to enable. |
| CacheContextOptimizationTest::setUp | function | core/ |
|
| CacheContextOptimizationTest::testUserPermissionCacheContextOptimization | function | core/ |
Ensures that 'user.permissions' cache context is able to define cache tags. |
| CacheContextOptimizationTest::testUserRolesCacheContextOptimization | function | core/ |
Ensures that 'user.roles' still works when it is optimized away. |
| CacheContextsManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager[[api-linebreak]] @group Cache |
| CacheContextsManagerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest. |
| CacheContextsManagerTest::getContextsFixture | function | core/ |
|
| CacheContextsManagerTest::getMockContainer | function | core/ |
|
| CacheContextsManagerTest::providerTestInvalidCalculatedContext | function | core/ |
Provides a list of invalid 'baz' cache contexts: the parameter is missing. |
| CacheContextsManagerTest::providerTestOptimizeTokens | function | core/ |
Provides a list of context token sets. |
Pagination
- Previous page
- Page 63
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.