namespace Drupal\Tests\system\Functional\Cache

Same name in other branches
  1. 9 Drupal\Tests\system\Functional\Cache
  2. 8.9.x Drupal\Tests\system\Functional\Cache
  3. 11.x Drupal\Tests\system\Functional\Cache
Object name File name Summary
AssertPageCacheContextsAndTagsTrait core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Provides test assertions for testing page-level cache contexts & tags.
CacheTestBase core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Provides helper methods for cache tests.
ClearTest core/modules/system/tests/src/Functional/Cache/ClearTest.php Tests our clearing is done the proper way.
PageCacheTagsTestBase core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Provides helper methods for page cache tags tests.
SessionExistsCacheContextTest core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests the 'session.exists' cache context service.

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