See Release Notes
Long Term Support Release
Differences Between: [Versions 400 and 401]
(no description)
File Size: | 380 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
user_profile_fields_test:: (9 methods):
generate_userprofilefields()
test_get_columns()
test_add_join()
test_add_joins()
test_get_filters()
test_custom_report_content()
custom_report_filter_provider()
test_custom_report_filter()
test_stress_datasource()
Class: user_profile_fields_test - X-Ref
Unit tests for user profile fields helpergenerate_userprofilefields() X-Ref |
Generate custom profile fields, one of each type return: user_profile_fields |
test_get_columns() X-Ref |
Test for get_columns |
test_add_join() X-Ref |
Test for add_join |
test_add_joins() X-Ref |
Test for add_joins |
test_get_filters() X-Ref |
Test for get_filters |
test_custom_report_content() X-Ref |
Test that adding user profile field columns to a report returns expected values |
custom_report_filter_provider() X-Ref |
Data provider for {@see test_custom_report_filter} return: array[] |
test_custom_report_filter(string $filtername, array $filtervalues, string $expectmatchuser) X-Ref |
Test filtering report by custom profile fields param: string $filtername param: array $filtervalues param: string $expectmatchuser |
test_stress_datasource() X-Ref |
Stress test user datasource using profile fields In order to execute this test PHPUNIT_LONGTEST should be defined as true in phpunit.xml or directly in config.php |