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 |
---|---|---|---|
CacheableMetadataCalculationTest::access | function | core/ |
Determine if the current user has access or not. |
CacheableMetadataCalculationTest::alterRouteDefinition | function | core/ |
Allows access plugins to alter the route definition of a view. |
CacheableMetadataCalculationTest::assertCacheableMetadataHasBeenCalculated | function | core/ |
Checks whether the view has calculated its cacheability metadata. |
CacheableMetadataCalculationTest::cacheableMetadataHasBeenAccessed | function | core/ |
Sets a flag to inform tests that cacheable metadata has been accessed. |
CacheableMetadataCalculationTest::create | function | core/ |
Creates an instance of the plugin. |
CacheableMetadataCalculationTest::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CacheableMetadataCalculationTest::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
CacheableMetadataCalculationTest::getCacheTags | function | core/ |
The cache tags associated with this object. |
CacheableMetadataCalculationTest::resetState | function | core/ |
Resets the state so we are ready for a new test. |
CacheableMetadataCalculationTest::setUp | function | core/ |
|
CacheableMetadataCalculationTest::testCacheableMetadataCalculation | function | core/ |
Tests that cacheability metadata is only calculated when needed. |
CacheableMetadataCalculationTest::TEST_MODULE | constant | core/ |
The ID of the module used in the test. |
CacheableMetadataCalculationTest::TEST_VIEW_ID | constant | core/ |
The ID of the view used in the test. |
CacheableMetadataCalculationTest::__construct | function | core/ |
Constructs a CacheableMetadataCalculationTest access plugin. |
CacheableMetadataTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\CacheableMetadata[[api-linebreak]] @group Cache |
CacheableMetadataTest.php | file | core/ |
|
CacheableMetadataTest::providerSetCacheMaxAge | function | core/ |
Data provider for testSetCacheMaxAge. |
CacheableMetadataTest::providerTestCreateFromObject | function | core/ |
Provides test data for createFromObject(). |
CacheableMetadataTest::providerTestCreateFromRenderArray | function | core/ |
Provides test data for createFromRenderArray(). |
CacheableMetadataTest::providerTestMerge | function | core/ |
Provides test data for testMerge(). |
CacheableMetadataTest::testAddCacheableDependency | function | core/ |
Tests addCacheableDependency(). |
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/ |
Tests merge(). |
CacheableMetadataTest::testSetCacheMaxAge | function | core/ |
Tests valid and invalid values as max age. |
CacheableTestDomainObject | class | core/ |
Test domain class with implemented CacheableDependencyInterface. |
CacheableTestDomainObject.php | file | core/ |
|
CacheableTestResponse | class | core/ |
Cacheable response used for testing. |
CacheableTestResponse.php | file | core/ |
|
CacheCollectorTest | class | core/ |
Tests DatabaseBackend cache tag implementation. |
CacheCollectorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\CacheCollector[[api-linebreak]] @group Cache |
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. |
Pagination
- Previous page
- Page 64
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.