From 8ad148feaf975481815b3f2413fc1fa34b3e8be7 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 16 Jul 2013 15:46:27 +0200 Subject: memcache: some additional unit tests --- tests/lib/memcache/xcache.php | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'tests/lib/memcache/xcache.php') diff --git a/tests/lib/memcache/xcache.php b/tests/lib/memcache/xcache.php index 48773533c89..f59afda3966 100644 --- a/tests/lib/memcache/xcache.php +++ b/tests/lib/memcache/xcache.php @@ -1,31 +1,20 @@ . - * + * Copyright (c) 2013 Robin Appelman + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ -class Test_Memcache_XCache extends Test_Cache { +namespace Test\Memcache; + +class XCache extends Cache { public function setUp() { if (!\OC\Memcache\XCache::isAvailable()) { $this->markTestSkipped('The xcache extension is not available.'); return; } - $this->instance = new \OC\Memcache\XCache(); + $this->instance = new \OC\Memcache\XCache(uniqid()); } } -- cgit v1.2.3