Пример #1
0
 public function testRemoveCorrectCallWithVacuum()
 {
     $this->_instance = new 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'));
 }
Пример #2
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->_instance);
 }
Пример #3
0
 public function testGetMetadatas($notag = true)
 {
     parent::testGetMetadatas($notag);
 }
Пример #4
0
 public function testGetFillingPercentageOnEmptyBackend()
 {
     $this->_instance->setDirectives(array('logging' => false));
     parent::testGetFillingPercentageOnEmptyBackend();
 }