Exemplo n.º 1
0
 public function testSet()
 {
     parent::testSet();
     $this->assertTrue(file_exists(jApp::tempPath() . 'cache'));
     $this->assertTrue(file_exists(jApp::tempPath() . 'cache/usingfile/jelix_cache___noExpireKey.cache'));
     $this->assertFalse(file_exists(jApp::tempPath() . 'cache/usingfile/jelix_cache___expiredKey.cache'));
     $this->assertTrue(file_exists(jApp::tempPath() . 'cache/usingfile/jelix_cache___ttlInDateKey.cache'));
     $this->assertTrue(file_exists(jApp::tempPath() . 'cache/usingfile/jelix_cache___ttlInSecondesKey.cache'));
 }