WebOfTalent\Cache\Tests\CacheKeyHelperExtensionTest
Synopsis
class CacheKeyHelperExtensionTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'fixtures.yml';
- private SiteTree $homePage;
- // methods
- public void setUp()
- public void testCacheKeyParamVar()
- public void testCacheKeyGetVar()
- public void testPeriodKey()
- public void testCacheKeyCurrentPageLastEdited()
- public void testCacheKeySiteTreeLastEdited()
- public void testCacheKeyLevel1SiblingPageLastEdited()
- public void testCacheKeyLevel2SiblingPageLastEdited()
- public void testCacheKeyLevel3SiblingPageLastEdited()
- public void testCacheKeyLevel1TopTwoLevelsLastEdited()
- public void testCacheKeyLevel2TopTwoLevelsLastEdited()
- public void testCacheKeyLevel3TopTwoLevelsLastEdited()
- private void getLastEditedTopTwoLevels()
- private void checkLastEditedFor()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
Methods
private
public
- setUp()
- testCacheKeyCurrentPageLastEdited()
- testCacheKeyGetVar() — If a URL has likes of ?page=2 create a param cache key of the form page_2
- testCacheKeyLevel1SiblingPageLastEdited()
- testCacheKeyLevel1TopTwoLevelsLastEdited()
- testCacheKeyLevel2SiblingPageLastEdited()
- testCacheKeyLevel2TopTwoLevelsLastEdited()
- testCacheKeyLevel3SiblingPageLastEdited()
- testCacheKeyLevel3TopTwoLevelsLastEdited()
- testCacheKeyParamVar()
- testCacheKeySiteTreeLastEdited()
- testPeriodKey()