HttpSourceTest
package |
HttpSourceTest |
---|---|
subpackage |
Model.Datasource |
afterRequestProvider() : array
array
beforeRequestProvider() : array
array
calculateProvider() : array
array
constructProvider() : array
array
createProvider() : array
array
createSchemaProvider() : array
array
deleteProvider() : array
array
dropSchemaProvider() : array
array
executeProvider() : array
array
existsProvider() : array
array
getRequestLogProvider() : array
array
joinResponsesProvider() : array
array
logRequestProvider() : array
array
queryProvider() : array
array
readProvider() : array
array
requestFlowProvider() : array
array
setUp()
showLogProvider() : array
array
singleRequestProvider() : array
array
splitRequestProvider() : array
array
swapTokensProvider() : array
array
tearDown()
testAfterRequest(array $data, array $result, string $requestMethod, array $queryData, \HttpSourceEndpoint $Endpoint = null)
dataProvider |
afterRequestProvider |
---|---|
array
array
string
array
\HttpSourceEndpoint
testBeforeRequest(string $requestMethod)
dataProvider |
beforeRequestProvider |
---|---|
string
testCalculate(string $func, string $result, string $exception)
dataProvider |
calculateProvider |
---|---|
string
string
string
testConstruct(array $sourceConfig, array $config, string|\HttpSourceConnection|null $Connection, string $exception, integer $debugLevel)
dataProvider |
constructProvider |
---|---|
array
array
string|\HttpSourceConnection|null
string
integer
testCreate(\Model $Model, array $fields, array $values, array $result, array $request, string $exception)
dataProvider |
createProvider |
---|---|
\Model
array
array
array
array
string
testCreateSchema(array $schema, array $result, string $tableName)
dataProvider |
createSchemaProvider |
---|---|
array
array
string
testCredentials()
testDecoders()
testDelete(\Model $Model, array $conditions, array $result, array $request)
dataProvider |
deleteProvider |
---|---|
\Model
array
array
array
testDescribe()
testDropSchema(array $schema, array $result, string $tableName)
dataProvider |
dropSchemaProvider |
---|---|
array
array
string
testExecute(array $request, array $result)
dataProvider |
executeProvider |
---|---|
array
array
testExists(\Model $Model, array $conditions, array $result, array $request, boolean $endpointConfigured)
dataProvider |
existsProvider |
---|---|
\Model
array
array
array
boolean
testGetRequestLog(string $query, string $error, integer $affected, integer $numRows, integer $took, array $result)
dataProvider |
getRequestLogProvider |
---|---|
string
string
integer
integer
integer
array
testJoinResponses(array $request, array $response, \HttpSourceEndpoint $Endpoint = null)
dataProvider |
joinResponsesProvider |
---|---|
array
array
\HttpSourceEndpoint
testListSources()
testLogRequest(array $logs, array $result)
dataProvider |
logRequestProvider |
---|---|
array
array
testNoQueryCache()
testQuery(array $request, mixed $otherArg)
dataProvider |
queryProvider |
---|---|
array
mixed
testQueryCache()
testRead(\Model $Model, array $queryData, integer $recursive, array $result, boolean $cached, array $request)
dataProvider |
readProvider |
---|---|
\Model
array
integer
array
boolean
array
testRequestFlow(\Model $Model = null, string|array $requestData = null, string $requestMethod = null, array $request = null)
dataProvider |
requestFlowProvider |
---|---|
\Model
string|array
string
array
testShowLog(array $logs, boolean $sorted, boolean $html, array $result)
dataProvider |
showLogProvider |
---|---|
array
boolean
boolean
array
testSingleRequest(integer $debug, array $request, array $requestFull, array $response, array $responseResult, boolean $asModel, string $requestMethod, array $config, array $connectionData, string $log, \HttpSourceEndpoint $Endpoint = null)
dataProvider |
singleRequestProvider |
---|---|
integer
array
array
array
array
boolean
string
array
array
string
\HttpSourceEndpoint
testSplitRequest(array $request, array $response, \HttpSourceEndpoint $Endpoint = null)
dataProvider |
splitRequestProvider |
---|---|
array
array
\HttpSourceEndpoint
testSwapTokens(array $request, array $requestResult)
dataProvider |
swapTokensProvider |
---|---|
array
array
testTransactionParams()
testTransactions()
testUpdate(\Model $Model, array $fields, array $values, array $conditions, array $result, array $request)
dataProvider |
updateProvider |
---|---|
\Model
array
array
array
array
array
updateProvider() : array
array