PHP Class OpenSkill\Datatable\Queries\Parser\Datatable110QueryParserTest

Inheritance: extends PHPUnit_Framework_TestCase
ファイルを表示 Open project: openskill/datatable

Public Methods

Method Description
testArrayHasValidKeys ( )
testCanParse ( )
testCorrectParsing ( ) Will test if the query parser can parse the request params for datatable 1.10 http://datatables.net/examples/data_sources/server_side.html
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 ( )
testWrongParsing ( ) Will test if the query parser will ignore search and order advise if the columns forbid them

Protected Methods

Method Description
setUp ( ) Will set up a the parser to test

Method Details

setUp() protected method

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

testArrayHasValidKeys() public method

testCanParse() public method

public testCanParse ( )

testCorrectParsing() public method

Will test if the query parser can parse the request params for datatable 1.10 http://datatables.net/examples/data_sources/server_side.html
public testCorrectParsing ( )

testEmptySearch() public method

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

testSortingOrder() public method

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

testSortingOrder2() public method

public testSortingOrder2 ( )

testWrongParsing() public method

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