TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PaginateControllerTest Class Reference
Inheritance diagram for PaginateControllerTest:

Public Member Functions

 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinks ()
 
 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinks ()
 
 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinksWhenOnFirstPage ()
 
 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinksWhenOnFirstPage ()
 
 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinksWhenOnLastPage ()
 
 calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinksWhenOnLastPage ()
 
 acceptQueryResultInterfaceAsObjects ()
 
 acceptArrayAsObjects ()
 
 acceptObjectStorageAsObjects ()
 
 prepareObjectsSliceReturnsCorrectPortionForObjectStorageAndFirstPage ()
 
 prepareObjectsSliceReturnsCorrectPortionForObjectStorageAndSecondPage ()
 
 prepareObjectsSliceReturnsCorrectPortionForArrayAndFirstPage ()
 
 prepareObjectsSliceReturnsCorrectPortionForArrayAndSecondPage ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $query
 
 $controller
 
 $querySettings
 
 $persistenceManager
 
 $backend
 
 $dataMapper
 

Detailed Description

Test case

Definition at line 18 of file PaginateControllerTest.php.

Member Function Documentation

acceptArrayAsObjects ( )
Test:

Definition at line 166 of file PaginateControllerTest.php.

acceptObjectStorageAsObjects ( )
Test:

Definition at line 177 of file PaginateControllerTest.php.

acceptQueryResultInterfaceAsObjects ( )
Test:

Definition at line 153 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinks ( )
Test:

Definition at line 75 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinksWhenOnFirstPage ( )
Test:

Definition at line 101 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForEvenMaximumNumberOfLinksWhenOnLastPage ( )
Test:

Definition at line 127 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinks ( )
Test:

Definition at line 88 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinksWhenOnFirstPage ( )
Test:

Definition at line 114 of file PaginateControllerTest.php.

calculateDisplayRangeDeterminesCorrectDisplayRangeStartAndEndForOddMaximumNumberOfLinksWhenOnLastPage ( )
Test:

Definition at line 140 of file PaginateControllerTest.php.

prepareObjectsSliceReturnsCorrectPortionForArrayAndFirstPage ( )
Test:

Definition at line 225 of file PaginateControllerTest.php.

prepareObjectsSliceReturnsCorrectPortionForArrayAndSecondPage ( )
Test:

Definition at line 243 of file PaginateControllerTest.php.

prepareObjectsSliceReturnsCorrectPortionForObjectStorageAndFirstPage ( )
Test:

Definition at line 188 of file PaginateControllerTest.php.

prepareObjectsSliceReturnsCorrectPortionForObjectStorageAndSecondPage ( )
Test:

Definition at line 206 of file PaginateControllerTest.php.

setUp ( )
protected

Sets up this test case

Returns
void

Definition at line 55 of file PaginateControllerTest.php.

Member Data Documentation

$backend
protected

Definition at line 43 of file PaginateControllerTest.php.

$controller
protected

Definition at line 28 of file PaginateControllerTest.php.

$dataMapper
protected

Definition at line 48 of file PaginateControllerTest.php.

$persistenceManager
protected

Definition at line 38 of file PaginateControllerTest.php.

$query
protected

Definition at line 23 of file PaginateControllerTest.php.

$querySettings
protected

Definition at line 33 of file PaginateControllerTest.php.