[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Test tablelib.
Copyright: | 2013 Damyon Wiese <damyon@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 608 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_tablelib_testcase:: (20 methods):
generate_columns()
generate_headers()
generate_data()
run_table_test()
create_and_setup_table()
test_empty_table()
test_has_next_pagination()
test_has_hide()
test_has_not_hide()
test_has_sort()
test_has_not_sort()
test_has_not_next_pagination()
test_1_col()
test_empty_rows()
test_5_cols()
test_50_cols()
test_get_row_html()
test_persistent_table()
prepare_table_for_reset_test()
test_can_be_reset()
Class: core_tablelib_testcase - X-Ref
Test some of tablelib.generate_columns($cols) X-Ref |
No description |
generate_headers($cols) X-Ref |
No description |
generate_data($rows, $cols) X-Ref |
No description |
run_table_test($columns, $headers, $sortable, $collapsible, $suppress, $nosorting, $data, $pagesize) X-Ref |
Create a table with properties as passed in params, add data and output html. param: string[] $columns param: string[] $headers param: bool $sortable param: bool $collapsible param: string[] $suppress param: string[] $nosorting param: (array|object)[] $data param: int $pagesize |
create_and_setup_table($columns, $headers, $sortable, $collapsible, $suppress, $nosorting) X-Ref |
Create a table with properties as passed in params. param: string[] $columns param: string[] $headers param: bool $sortable param: bool $collapsible param: string[] $suppress param: string[] $nosorting return: flexible_table |
test_empty_table() X-Ref |
No description |
test_has_next_pagination() X-Ref |
No description |
test_has_hide() X-Ref |
No description |
test_has_not_hide() X-Ref |
No description |
test_has_sort() X-Ref |
No description |
test_has_not_sort() X-Ref |
No description |
test_has_not_next_pagination() X-Ref |
No description |
test_1_col() X-Ref |
No description |
test_empty_rows() X-Ref |
No description |
test_5_cols() X-Ref |
No description |
test_50_cols() X-Ref |
No description |
test_get_row_html() X-Ref |
No description |
test_persistent_table() X-Ref |
No description |
prepare_table_for_reset_test($tableid) X-Ref |
Helper method for preparing tables instances in {@link self::test_can_be_reset()}. param: string $tableid return: testable_flexible_table |
test_can_be_reset() X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |