Differences Between: [Versions 400 and 402]
(no description)
File Size: | 215 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
manager_test:: (9 methods):
test_get_report_from_persistent()
test_get_report_from_persistent_per_user()
test_get_report_from_persistent_invalid()
test_get_report_from_persistent_unavailable()
test_report_source_exists()
test_report_source_available()
test_create_report_persistent()
report_limit_reached_provider()
test_report_limit_reached()
Class: manager_test - X-Ref
Unit tests for the report manager classtest_get_report_from_persistent() X-Ref |
Test creating a report instance from persistent |
test_get_report_from_persistent_per_user() X-Ref |
Test creating a report instance from persistent differs per-user, using a report source whose own initialization is dependent on the current user (the users report source, loading available user profile fields) Note: internally the {@see get_custom_report_content} test helper calls {@see manager::get_report_from_persistent} |
test_get_report_from_persistent_invalid() X-Ref |
Test creating a report instance from persistent with an invalid source |
test_get_report_from_persistent_unavailable() X-Ref |
Test creating a report instance from persistent with an unavailable source |
test_report_source_exists() X-Ref |
Test report source exists |
test_report_source_available() X-Ref |
Test report source available |
test_create_report_persistent() X-Ref |
Test creating a report persistent model |
report_limit_reached_provider() X-Ref |
Data provider for {@see test_report_limit_reached} return: array |
test_report_limit_reached(int $customreportslimit, int $existingreports, bool $expected) X-Ref |
Test test_report_limit_reached method to check site custom reports limit param: int $customreportslimit param: int $existingreports param: bool $expected |