aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-18 18:53:12 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-18 18:57:46 +0200
commit1b6cd583f790daf191d4b17ba307be46b54ddb3d (patch)
treebd4f322ce4e53bc006523ae781d49e1590a20f4d /tests
parentc54d79947b046056edbe290beeb9b77ec8594969 (diff)
downloadnextcloud-server-1b6cd583f790daf191d4b17ba307be46b54ddb3d.tar.gz
nextcloud-server-1b6cd583f790daf191d4b17ba307be46b54ddb3d.zip
Fix namespace of tests/cache/
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/cache/cappedmemorycache.php2
-rw-r--r--tests/lib/cache/filecache.php (renamed from tests/lib/cache/file.php)2
-rw-r--r--tests/lib/cache/testcache.php (renamed from tests/lib/cache.php)4
-rw-r--r--tests/lib/memcache/cache.php2
4 files changed, 6 insertions, 4 deletions
diff --git a/tests/lib/cache/cappedmemorycache.php b/tests/lib/cache/cappedmemorycache.php
index a8fb273b80a..c9c74de72db 100644
--- a/tests/lib/cache/cappedmemorycache.php
+++ b/tests/lib/cache/cappedmemorycache.php
@@ -29,7 +29,7 @@ namespace Test\Cache;
*
* @package Test\Cache
*/
-class CappedMemoryCache extends \Test_Cache {
+class CappedMemoryCache extends TestCache {
public function setUp() {
parent::setUp();
$this->instance = new \OC\Cache\CappedMemoryCache();
diff --git a/tests/lib/cache/file.php b/tests/lib/cache/filecache.php
index 92b784bf8ea..a85b12671f3 100644
--- a/tests/lib/cache/file.php
+++ b/tests/lib/cache/filecache.php
@@ -29,7 +29,7 @@ namespace Test\Cache;
*
* @package Test\Cache
*/
-class FileCache extends \Test_Cache {
+class FileCache extends TestCache {
/**
* @var string
* */
diff --git a/tests/lib/cache.php b/tests/lib/cache/testcache.php
index a91f37467d2..75ff65207ee 100644
--- a/tests/lib/cache.php
+++ b/tests/lib/cache/testcache.php
@@ -6,7 +6,9 @@
* See the COPYING-README file.
*/
-abstract class Test_Cache extends \Test\TestCase {
+namespace Test\Cache;
+
+abstract class TestCache extends \Test\TestCase {
/**
* @var \OCP\ICache cache;
*/
diff --git a/tests/lib/memcache/cache.php b/tests/lib/memcache/cache.php
index 725b0fbbf57..8d6a231dd8d 100644
--- a/tests/lib/memcache/cache.php
+++ b/tests/lib/memcache/cache.php
@@ -9,7 +9,7 @@
namespace Test\Memcache;
-abstract class Cache extends \Test_Cache {
+abstract class Cache extends \Test\Cache\TestCache {
/**
* @var \OCP\IMemcache cache;
*/