Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Unit tests for the filtered_userlist.
Copyright: | 2018 Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 99 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
tool_dataprivacy_filtered_userlist_testcase:: (2 methods):
test_apply_expired_contexts_filters()
apply_expired_contexts_filters_provider()
Class: tool_dataprivacy_filtered_userlist_testcase - X-Ref
Unit tests for the filtered_userlist.test_apply_expired_contexts_filters(array $initial, array $expired, array $unexpired, array $expected) X-Ref |
Test the apply_expired_contexts_filters function with arange of options. param: array $initial The set of userids in the initial filterlist. param: array $expired The set of userids considered as expired. param: array $unexpired The set of userids considered as unexpired. param: array $expected The expected values. |
apply_expired_contexts_filters_provider() X-Ref |
Data provider for the apply_expired_contexts_filters function. return: array |