Open Journal Systems
3.3.0
|
Data Fields | |
$requestHandle | |
![]() | |
$mockObserver | |
Protected Member Functions | |
updateForHandle (RequestInterface $request) | |
![]() | |
hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
Additional Inherited Members | |
![]() | |
static | getServer () |
static | getServiceBuilder () |
static | setMockBasePath ($path) |
static | setServiceBuilder (ServiceBuilderInterface $builder) |
![]() | |
static | $server |
static | $serviceBuilder |
![]() | |
static | $mockBasePath |
Guzzle\Tests\Http\Curl\CurlHandleTest::dataProvider | ( | ) |
Data provider for factory tests
Definition at line 187 of file CurlHandleTest.php.
References Guzzle\Http\EntityBody\factory().
Guzzle\Tests\Http\Curl\CurlHandleTest::provideCurlConfig | ( | ) |
Data provider for curl configurations
Definition at line 813 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::requestMethodProvider | ( | ) |
Definition at line 779 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::setUp | ( | ) |
Definition at line 32 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::testAccountsForMissingStdErr | ( | ) |
Definition at line 98 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::testAddsCustomCurlOptions | ( | ) |
Definition at line 749 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testAllowsCurloptEncodingToBeSet | ( | ) |
Definition at line 859 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\assertContainsIns(), Guzzle\Tests\GuzzleTestCase\getServer(), and Guzzle\Tests\Http\Curl\CurlHandleTest\updateForHandle().
Guzzle\Tests\Http\Curl\CurlHandleTest::testAllowsWireTransferInfoToBeEnabled | ( | ) |
Definition at line 740 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testCanSendBodyAsString | ( | ) |
Definition at line 710 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testCanSendPostBodyAsString | ( | ) |
Definition at line 725 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testConstructorExpectsCurlResource | ( | ) |
@expectedException \InvalidArgumentException
Definition at line 40 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::testConstructorExpectsProperOptions | ( | ) |
Definition at line 45 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testConstructorInitializesObject | ( | ) |
Definition at line 65 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testCurlConfigurationOptionsAreSet | ( | ) |
Definition at line 689 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testDeterminesIfResourceIsAvailable | ( | ) |
Definition at line 107 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testEnsuresRequestsHaveResponsesWhenUpdatingFromTransfer | ( | ) |
Definition at line 703 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testFactoryCreatesCurlBasedOnRequest | ( | $method, | |
$url, | |||
$headers, | |||
$body, | |||
$options, | |||
$expectedHeaders = null |
|||
) |
@dataProvider dataProvider
Definition at line 508 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\compareHeaders(), Guzzle\Http\Curl\CurlHandle\factory(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testFactoryUsesSpecifiedProtocol | ( | ) |
Definition at line 564 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), and Guzzle\Http\Message\RequestFactory\getInstance().
Guzzle\Tests\Http\Curl\CurlHandleTest::testGetInfoWithoutDebugMode | ( | ) |
Definition at line 158 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testParseCurlConfigConvertsStringKeysToConstantKeys | ( | $options, | |
$expected | |||
) |
@dataProvider provideCurlConfig
Definition at line 802 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\parseCurlConfig().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSeeksToBeginningOfStreamWhenSending | ( | ) |
Definition at line 840 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsExpectHeaderWhenSizeIsGreaterThanCutoff | ( | ) |
Definition at line 876 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\assertContainsIns(), Guzzle\Tests\GuzzleTestCase\getServer(), and Guzzle\Tests\Http\Curl\CurlHandleTest\updateForHandle().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsPostFieldsForNonPostRequests | ( | ) |
Definition at line 909 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsPostFilesForNonPostRequests | ( | ) |
Definition at line 931 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsPostRequestsWithFields | ( | ) |
Definition at line 633 of file CurlHandleTest.php.
References Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsPostRequestsWithFiles | ( | ) |
Definition at line 657 of file CurlHandleTest.php.
References Guzzle\Http\Message\RequestFactory\getInstance(), Guzzle\Tests\GuzzleTestCase\getServer(), and Guzzle\Tests\Http\Curl\CurlHandleTest\updateForHandle().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsPostUploadsWithContentDispositionHeaders | ( | ) |
Definition at line 757 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSendsRequestsWithNoBodyUsingContentLengthZero | ( | $method | ) |
@dataProvider requestMethodProvider
Definition at line 787 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testSetsCurloptEncodingWhenAcceptEncodingHeaderIsSet | ( | ) |
Definition at line 891 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\assertContainsIns(), Guzzle\Tests\GuzzleTestCase\getServer(), and Guzzle\Tests\Http\Curl\CurlHandleTest\updateForHandle().
Guzzle\Tests\Http\Curl\CurlHandleTest::testStoresCurlErrorNumber | ( | ) |
Definition at line 90 of file CurlHandleTest.php.
Guzzle\Tests\Http\Curl\CurlHandleTest::testStoresStdErr | ( | ) |
Definition at line 77 of file CurlHandleTest.php.
References Guzzle\Http\Curl\CurlHandle\factory(), and Guzzle\Http\Message\RequestFactory\getInstance().
Guzzle\Tests\Http\Curl\CurlHandleTest::testUploadsPutData | ( | ) |
Definition at line 573 of file CurlHandleTest.php.
References Guzzle\Http\EntityBody\factory(), Guzzle\Tests\GuzzleTestCase\getServer(), and Guzzle\Tests\GuzzleTestCase\getWildcardObserver().
Guzzle\Tests\Http\Curl\CurlHandleTest::testUploadsPutDataUsingChunkedEncodingWhenForced | ( | ) |
Definition at line 618 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testUploadsPutDataUsingChunkedEncodingWhenLengthCannotBeDetermined | ( | ) |
Definition at line 601 of file CurlHandleTest.php.
References Guzzle\Http\EntityBody\factory(), and Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testWrapsCurlOptions | ( | ) |
Definition at line 170 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
Guzzle\Tests\Http\Curl\CurlHandleTest::testWrapsErrorsAndInfo | ( | ) |
Definition at line 122 of file CurlHandleTest.php.
References Guzzle\Tests\GuzzleTestCase\getServer().
|
protected |
Definition at line 22 of file CurlHandleTest.php.
References Guzzle\Common\HasDispatcherInterface\getEventDispatcher().
Referenced by Guzzle\Tests\Http\Curl\CurlHandleTest\testAllowsCurloptEncodingToBeSet(), Guzzle\Tests\Http\Curl\CurlHandleTest\testSendsExpectHeaderWhenSizeIsGreaterThanCutoff(), Guzzle\Tests\Http\Curl\CurlHandleTest\testSendsPostRequestsWithFiles(), and Guzzle\Tests\Http\Curl\CurlHandleTest\testSetsCurloptEncodingWhenAcceptEncodingHeaderIsSet().
Guzzle\Tests\Http\Curl\CurlHandleTest::$requestHandle |
Definition at line 20 of file CurlHandleTest.php.