Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • CurlHandleTest
  • CurlMultiProxyTest
  • CurlMultiTest
  • CurlVersionTest
  • RequestMediatorTest
  • Overview
  • Namespace
  • Class
  • Tree

Class CurlMultiTest

PHPUnit_Framework_TestCase
Extended by Guzzle\Tests\GuzzleTestCase
Extended by Guzzle\Tests\Http\Curl\CurlMultiTest
Namespace: Guzzle\Tests\Http\Curl
Covers: Guzzle\Http\Curl\CurlMulti
Group: server
Located at tests/Guzzle/Tests/Http/Curl/CurlMultiTest.php
Methods summary
protected
# setUp( )

Prepares the environment before running a test.

Prepares the environment before running a test.

public
# tearDown( )
public
# testConstructorCreateMultiHandle( )
public
# testDestructorClosesMultiHandle( )
public
# testRequestsCanBeAddedAndCounted( )
public
# testRequestsCanBeRemoved( )
public
# testsResetRemovesRequestsAndResetsState( )
public
# testSendsRequestsThroughCurl( )
public
# testSendsThroughCurlAndAggregatesRequestExceptions( )
public
# testCurlErrorsAreCaught( )
public
# testRemovesQueuedRequests( )
public
# testRemovesQueuedRequestsAddedInTransit( )
public
# testCatchesExceptionsBeforeSendingSingleRequest( )
public
# testCatchesExceptionsBeforeSendingMultipleRequests( )

Expectedexception

\Guzzle\Common\Exception\ExceptionCollection

Expectedexceptionmessage

Thrown before sending!
public
# testCatchesExceptionsWhenRemovingQueuedRequests( )
public
# testCatchesExceptionsWhenRemovingQueuedRequestsBeforeSending( )
public
# testDoesNotCatchRandomExceptionsThrownDuringPerform( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

test
public
# testDoesNotSendRequestsDecliningToBeSent( )
public
# testDoesNotThrowExceptionsWhenRequestsRecoverWithRetry( )
public
# testDoesNotThrowExceptionsWhenRequestsRecoverWithSuccess( )
public
# testHardResetReopensMultiHandle( )
public
# testThrowsMeaningfulExceptionsForCurlMultiErrors( )
public
# testRequestBeforeSendIncludesContentLengthHeaderIfEmptyBody( )
public
# testRemovesConflictingTransferEncodingHeader( )
Methods inherited from Guzzle\Tests\GuzzleTestCase
addMockedRequest(), assertContainsIns(), compareHeaders(), getMockResponse(), getMockedRequests(), getServer(), getServiceBuilder(), getWildcardObserver(), hasSubscriber(), setMockBasePath(), setMockResponse(), setServiceBuilder()
Properties inherited from Guzzle\Tests\GuzzleTestCase
$mockBasePath, $mockObserver, $server, $serviceBuilder
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen