59 lines
2 KiB
PHP
59 lines
2 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Zend Framework
|
||
|
*
|
||
|
* LICENSE
|
||
|
*
|
||
|
* This source file is subject to the new BSD license that is bundled
|
||
|
* with this package in the file LICENSE.txt.
|
||
|
* It is also available through the world-wide-web at this URL:
|
||
|
* http://framework.zend.com/license/new-bsd
|
||
|
* If you did not receive a copy of the license and are unable to
|
||
|
* obtain it through the world-wide-web, please send an email
|
||
|
* to license@zend.com so we can send you a copy immediately.
|
||
|
*
|
||
|
* @category Zend
|
||
|
* @package Zend_Http_Client
|
||
|
* @subpackage UnitTests
|
||
|
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||
|
* @version $Id: SocketPersistentTest.php 17363 2009-08-03 07:40:18Z bkarwin $
|
||
|
*/
|
||
|
|
||
|
require_once dirname(__FILE__) . '/SocketTest.php';
|
||
|
|
||
|
/**
|
||
|
* This Testsuite includes all Zend_Http_Client that require a working web
|
||
|
* server to perform. It was designed to be extendable, so that several
|
||
|
* test suites could be run against several servers, with different client
|
||
|
* adapters and configurations.
|
||
|
*
|
||
|
* Note that $this->baseuri must point to a directory on a web server
|
||
|
* containing all the files under the _files directory. You should symlink
|
||
|
* or copy these files and set 'baseuri' properly.
|
||
|
*
|
||
|
* You can also set the proper constand in your test configuration file to
|
||
|
* point to the right place.
|
||
|
*
|
||
|
* @category Zend
|
||
|
* @package Zend_Http_Client
|
||
|
* @subpackage UnitTests
|
||
|
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||
|
* @group Zend_Http
|
||
|
* @group Zend_Http_Client
|
||
|
*/
|
||
|
class Zend_Http_Client_SocketPersistentTest extends Zend_Http_Client_SocketTest
|
||
|
{
|
||
|
/**
|
||
|
* Configuration array
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $config = array(
|
||
|
'adapter' => 'Zend_Http_Client_Adapter_Socket',
|
||
|
'persistent' => true,
|
||
|
'keepalive' => true
|
||
|
);
|
||
|
}
|