PHP 클래스 OpenSkill\Datatable\Queries\Parser\Datatable19QueryParserTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: openskill/datatable

공개 메소드들

메소드 설명
testCanParse ( )
testCorrectParsing ( ) Will test if the query parser can parse the request params for datatable 1.9 http://legacy.datatables.net/usage/server-side
testEmptySearch ( ) Will test that an empty search will not trigger a search.
testSortingOrder ( ) Will test that the sorting order from the query can be used to sort the data in the correct order.
testSortingOrder2 ( ) Will test that the sorting order from the query can be used to sort the data in the correct order.
testSortingOrder3 ( ) Will test that the sorting order without all the columns in the configuration correctly throws an exception
testWrongParsing ( ) Will test if the query parser will ignore search and order advise if the columns forbid them

보호된 메소드들

메소드 설명
setUp ( ) Will set up a the parser to test

비공개 메소드들

메소드 설명
sortingOrderGeneration ( boolean $includeSecondColumnInConfiguration = true ) The real testSortingOrder2 & testSortingOrder3 test

메소드 상세

setUp() 보호된 메소드

Will set up a the parser to test
protected setUp ( )

testCanParse() 공개 메소드

public testCanParse ( )

testCorrectParsing() 공개 메소드

Will test if the query parser can parse the request params for datatable 1.9 http://legacy.datatables.net/usage/server-side
public testCorrectParsing ( )

testEmptySearch() 공개 메소드

Will test that an empty search will not trigger a search.
public testEmptySearch ( )

testSortingOrder() 공개 메소드

Will test that the sorting order from the query can be used to sort the data in the correct order.
public testSortingOrder ( )

testSortingOrder2() 공개 메소드

Will test that the sorting order from the query can be used to sort the data in the correct order.
public testSortingOrder2 ( )

testSortingOrder3() 공개 메소드

Will test that the sorting order without all the columns in the configuration correctly throws an exception
public testSortingOrder3 ( )

testWrongParsing() 공개 메소드

Will test if the query parser will ignore search and order advise if the columns forbid them
public testWrongParsing ( )