Преглед изворни кода

Removing Memcache*Test files

Julio Montoya пре 12 година
родитељ
комит
5677d679f4

+ 0 - 292
tests/phpunit/classes/MemcachePoolTest.class.php

@@ -1,292 +0,0 @@
-<?php
-/**
- * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57.
- */
-class MemcachePoolTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * @var MemcachePool
-     */
-    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 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.'
-        );
-    }
-}

+ 0 - 64
tests/phpunit/classes/MemcacheTest.class.php

@@ -1,64 +0,0 @@
-<?php
-/**
- * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57.
- */
-class MemcacheTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * @var Memcache
-     */
-    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 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.'
-        );
-    }
-}

+ 0 - 28
tests/phpunit/classes/MemcachedExceptionTest.class.php

@@ -1,28 +0,0 @@
-<?php
-/**
- * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57.
- */
-class MemcachedExceptionTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * @var MemcachedException
-     */
-    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 MemcachedException;
-    }
-
-    /**
-     * Tears down the fixture, for example, closes a network connection.
-     * This method is called after a test is executed.
-     */
-    protected function tearDown()
-    {
-    }
-}

+ 0 - 616
tests/phpunit/classes/MemcachedTest.class.php

@@ -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.'
-        );
-    }
-}