Beispiel #1
0
 public function setUp()
 {
     parent::setUp();
     $this->storage->mkdir('foo');
     $this->sourceCache = $this->cache;
     $this->cache = $this->getMaskedCached(Constants::PERMISSION_ALL);
 }
Beispiel #2
0
 public function setUp()
 {
     parent::setUp();
     $this->storage->mkdir('foo');
     $this->sourceCache = $this->cache;
     $this->cache = new \OC\Files\Cache\Wrapper\CacheJail($this->sourceCache, 'foo');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->storage = new \OC\Files\Storage\Temporary(array());
     $this->storage2 = new \OC\Files\Storage\Temporary(array());
     $this->cache = new FallBackCrossCacheMoveCache($this->storage);
     $this->cache2 = new FallBackCrossCacheMoveCache($this->storage2);
 }