_instance = new Zend_Cache_Backend_WinCache(array()); parent::setUp($notag); } public function tearDown() { parent::tearDown(); unset($this->_instance); } public function testConstructorCorrectCall() { $test = new Zend_Cache_Backend_WinCache(); } public function testCleanModeOld() { $this->_instance->setDirectives(array('logging' => false)); $this->_instance->clean('old'); // do nothing, just to see if an error occured $this->_instance->setDirectives(array('logging' => true)); } public function testCleanModeMatchingTags() { $this->_instance->setDirectives(array('logging' => false)); $this->_instance->clean('matchingTag', array('tag1')); // do nothing, just to see if an error occured $this->_instance->setDirectives(array('logging' => true)); } public function testCleanModeNotMatchingTags() { $this->_instance->setDirectives(array('logging' => false)); $this->_instance->clean('notMatchingTag', array('tag1')); // do nothing, just to see if an error occured $this->_instance->setDirectives(array('logging' => true)); } // Because of limitations of this backend... public function testGetWithAnExpiredCacheId() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testCleanModeMatchingTags2() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testCleanModeNotMatchingTags2() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testCleanModeNotMatchingTags3() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsMatchingTags() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsMatchingTags2() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsMatchingTags3() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsMatchingTags4() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsNotMatchingTags() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsNotMatchingTags2() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetIdsNotMatchingTags3() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testGetTags() { $this->markTestSkipped('This test skipped due to limitations in this adapter.'); } public function testSaveCorrectCall() { $this->_instance->setDirectives(array('logging' => false)); parent::testSaveCorrectCall(); $this->_instance->setDirectives(array('logging' => true)); } public function testSaveWithNullLifeTime() { $this->_instance->setDirectives(array('logging' => false)); parent::testSaveWithNullLifeTime(); $this->_instance->setDirectives(array('logging' => true)); } public function testSaveWithSpecificLifeTime() { $this->_instance->setDirectives(array('logging' => false)); parent::testSaveWithSpecificLifeTime(); $this->_instance->setDirectives(array('logging' => true)); } public function testGetMetadatas($notag = true) { parent::testGetMetadatas($notag); } }