Differences Between: [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
(no description)
File Size: | 201 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_reportbuilder_testcase:: (4 methods):
get_custom_report_content()
datasource_stress_test_columns()
datasource_stress_test_columns_aggregation()
datasource_stress_test_conditions()
Class: core_reportbuilder_testcase - X-Ref
Helper base class for reportbuilder unit testsget_custom_report_content(int $reportid, int $pagesize = 30, array $filtervalues = []) X-Ref |
Retrieve content for given report as array of report data param: int $reportid param: int $pagesize param: array $filtervalues return: array[] |
datasource_stress_test_columns(string $source) X-Ref |
Stress test a report source by iterating over all it's columns, enabling sorting where possible and asserting we can create a report for each param: string $source |
datasource_stress_test_columns_aggregation(string $source) X-Ref |
Stress test a report source by iterating over all columns and asserting we can create a report while aggregating each param: string $source |
datasource_stress_test_conditions(string $source, string $columnidentifier) X-Ref |
Stress test a report source by iterating over all it's conditions and asserting we can create a report using each param: string $source param: string $columnidentifier Should be a simple column, with as few fields and joins as possible, ideally selected |