Advertisement
Guest User

Untitled

a guest
May 18th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.73 KB | None | 0 0
  1. Index: ApcBackendTest.php
  2. ===================================================================
  3. --- ApcBackendTest.php  (revision 24811)
  4. +++ ApcBackendTest.php  (working copy)
  5. @@ -48,7 +48,7 @@
  6.          parent::__construct('Zend_Cache_Backend_Apc', $data, $dataName);
  7.      }
  8.  
  9. -    public function setUp($notag = true)
  10. +    public function setUp($notag = false)
  11.      {
  12.          $this->_instance = new Zend_Cache_Backend_Apc(array());
  13.          parent::setUp($notag);
  14. @@ -72,61 +72,7 @@
  15.          $this->_instance->setDirectives(array('logging' => true));
  16.      }
  17.  
  18. -    public function testCleanModeMatchingTags() {
  19. -        $this->_instance->setDirectives(array('logging' => false));
  20. -        $this->_instance->clean('matchingTag', array('tag1'));
  21. -        // do nothing, just to see if an error occured
  22. -        $this->_instance->setDirectives(array('logging' => true));
  23. -    }
  24. -
  25. -    public function testCleanModeNotMatchingTags() {
  26. -        $this->_instance->setDirectives(array('logging' => false));
  27. -        $this->_instance->clean('notMatchingTag', array('tag1'));
  28. -        // do nothing, just to see if an error occured
  29. -        $this->_instance->setDirectives(array('logging' => true));
  30. -    }
  31. -
  32.      // Because of limitations of this backend...
  33.      public function testGetWithAnExpiredCacheId() {}
  34. -    public function testCleanModeMatchingTags2() {}
  35. -    public function testCleanModeNotMatchingTags2() {}
  36. -    public function testCleanModeNotMatchingTags3() {}
  37. -    public function testGetIdsMatchingTags() {}
  38. -    public function testGetIdsMatchingTags2() {}
  39. -    public function testGetIdsMatchingTags3() {}
  40. -    public function testGetIdsMatchingTags4() {}
  41. -    public function testGetIdsNotMatchingTags() {}
  42. -    public function testGetIdsNotMatchingTags2() {}
  43. -    public function testGetIdsNotMatchingTags3() {}
  44. -    public function testGetTags() {}
  45.  
  46. -    public function testSaveCorrectCall()
  47. -    {
  48. -        $this->_instance->setDirectives(array('logging' => false));
  49. -        parent::testSaveCorrectCall();
  50. -        $this->_instance->setDirectives(array('logging' => true));
  51. -    }
  52. -
  53. -    public function testSaveWithNullLifeTime()
  54. -    {
  55. -        $this->_instance->setDirectives(array('logging' => false));
  56. -        parent::testSaveWithNullLifeTime();
  57. -        $this->_instance->setDirectives(array('logging' => true));
  58. -    }
  59. -
  60. -    public function testSaveWithSpecificLifeTime()
  61. -    {
  62. -
  63. -        $this->_instance->setDirectives(array('logging' => false));
  64. -        parent::testSaveWithSpecificLifeTime();
  65. -        $this->_instance->setDirectives(array('logging' => true));
  66. -    }
  67. -
  68. -    public function testGetMetadatas($notag = true)
  69. -    {
  70. -        parent::testGetMetadatas($notag);
  71. -    }
  72. -
  73.  }
  74. -
  75. -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement