apcu.php 491 B

12345678910111213141516171819202122
  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 APCu extends Cache {
  10. protected function setUp() {
  11. parent::setUp();
  12. if(!\OC\Memcache\APCu::isAvailable()) {
  13. $this->markTestSkipped('The APCu extension is not available.');
  14. return;
  15. }
  16. $this->instance=new \OC\Memcache\APCu($this->getUniqueID());
  17. }
  18. }