Lines Matching refs:cache
14 private $cache; variable in cache_use_test
26 $this->cache = new CacheRenderer($ID, $file, 'xhtml');
27 $this->cache->storeCache('Test');
32 touch($this->cache->cache, $time);
46 $this->assertFalse($this->cache->useCache());
47 $this->assertNotEmpty($this->cache->depends['purge']);
55 touch($this->cache->file, filemtime($this->cache->cache));
56 $this->assertFalse($this->cache->useCache());
67 touch($this->cache->file, $time - 1);
68 touch($this->cache->cache, $time);
70 $this->assertFalse($this->cache->useCache(array('age' => $age)));
80 $this->assertFalse($this->cache->useCache());
81 $this->assertNotEmpty($this->cache->isNoCache());