PHP Class Pinq\Tests\Integration\Providers\Utilities\QueryResultCollectionTest

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

Protected Properties

Property Type Description
$queryResultsCollection Pinq\Providers\Utilities\QueryResultCollection
$queryable Pinq\IQueryable

Public Methods

Method Description
testCachesSavedResults ( )
testCannotComputeWithUnapplicableSavedResults ( )
testClearRemovesAllSavedResults ( )
testComputesResultsFromSavedParentRequests ( )
testComputesResultsFromUsingMostApplicableParentRequest ( )
testOptimizeQueryReturnsExpression ( )
testRemovesCorrectSavedResults ( )

Protected Methods

Method Description
assertCannotComputesResult ( Expression $expression )
assertComputesResult ( Expression $expression, $result )
setUp ( )

Method Details

assertCannotComputesResult() protected method

protected assertCannotComputesResult ( Expression $expression )
$expression Pinq\Expressions\Expression

assertComputesResult() protected method

protected assertComputesResult ( Expression $expression, $result )
$expression Pinq\Expressions\Expression

setUp() protected method

protected setUp ( )

testCachesSavedResults() public method

testCannotComputeWithUnapplicableSavedResults() public method

testClearRemovesAllSavedResults() public method

testComputesResultsFromSavedParentRequests() public method

testComputesResultsFromUsingMostApplicableParentRequest() public method

testOptimizeQueryReturnsExpression() public method

testRemovesCorrectSavedResults() public method

Property Details

$queryResultsCollection protected_oe property

protected QueryResultCollection,Pinq\Providers\Utilities $queryResultsCollection
return Pinq\Providers\Utilities\QueryResultCollection

$queryable protected_oe property

protected IQueryable,Pinq $queryable
return Pinq\IQueryable