SocketKeepaliveTest.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Http_Client
  17. * @subpackage UnitTests
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. require_once dirname(__FILE__) . '/SocketTest.php';
  23. /**
  24. * This Testsuite includes all Zend_Http_Client that require a working web
  25. * server to perform. It was designed to be extendable, so that several
  26. * test suites could be run against several servers, with different client
  27. * adapters and configurations.
  28. *
  29. * Note that $this->baseuri must point to a directory on a web server
  30. * containing all the files under the _files directory. You should symlink
  31. * or copy these files and set 'baseuri' properly.
  32. *
  33. * You can also set the proper constand in your test configuration file to
  34. * point to the right place.
  35. *
  36. * @category Zend
  37. * @package Zend_Http_Client
  38. * @subpackage UnitTests
  39. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  40. * @license http://framework.zend.com/license/new-bsd New BSD License
  41. * @group Zend_Http
  42. * @group Zend_Http_Client
  43. */
  44. class Zend_Http_Client_SocketKeepaliveTest extends Zend_Http_Client_SocketTest
  45. {
  46. /**
  47. * Configuration array
  48. *
  49. * @var array
  50. */
  51. protected $config = array(
  52. 'adapter' => 'Zend_Http_Client_Adapter_Socket',
  53. 'keepalive' => true
  54. );
  55. }