Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phalcon
Tests
Paginator
PagerTest
PHP Class Phalcon\Tests\Paginator\PagerTest
See link:
http://www.phalconphp.com
Author:
Nikita Vershinin (
[email protected]
)
Inheritance:
extends
Codeception\TestCase\Test
Show file
Open project: phalcon/incubator
Protected Properties
Property
Type
Description
$tester
UnitTester
UnitTester Object
Public Methods
Method
Description
testCallingGetPagesInRangeMethodWithDefaultOptionsShouldReturnExpectedArray
( )
testCallingGetPagesInRangeMethodWithSliderOnEndShouldReturnExpectedArray
( )
testCallingGetPagesInRangeMethodWithSliderOnStartShouldReturnExpectedArray
( )
testCreatingPagerObjectWithoutOptionsShouldConstructObject
( )
testGetLayoutMethodShouldReturnObjectOfLayoutType
( )
testGetLayoutMethodShouldWithInvalidLayoutClassShouldThrowException
( )
testGetLayoutMethodShouldWithInvalidRangeClassShouldThrowException
( )
testGetLayoutMethodWithoutUrlMaskOptionShouldThrowException
( )
testPagerGetIteratorMethodWillCreateIteratorIfArrayIsPassed
( )
testPagerGetterMethodsShouldReturnExpectedValues
( )
Protected Methods
Method
Description
_after
( )
executed after each test
_before
( )
executed before each test
Method Details
_after()
protected
method
executed after each test
protected
_after
( )
_before()
protected
method
executed before each test
protected
_before
( )
testCallingGetPagesInRangeMethodWithDefaultOptionsShouldReturnExpectedArray()
public
method
public
testCallingGetPagesInRangeMethodWithDefaultOptionsShouldReturnExpectedArray
( )
testCallingGetPagesInRangeMethodWithSliderOnEndShouldReturnExpectedArray()
public
method
public
testCallingGetPagesInRangeMethodWithSliderOnEndShouldReturnExpectedArray
( )
testCallingGetPagesInRangeMethodWithSliderOnStartShouldReturnExpectedArray()
public
method
public
testCallingGetPagesInRangeMethodWithSliderOnStartShouldReturnExpectedArray
( )
testCreatingPagerObjectWithoutOptionsShouldConstructObject()
public
method
public
testCreatingPagerObjectWithoutOptionsShouldConstructObject
( )
testGetLayoutMethodShouldReturnObjectOfLayoutType()
public
method
public
testGetLayoutMethodShouldReturnObjectOfLayoutType
( )
testGetLayoutMethodShouldWithInvalidLayoutClassShouldThrowException()
public
method
public
testGetLayoutMethodShouldWithInvalidLayoutClassShouldThrowException
( )
testGetLayoutMethodShouldWithInvalidRangeClassShouldThrowException()
public
method
public
testGetLayoutMethodShouldWithInvalidRangeClassShouldThrowException
( )
testGetLayoutMethodWithoutUrlMaskOptionShouldThrowException()
public
method
public
testGetLayoutMethodWithoutUrlMaskOptionShouldThrowException
( )
testPagerGetIteratorMethodWillCreateIteratorIfArrayIsPassed()
public
method
public
testPagerGetIteratorMethodWillCreateIteratorIfArrayIsPassed
( )
testPagerGetterMethodsShouldReturnExpectedValues()
public
method
public
testPagerGetterMethodsShouldReturnExpectedValues
( )
Property Details
$tester
protected property
UnitTester Object
protected
UnitTester
$tester
return
UnitTester