|
@@ -1,616 +0,0 @@
|
|
|
-<?php
|
|
|
-/**
|
|
|
- * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57.
|
|
|
- */
|
|
|
-class MemcachedTest extends PHPUnit_Framework_TestCase
|
|
|
-{
|
|
|
- /**
|
|
|
- * @var Memcached
|
|
|
- */
|
|
|
- protected $object;
|
|
|
-
|
|
|
- /**
|
|
|
- * Sets up the fixture, for example, opens a network connection.
|
|
|
- * This method is called before a test is executed.
|
|
|
- */
|
|
|
- protected function setUp()
|
|
|
- {
|
|
|
- $this->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.'
|
|
|
- );
|
|
|
- }
|
|
|
-}
|