cacert-testmgr/external/ZendFramework-1.9.5/tests/Zend/Http/Client/SocketKeepaliveTest.php

58 lines
1.9 KiB
PHP
Raw Permalink Normal View History

<?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: SocketKeepaliveTest.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_SocketKeepaliveTest extends Zend_Http_Client_SocketTest
{
/**
* Configuration array
*
* @var array
*/
protected $config = array(
'adapter' => 'Zend_Http_Client_Adapter_Socket',
'keepalive' => true
);
}