Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: ApcBackendTest.php
- ===================================================================
- --- ApcBackendTest.php (revision 24811)
- +++ ApcBackendTest.php (working copy)
- @@ -48,7 +48,7 @@
- parent::__construct('Zend_Cache_Backend_Apc', $data, $dataName);
- }
- - public function setUp($notag = true)
- + public function setUp($notag = false)
- {
- $this->_instance = new Zend_Cache_Backend_Apc(array());
- parent::setUp($notag);
- @@ -72,61 +72,7 @@
- $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() {}
- - public function testCleanModeMatchingTags2() {}
- - public function testCleanModeNotMatchingTags2() {}
- - public function testCleanModeNotMatchingTags3() {}
- - public function testGetIdsMatchingTags() {}
- - public function testGetIdsMatchingTags2() {}
- - public function testGetIdsMatchingTags3() {}
- - public function testGetIdsMatchingTags4() {}
- - public function testGetIdsNotMatchingTags() {}
- - public function testGetIdsNotMatchingTags2() {}
- - public function testGetIdsNotMatchingTags3() {}
- - public function testGetTags() {}
- - 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);
- - }
- -
- }
- -
- -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement