public function testRemoveCorrectCallWithVacuum() { $this->_instance = new Zend_Cache_Backend_Sqlite(array('cache_db_complete_path' => $this->_cache_dir . 'cache.db', 'automatic_vacuum_factor' => 1)); parent::setUp(); $this->assertTrue($this->_instance->remove('bar')); $this->assertFalse($this->_instance->test('bar')); $this->assertFalse($this->_instance->remove('barbar')); $this->assertFalse($this->_instance->test('barbar')); }
/** * @group ZF-11640 */ public function testRemoveCorrectCallWithVacuumOnMemoryDb() { $this->_instance = new Zend_Cache_Backend_Sqlite(array('cache_db_complete_path' => ':memory:', 'automatic_vacuum_factor' => 1)); parent::setUp(); $this->assertGreaterThan(0, $this->_instance->test('bar2')); $this->assertTrue($this->_instance->remove('bar')); $this->assertFalse($this->_instance->test('bar')); $this->assertGreaterThan(0, $this->_instance->test('bar2')); }
public function testGetFillingPercentage() { $this->_instance->setDirectives(array('logging' => false)); parent::testGetFillingPercentage(); }
public function tearDown() { parent::tearDown(); unset($this->_instance); }
public function testGetMetadatas($notag = true) { parent::testGetMetadatas($notag); }
public function testGetMetadatas($notag = false) { parent::testGetMetadatas(true); }