From 6f0b43f156098c9ed27e354f64f310d2f80c8027 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 23 Apr 2010 20:31:08 -0400 Subject: [PATCH] Fixing fatal error in Cache stub classes. --- .../test_app/libs/cache/test_app_cache.php | 19 ++++++++++++++++++- .../libs/cache/test_plugin_cache.php | 19 ++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/cake/tests/test_app/libs/cache/test_app_cache.php b/cake/tests/test_app/libs/cache/test_app_cache.php index 1cc9b7c52..97b74f389 100644 --- a/cake/tests/test_app/libs/cache/test_app_cache.php +++ b/cake/tests/test_app/libs/cache/test_app_cache.php @@ -18,5 +18,22 @@ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ class TestAppCacheEngine extends CacheEngine { - + public function write($key, $value, $duration) { + + } + public function read($key) { + + } + public function delete($key) { + + } + public function increment($key, $offset = 1) { + + } + public function decrement($key, $offset = 1) { + + } + public function clear($check) { + + } } \ No newline at end of file diff --git a/cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php b/cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php index 9b63de842..642056772 100644 --- a/cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php +++ b/cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php @@ -18,5 +18,22 @@ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ class TestPluginCacheEngine extends CacheEngine { - + public function write($key, $value, $duration) { + + } + public function read($key) { + + } + public function delete($key) { + + } + public function increment($key, $offset = 1) { + + } + public function decrement($key, $offset = 1) { + + } + public function clear($check) { + + } } \ No newline at end of file