XCacheTest.php 506 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. namespace Test\Memcache;
  9. class XCacheTest extends Cache {
  10. protected function setUp() {
  11. parent::setUp();
  12. if (!\OC\Memcache\XCache::isAvailable()) {
  13. $this->markTestSkipped('The xcache extension is not available.');
  14. return;
  15. }
  16. $this->instance = new \OC\Memcache\XCache($this->getUniqueID());
  17. }
  18. }