PHP Class Pinq\Tests\Integration\Queries\QueryBuildingTestBase

Inheritance: extends Pinq\Tests\PinqTestCase
Show file Open project: timetoogo/pinq

Protected Properties

Property Type Description
$functionInterpreter Pinq\Parsing\IFunctionInterpreter
$queryable Pinq\IQueryable
$repository Pinq\IRepository

Public Methods

Method Description
__construct ( $name = null, array $data = [], $dataName = '' )
allImplementations ( )
queryProviders ( ) : Pinq\Providers\IQueryProvider[]
queryables ( )
repositories ( )
repositoryProviders ( ) : Pinq\Providers\IRepositoryProvider[]

Protected Methods

Method Description
assertEqualsButIgnoreParameterIds ( $expected, $actual )
assertOperationExpressionMatches ( Expression $operationExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $correctValue )
assertOperationIsCorrect ( callable $operationFunction, $correctValue )
assertRequestExpressionMatches ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $correctValue )
assertRequestIsCorrect ( callable $requestFunction, $correctValue, $onlyAsParsedExpression = false )
parseQueryExpression ( callable $queryFunction, Pinq\Expressions\IEvaluationContext &$evaluationContext = null )
setUp ( )

Method Details

__construct() public method

public __construct ( $name = null, array $data = [], $dataName = '' )
$data array

allImplementations() final public method

final public allImplementations ( )

assertEqualsButIgnoreParameterIds() protected method

protected assertEqualsButIgnoreParameterIds ( $expected, $actual )

assertOperationExpressionMatches() abstract protected method

abstract protected assertOperationExpressionMatches ( Expression $operationExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $correctValue )
$operationExpression Pinq\Expressions\Expression
$evaluationContext Pinq\Expressions\IEvaluationContext

assertOperationIsCorrect() final protected method

final protected assertOperationIsCorrect ( callable $operationFunction, $correctValue )
$operationFunction callable

assertRequestExpressionMatches() abstract protected method

abstract protected assertRequestExpressionMatches ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $correctValue )
$requestExpression Pinq\Expressions\Expression
$evaluationContext Pinq\Expressions\IEvaluationContext

assertRequestIsCorrect() final protected method

final protected assertRequestIsCorrect ( callable $requestFunction, $correctValue, $onlyAsParsedExpression = false )
$requestFunction callable

parseQueryExpression() protected method

protected parseQueryExpression ( callable $queryFunction, Pinq\Expressions\IEvaluationContext &$evaluationContext = null )
$queryFunction callable
$evaluationContext Pinq\Expressions\IEvaluationContext

queryProviders() abstract public method

abstract public queryProviders ( ) : Pinq\Providers\IQueryProvider[]
return Pinq\Providers\IQueryProvider[]

queryables() final public method

final public queryables ( )

repositories() final public method

final public repositories ( )

repositoryProviders() abstract public method

abstract public repositoryProviders ( ) : Pinq\Providers\IRepositoryProvider[]
return Pinq\Providers\IRepositoryProvider[]

setUp() protected method

protected setUp ( )

Property Details

$functionInterpreter protected property

protected IFunctionInterpreter,Pinq\Parsing $functionInterpreter
return Pinq\Parsing\IFunctionInterpreter

$queryable protected property

protected IQueryable,Pinq $queryable
return Pinq\IQueryable

$repository protected property

protected IRepository,Pinq $repository
return Pinq\IRepository