From 8848b5f067f9b81f68508d2d739f0f951575e5e3 Mon Sep 17 00:00:00 2001
From: Joas Schilling <nickvergessen@gmx.de>
Date: Mon, 12 Jan 2015 13:48:07 +0100
Subject: Add an array implementation of cache and use it if we are not
 debugging

---
 tests/lib/memcache/arraycache.php | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 tests/lib/memcache/arraycache.php

(limited to 'tests')

diff --git a/tests/lib/memcache/arraycache.php b/tests/lib/memcache/arraycache.php
new file mode 100644
index 00000000000..1db673da2a8
--- /dev/null
+++ b/tests/lib/memcache/arraycache.php
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * Copyright (c) 2015 Joas Schilling <nickvergessen@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace Test\Memcache;
+
+class ArrayCache extends Cache {
+	protected function setUp() {
+		parent::setUp();
+		$this->instance = new \OC\Memcache\ArrayCache('');
+	}
+}
-- 
cgit v1.2.3