From 5677d679f44312b87cc12729a1b99cd787694f9c Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 14 Jan 2013 17:39:33 +0100 Subject: [PATCH] Removing Memcache*Test files --- .../classes/MemcachePoolTest.class.php | 292 --------- tests/phpunit/classes/MemcacheTest.class.php | 64 -- .../classes/MemcachedExceptionTest.class.php | 28 - tests/phpunit/classes/MemcachedTest.class.php | 616 ------------------ 4 files changed, 1000 deletions(-) delete mode 100644 tests/phpunit/classes/MemcachePoolTest.class.php delete mode 100644 tests/phpunit/classes/MemcacheTest.class.php delete mode 100644 tests/phpunit/classes/MemcachedExceptionTest.class.php delete mode 100644 tests/phpunit/classes/MemcachedTest.class.php diff --git a/tests/phpunit/classes/MemcachePoolTest.class.php b/tests/phpunit/classes/MemcachePoolTest.class.php deleted file mode 100644 index a5c6533447..0000000000 --- a/tests/phpunit/classes/MemcachePoolTest.class.php +++ /dev/null @@ -1,292 +0,0 @@ -object = new MemcachePool; - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - } - - /** - * @covers MemcachePool::connect - * @todo Implement testConnect(). - */ - public function testConnect() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::addserver - * @todo Implement testAddserver(). - */ - public function testAddserver() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::setserverparams - * @todo Implement testSetserverparams(). - */ - public function testSetserverparams() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::setfailurecallback - * @todo Implement testSetfailurecallback(). - */ - public function testSetfailurecallback() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::getserverstatus - * @todo Implement testGetserverstatus(). - */ - public function testGetserverstatus() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::findserver - * @todo Implement testFindserver(). - */ - public function testFindserver() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::getversion - * @todo Implement testGetversion(). - */ - public function testGetversion() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::add - * @todo Implement testAdd(). - */ - public function testAdd() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::set - * @todo Implement testSet(). - */ - public function testSet() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::replace - * @todo Implement testReplace(). - */ - public function testReplace() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::cas - * @todo Implement testCas(). - */ - public function testCas() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::append - * @todo Implement testAppend(). - */ - public function testAppend() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::prepend - * @todo Implement testPrepend(). - */ - public function testPrepend() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::get - * @todo Implement testGet(). - */ - public function testGet() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::delete - * @todo Implement testDelete(). - */ - public function testDelete() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::getstats - * @todo Implement testGetstats(). - */ - public function testGetstats() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::getextendedstats - * @todo Implement testGetextendedstats(). - */ - public function testGetextendedstats() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::setcompressthreshold - * @todo Implement testSetcompressthreshold(). - */ - public function testSetcompressthreshold() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::increment - * @todo Implement testIncrement(). - */ - public function testIncrement() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::decrement - * @todo Implement testDecrement(). - */ - public function testDecrement() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::close - * @todo Implement testClose(). - */ - public function testClose() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers MemcachePool::flush - * @todo Implement testFlush(). - */ - public function testFlush() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } -} diff --git a/tests/phpunit/classes/MemcacheTest.class.php b/tests/phpunit/classes/MemcacheTest.class.php deleted file mode 100644 index 5373425fdd..0000000000 --- a/tests/phpunit/classes/MemcacheTest.class.php +++ /dev/null @@ -1,64 +0,0 @@ -object = new Memcache; - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - } - - /** - * @covers Memcache::connect - * @todo Implement testConnect(). - */ - public function testConnect() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcache::pconnect - * @todo Implement testPconnect(). - */ - public function testPconnect() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcache::addserver - * @todo Implement testAddserver(). - */ - public function testAddserver() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } -} diff --git a/tests/phpunit/classes/MemcachedExceptionTest.class.php b/tests/phpunit/classes/MemcachedExceptionTest.class.php deleted file mode 100644 index df52dc4e90..0000000000 --- a/tests/phpunit/classes/MemcachedExceptionTest.class.php +++ /dev/null @@ -1,28 +0,0 @@ -object = new MemcachedException; - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - } -} diff --git a/tests/phpunit/classes/MemcachedTest.class.php b/tests/phpunit/classes/MemcachedTest.class.php deleted file mode 100644 index 085ba59ff2..0000000000 --- a/tests/phpunit/classes/MemcachedTest.class.php +++ /dev/null @@ -1,616 +0,0 @@ -object = new Memcached; - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - } - - /** - * @covers Memcached::getResultCode - * @todo Implement testGetResultCode(). - */ - public function testGetResultCode() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getResultMessage - * @todo Implement testGetResultMessage(). - */ - public function testGetResultMessage() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::get - * @todo Implement testGet(). - */ - public function testGet() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getByKey - * @todo Implement testGetByKey(). - */ - public function testGetByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getMulti - * @todo Implement testGetMulti(). - */ - public function testGetMulti() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getMultiByKey - * @todo Implement testGetMultiByKey(). - */ - public function testGetMultiByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getDelayed - * @todo Implement testGetDelayed(). - */ - public function testGetDelayed() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getDelayedByKey - * @todo Implement testGetDelayedByKey(). - */ - public function testGetDelayedByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::fetch - * @todo Implement testFetch(). - */ - public function testFetch() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::fetchAll - * @todo Implement testFetchAll(). - */ - public function testFetchAll() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::set - * @todo Implement testSet(). - */ - public function testSet() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::setByKey - * @todo Implement testSetByKey(). - */ - public function testSetByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::touch - * @todo Implement testTouch(). - */ - public function testTouch() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::touchByKey - * @todo Implement testTouchByKey(). - */ - public function testTouchByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::setMulti - * @todo Implement testSetMulti(). - */ - public function testSetMulti() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::setMultiByKey - * @todo Implement testSetMultiByKey(). - */ - public function testSetMultiByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::cas - * @todo Implement testCas(). - */ - public function testCas() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::casByKey - * @todo Implement testCasByKey(). - */ - public function testCasByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::add - * @todo Implement testAdd(). - */ - public function testAdd() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::addByKey - * @todo Implement testAddByKey(). - */ - public function testAddByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::append - * @todo Implement testAppend(). - */ - public function testAppend() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::appendByKey - * @todo Implement testAppendByKey(). - */ - public function testAppendByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::prepend - * @todo Implement testPrepend(). - */ - public function testPrepend() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::prependByKey - * @todo Implement testPrependByKey(). - */ - public function testPrependByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::replace - * @todo Implement testReplace(). - */ - public function testReplace() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::replaceByKey - * @todo Implement testReplaceByKey(). - */ - public function testReplaceByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::delete - * @todo Implement testDelete(). - */ - public function testDelete() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::deleteMulti - * @todo Implement testDeleteMulti(). - */ - public function testDeleteMulti() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::deleteByKey - * @todo Implement testDeleteByKey(). - */ - public function testDeleteByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::deleteMultiByKey - * @todo Implement testDeleteMultiByKey(). - */ - public function testDeleteMultiByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::increment - * @todo Implement testIncrement(). - */ - public function testIncrement() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::decrement - * @todo Implement testDecrement(). - */ - public function testDecrement() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::incrementByKey - * @todo Implement testIncrementByKey(). - */ - public function testIncrementByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::decrementByKey - * @todo Implement testDecrementByKey(). - */ - public function testDecrementByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::addServer - * @todo Implement testAddServer(). - */ - public function testAddServer() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::addServers - * @todo Implement testAddServers(). - */ - public function testAddServers() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getServerList - * @todo Implement testGetServerList(). - */ - public function testGetServerList() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getServerByKey - * @todo Implement testGetServerByKey(). - */ - public function testGetServerByKey() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::resetServerList - * @todo Implement testResetServerList(). - */ - public function testResetServerList() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::quit - * @todo Implement testQuit(). - */ - public function testQuit() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getStats - * @todo Implement testGetStats(). - */ - public function testGetStats() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getVersion - * @todo Implement testGetVersion(). - */ - public function testGetVersion() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getAllKeys - * @todo Implement testGetAllKeys(). - */ - public function testGetAllKeys() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::flush - * @todo Implement testFlush(). - */ - public function testFlush() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::getOption - * @todo Implement testGetOption(). - */ - public function testGetOption() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::setOption - * @todo Implement testSetOption(). - */ - public function testSetOption() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::setOptions - * @todo Implement testSetOptions(). - */ - public function testSetOptions() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::isPersistent - * @todo Implement testIsPersistent(). - */ - public function testIsPersistent() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } - - /** - * @covers Memcached::isPristine - * @todo Implement testIsPristine(). - */ - public function testIsPristine() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } -}