PHP Class GuzzleHttp\Test\Handler\CurlFactoryTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: nystudio107/instantanalytics

Public Methods

Method Description
setUpBeforeClass ( )
tearDownAfterClass ( )
testAddsCert ( )
testAddsCertWithPassword ( )
testAddsProxy ( )
testAddsSslKey ( )
testAddsSslKeyWithPassword ( )
testAddsStreamingBody ( )
testAddsTimeouts ( )
testAddsVerifyAsTrue ( )
testAddsViaScheme ( )
testCanAddCustomCurlOptions ( )
testCanChangeCurlOptions ( )
testCanDisableVerify ( )
testCanSetVerifyToFile ( )
testClosesIdleHandles ( )
testCreatesConnectException ( )
testCreatesCurlHandle ( )
testDecodesGzippedResponses ( )
testDecodesGzippedResponsesWithHeader ( )
testDoesNotAddMultipleContentLengthHeaders ( )
testDoesNotForceDecode ( )
testDoesNotRewindUnseekableBody ( )
testEmitsDebugInfoToStream ( )
testEmitsProgressToFunction ( )
testEnsuresDirExistsBeforeThrowingWarning ( )
testEnsuresOnHeadersIsCallable ( )
testFailsWhenCannotRewindRetryAfterNoResponse ( )
testFailsWhenRetryMoreThanThreeTimes ( )
testHandles100Continue ( )
testInvokesOnStatsOnError ( )
testInvokesOnStatsOnSuccess ( )
testProtocolVersion ( )
testRejectsPromiseWhenOnHeadersFails ( )
testReportsOriginalSizeAndContentEncodingAfterDecoding ( )
testRetriesWhenBodyCanBeRewound ( )
testRewindsBodyIfPossible ( )
testSavesToFileOnDisk ( )
testSavesToGuzzleStream ( )
testSavesToStream ( )
testSendsHeadRequests ( )
testSendsPostWithNoBodyOrDefaultContentType ( )
testSuccessfullyCallsOnHeadersBeforeWritingToSink ( )
testValidatesCert ( )
testValidatesProgress ( )
testValidatesSslKey ( )
testValidatesVerify ( )

Private Methods

Method Description
addDecodeResponse ( $withEncoding = true )
checkNoProxyForHost ( $url, $noProxy, $assertUseProxy )

Method Details

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

tearDownAfterClass() public static method

public static tearDownAfterClass ( )

testAddsCert() public method

public testAddsCert ( )

testAddsCertWithPassword() public method

testAddsProxy() public method

public testAddsProxy ( )

testAddsSslKey() public method

public testAddsSslKey ( )

testAddsSslKeyWithPassword() public method

testAddsStreamingBody() public method

testAddsTimeouts() public method

public testAddsTimeouts ( )

testAddsVerifyAsTrue() public method

testAddsViaScheme() public method

public testAddsViaScheme ( )

testCanAddCustomCurlOptions() public method

testCanChangeCurlOptions() public method

testCanDisableVerify() public method

testCanSetVerifyToFile() public method

testClosesIdleHandles() public method

testCreatesConnectException() public method

testCreatesCurlHandle() public method

testDecodesGzippedResponses() public method

testDecodesGzippedResponsesWithHeader() public method

testDoesNotAddMultipleContentLengthHeaders() public method

testDoesNotForceDecode() public method

testDoesNotRewindUnseekableBody() public method

testEmitsDebugInfoToStream() public method

testEmitsProgressToFunction() public method

testEnsuresDirExistsBeforeThrowingWarning() public method

testEnsuresOnHeadersIsCallable() public method

testFailsWhenCannotRewindRetryAfterNoResponse() public method

testFailsWhenRetryMoreThanThreeTimes() public method

testHandles100Continue() public method

testInvokesOnStatsOnError() public method

testInvokesOnStatsOnSuccess() public method

testProtocolVersion() public method

public testProtocolVersion ( )

testRejectsPromiseWhenOnHeadersFails() public method

testReportsOriginalSizeAndContentEncodingAfterDecoding() public method

testRetriesWhenBodyCanBeRewound() public method

testRewindsBodyIfPossible() public method

testSavesToFileOnDisk() public method

testSavesToGuzzleStream() public method

testSavesToStream() public method

public testSavesToStream ( )

testSendsHeadRequests() public method

testSendsPostWithNoBodyOrDefaultContentType() public method

testSuccessfullyCallsOnHeadersBeforeWritingToSink() public method

testValidatesCert() public method

public testValidatesCert ( )

testValidatesProgress() public method

testValidatesSslKey() public method

public testValidatesSslKey ( )

testValidatesVerify() public method

public testValidatesVerify ( )