PHP Класс OpenSkill\Datatable\Queries\Parser\Datatable19QueryParserTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )