SocketKeepaliveTest.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. require_once dirname(__FILE__) . '/SocketTest.php';
  3. /**
  4. * This Testsuite includes all Zend_Http_Client that require a working web
  5. * server to perform. It was designed to be extendable, so that several
  6. * test suites could be run against several servers, with different client
  7. * adapters and configurations.
  8. *
  9. * Note that $this->baseuri must point to a directory on a web server
  10. * containing all the files under the _files directory. You should symlink
  11. * or copy these files and set 'baseuri' properly.
  12. *
  13. * You can also set the proper constand in your test configuration file to
  14. * point to the right place.
  15. *
  16. * @category Zend
  17. * @package Zend_Http_Client
  18. * @subpackage UnitTests
  19. * @version $Id$
  20. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  21. * @license http://framework.zend.com/license/new-bsd New BSD License
  22. */
  23. class Zend_Http_Client_SocketKeepaliveTest extends Zend_Http_Client_SocketTest
  24. {
  25. /**
  26. * Configuration array
  27. *
  28. * @var array
  29. */
  30. protected $config = array(
  31. 'adapter' => 'Zend_Http_Client_Adapter_Socket',
  32. 'keepalive' => true
  33. );
  34. }