HttpSourceConfigTest

Extends \CakeTestCase

HttpSourceConfigTest

package

HttpSourceTest

subpackage

Config

Methods

Data provider for testAdd

addProvider() : array

Response

array

Data provider for testDescribe

describeProvider() : array

Response

array

Data provider for testEndpoint

endpointProvider() : array

Response

array

Data provider for testFindEndpoint

findEndpointProvider() : array

Response

array

Data provider for testListSources

listSourcesProvider() : array

Response

array

{@inheritdoc}

setUp() 

Test add endpoint

testAdd(array $Endpoints, boolean $exception) 
dataProvider

addProvider

Arguments

$Endpoints

array

$exception

boolean

Test cache name

testCacheName() 

Test describe

testDescribe(array $Endpoints, string $table, array $schema) 
dataProvider

describeProvider

Arguments

$Endpoints

array

$table

string

$schema

array

Test get endpoint by id

testEndpoint(integer|string $id, array $Endpoints, boolean $exception) 
dataProvider

endpointProvider

Arguments

$id

integer|string

$Endpoints

array

$exception

boolean

Test find endpoint by method, table, conditions

testFindEndpoint(integer|string $id, string $method, string $table, array $fields, array $Endpoints, boolean $exception) 
dataProvider

findEndpointProvider

Arguments

$id

integer|string

$method

string

$table

string

$fields

array

$Endpoints

array

$exception

boolean

Test list sources

testListSources(array $Endpoints, array $sources) 
dataProvider

listSourcesProvider

Arguments

$Endpoints

array

$sources

array

Test read params

testReadParams() 

Test result

testResult() 

Properties

Config

Config : \HttpSourceConfig

HttpSourceConfig

Type(s)

\HttpSourceConfig