PHP Class Pinq\Tests\Integration\Traversable\OrderByTest

Inheritance: extends TraversableTest
Mostra file Open project: timetoogo/pinq

Public Methods

Method Description
dates ( )
names ( )
testCalledWithValueAndKeyParameters ( Pinq\ITraversable $traversable, array $data )
testThatDescendingNegatingNumbersIsEquivalentToOriginal ( Pinq\ITraversable $numbers, array $data )
testThatExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
testThatMultipleExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
testThatOrderByAscendingIsEquivalentToOrderByWithAscendingDirection ( Pinq\ITraversable $names, array $data )
testThatOrderByDescendingIsEquivalentToOrderByWithDescendingDirection ( Pinq\ITraversable $names, array $data )
testThatOrderByMaintainsNonScalarKeys ( Pinq\ITraversable $dates, array $data )
testThatOrderByMaintainsReferences ( Pinq\ITraversable $traversable )
testThatOrderByNegatingNumbersIsEquivalentToArrayReverse ( Pinq\ITraversable $numbers, array $data )
testThatOrderByOrdersDatesCorrectly ( Pinq\ITraversable $dates, array $data )
testThatOrderStringsByMultipleCharsOrdersCorrectly ( Pinq\ITraversable $names, array $data )
testThatOrderStringsCharsAndLengthCharsDescendingOrdersCorrectly ( Pinq\ITraversable $names, array $data )
testThatOrderStringsCharsAndLengthCharsOrdersCorrectly ( Pinq\ITraversable $names, array $data )
testThatThenByAscendingIsEquivalentToThenByWithAscendingDirection ( Pinq\ITraversable $names, array $data )
testThatThenByDescendingIsEquivalentToThenByWithDescendingDirection ( Pinq\ITraversable $names, array $data )

Protected Methods

Method Description
_testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )

Method Details

_testReturnsNewInstanceOfSameTypeWithSameScheme() protected method

protected _testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

dates() public method

public dates ( )

names() public method

public names ( )

testCalledWithValueAndKeyParameters() public method

public testCalledWithValueAndKeyParameters ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatDescendingNegatingNumbersIsEquivalentToOriginal() public method

public testThatDescendingNegatingNumbersIsEquivalentToOriginal ( Pinq\ITraversable $numbers, array $data )
$numbers Pinq\ITraversable
$data array

testThatExecutionIsDeferred() public method

public testThatExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatMultipleExecutionIsDeferred() public method

public testThatMultipleExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatOrderByAscendingIsEquivalentToOrderByWithAscendingDirection() public method

public testThatOrderByAscendingIsEquivalentToOrderByWithAscendingDirection ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatOrderByDescendingIsEquivalentToOrderByWithDescendingDirection() public method

public testThatOrderByDescendingIsEquivalentToOrderByWithDescendingDirection ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatOrderByMaintainsNonScalarKeys() public method

public testThatOrderByMaintainsNonScalarKeys ( Pinq\ITraversable $dates, array $data )
$dates Pinq\ITraversable
$data array

testThatOrderByMaintainsReferences() public method

public testThatOrderByMaintainsReferences ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

testThatOrderByNegatingNumbersIsEquivalentToArrayReverse() public method

public testThatOrderByNegatingNumbersIsEquivalentToArrayReverse ( Pinq\ITraversable $numbers, array $data )
$numbers Pinq\ITraversable
$data array

testThatOrderByOrdersDatesCorrectly() public method

public testThatOrderByOrdersDatesCorrectly ( Pinq\ITraversable $dates, array $data )
$dates Pinq\ITraversable
$data array

testThatOrderStringsByMultipleCharsOrdersCorrectly() public method

public testThatOrderStringsByMultipleCharsOrdersCorrectly ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatOrderStringsCharsAndLengthCharsDescendingOrdersCorrectly() public method

public testThatOrderStringsCharsAndLengthCharsDescendingOrdersCorrectly ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatOrderStringsCharsAndLengthCharsOrdersCorrectly() public method

public testThatOrderStringsCharsAndLengthCharsOrdersCorrectly ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatThenByAscendingIsEquivalentToThenByWithAscendingDirection() public method

public testThatThenByAscendingIsEquivalentToThenByWithAscendingDirection ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array

testThatThenByDescendingIsEquivalentToThenByWithDescendingDirection() public method

public testThatThenByDescendingIsEquivalentToThenByWithDescendingDirection ( Pinq\ITraversable $names, array $data )
$names Pinq\ITraversable
$data array