HttpSourceConnectionTest
package |
HttpSourceTest |
---|---|
subpackage |
Model.Datasource |
addAuthProvider() : array
array
constructProvider() : array
array
decodersProvider() : array
array
defaultDecodersProvider() : array
array
getNumRowsProvider() : array
array
quoteProvider() : array
array
requestAttemptProvider() : array
array
requestProvider() : array
array
setUp()
testAddOauth(string $name, array $request, array $result, array $config, array $credentials, string $exception)
dataProvider |
addAuthProvider |
---|---|
string
array
array
array
array
string
testConstruct(array $config, string $transportName, array $transportConfig, \HttpSocket $Transport = null)
dataProvider |
constructProvider |
---|---|
array
string
array
\HttpSocket
testCredentials()
testDecoders(array $setDecoders, array $getDecoders, string $exception)
dataProvider |
decodersProvider |
---|---|
array
array
string
testDefaultDecoders(string $contentType, string $encoded, array $decoded)
dataProvider |
defaultDecodersProvider |
---|---|
string
string
array
testDisconnect()
testGetNumRows(mixed $data, integer $numRows)
dataProvider |
getNumRowsProvider |
---|---|
mixed
integer
testQuote(mixed $data, integer $type)
dataProvider |
quoteProvider |
---|---|
mixed
integer
testRequest(array $request, \array_bool $response, array $data, array $config, string $authMethod)
dataProvider |
requestProvider |
---|---|
array
\array_bool
array
array
string
testRequestAttempt(array $request, array|boolean $response, array $attempts, array $config, string $lastError, integer $debugLevel = null)
dataProvider |
requestAttemptProvider |
---|---|
array
array|boolean
array
array
string
integer