Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Class: report_test  - X-Ref

Unit tests for the report helper class

test_delete_report()   X-Ref
Test deleting report


test_add_report_column()   X-Ref
Testing adding report column


test_add_report_column_invalid()   X-Ref
Test adding invalid report column


test_delete_report_column()   X-Ref
Testing deleting report column


test_delete_report_column_invalid()   X-Ref
Testing deleting invalid report column


test_reorder_report_column()   X-Ref
Testing re-ordering report column


test_reorder_report_column_invalid()   X-Ref
Testing re-ordering invalid report column


test_reorder_report_column_sorting()   X-Ref
Testing re-ordering report column sorting


test_reorder_report_column_sorting_invalid()   X-Ref
Testing re-ordering invalid report column sorting


test_toggle_report_column_sorting()   X-Ref
Test toggling of report column sorting


test_toggle_report_column_sorting_invalid()   X-Ref
Test toggling of report column sorting with invalid column


test_add_report_condition()   X-Ref
Test adding report condition


test_add_report_condition_invalid()   X-Ref
Test adding invalid report condition


test_add_report_condition_duplicate()   X-Ref
Test adding duplicate report condition


test_delete_report_condition()   X-Ref
Test deleting report condition


test_delete_report_condition_invalid()   X-Ref
Test deleting invalid report condition


test_reorder_report_condition()   X-Ref
Test re-ordering report condition


test_reorder_report_condition_invalid()   X-Ref
Test re-ordering invalid report condition


test_add_report_filter()   X-Ref
Test adding report filter


test_add_report_filter_invalid()   X-Ref
Test adding invalid report filter


test_add_report_filter_duplicate()   X-Ref
Test adding duplicate report filter


test_delete_report_filter()   X-Ref
Test deleting report filter


test_delete_report_filter_invalid()   X-Ref
Test deleting invalid report filter


test_reorder_report_filter()   X-Ref
Test re-ordering report filter


test_reorder_report_filter_invalid()   X-Ref
Test re-ordering invalid report filter