PHP Class Carew\Tests\Twig\NodeVisitor\PaginatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: carew/carew

Méthodes publiques

Méthode Description
getNodeVisitorAlterNothingIfNotNeededTests ( )
testNodeVisitorAddSliceFilterAndPaginationNode ( )
testNodeVisitorAlterNothingIfNotNeeded ( $template )
testNodeVisitorAlterRenderDocumentAndAddSliceFilterAndPaginationNode ( )
testNodeVisitorAlterRenderDocumentAndAddSliceFilterAndPaginationNodeWithManyPaginate ( )
testNodeVisitorThrowExceptionIfFirstArgumentIsNotDefined ( )
testNodeVisitorThrowExceptionIfMaxPerPageValueIsNotAConstant ( )

Private Methods

Méthode Description
assertNodeFilterHasSlice ( Twig_Node_Expression_Filter $nodeFilter, $maxPerPage, $currentNumberOfPagination )
createEnv ( )

Method Details

getNodeVisitorAlterNothingIfNotNeededTests() public méthode

testNodeVisitorAddSliceFilterAndPaginationNode() public méthode

testNodeVisitorAlterNothingIfNotNeeded() public méthode

testNodeVisitorAlterRenderDocumentAndAddSliceFilterAndPaginationNode() public méthode

testNodeVisitorAlterRenderDocumentAndAddSliceFilterAndPaginationNodeWithManyPaginate() public méthode

testNodeVisitorThrowExceptionIfFirstArgumentIsNotDefined() public méthode

testNodeVisitorThrowExceptionIfMaxPerPageValueIsNotAConstant() public méthode