See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 310]
Data provider tests.
Author: | Frédéric Massart <fred@branchup.tech> |
Copyright: | 2018 Frédéric Massart |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 2685 lines (155 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_competency_privacy_testcase:: (37 methods):
setUp()
test_get_contexts_for_userid_with_usermodified_for_framework()
test_get_users_in_context_with_usermodified_for_framework()
test_get_contexts_for_userid_with_usermodified_for_template()
test_get_users_in_context_with_usermodified_for_template()
test_get_contexts_for_userid_with_usermodified_for_course()
test_get_users_in_context_with_usermodified_for_course()
test_get_contexts_for_userid_with_usermodified_for_module()
test_get_users_in_context_with_usermodified_for_module()
test_get_contexts_for_userid_with_usermodified_for_plan()
test_get_users_in_context_with_usermodified_for_plan()
test_get_contexts_for_userid_with_usermodified_for_competency_data()
test_get_users_in_context_with_usermodified_for_competency_data()
test_get_contexts_for_userid_with_actual_data_and_actual_data_is_goooood()
test_get_users_in_context_with_actual_data_and_actual_data_is_goooood()
test_delete_data_for_user()
test_delete_data_for_user_with_other_user_context()
test_delete_data_for_users()
test_delete_data_for_users_with_other_user_context()
test_delete_data_for_all_users_in_context()
test_export_data_for_user_in_module_context_where_usermodified_matches()
test_export_data_for_user_in_course_context_where_usermodified_matches()
test_export_data_for_user_in_course_context_with_real_data()
test_export_data_for_user_in_system_and_category_contexts()
test_export_data_for_user_with_related_learning_plans()
test_export_data_for_user_with_related_competencies()
test_export_data_for_user_with_related_user_evidence()
test_export_data_for_user_about_their_learning_plans()
test_export_data_for_user_about_their_competencies()
test_export_data_for_user_about_their_user_evidence()
allow_anyone_to_comment_anywhere()
assert_contextlist()
assert_array_match()
assert_exported_comments()
assert_has_comments()
assert_has_no_comments()
get_comments_count()
Class: core_competency_privacy_testcase - X-Ref
Data provider testcase class.setUp() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_framework() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_framework() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_template() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_template() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_course() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_course() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_module() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_module() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_plan() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_plan() X-Ref |
No description |
test_get_contexts_for_userid_with_usermodified_for_competency_data() X-Ref |
No description |
test_get_users_in_context_with_usermodified_for_competency_data() X-Ref |
No description |
test_get_contexts_for_userid_with_actual_data_and_actual_data_is_goooood() X-Ref |
No description |
test_get_users_in_context_with_actual_data_and_actual_data_is_goooood() X-Ref |
No description |
test_delete_data_for_user() X-Ref |
No description |
test_delete_data_for_user_with_other_user_context() X-Ref |
No description |
test_delete_data_for_users() X-Ref |
No description |
test_delete_data_for_users_with_other_user_context() X-Ref |
No description |
test_delete_data_for_all_users_in_context() X-Ref |
No description |
test_export_data_for_user_in_module_context_where_usermodified_matches() X-Ref |
No description |
test_export_data_for_user_in_course_context_where_usermodified_matches() X-Ref |
No description |
test_export_data_for_user_in_course_context_with_real_data() X-Ref |
No description |
test_export_data_for_user_in_system_and_category_contexts() X-Ref |
No description |
test_export_data_for_user_with_related_learning_plans() X-Ref |
No description |
test_export_data_for_user_with_related_competencies() X-Ref |
No description |
test_export_data_for_user_with_related_user_evidence() X-Ref |
No description |
test_export_data_for_user_about_their_learning_plans() X-Ref |
No description |
test_export_data_for_user_about_their_competencies() X-Ref |
No description |
test_export_data_for_user_about_their_user_evidence() X-Ref |
No description |
allow_anyone_to_comment_anywhere() X-Ref |
Helps testing comments on plans. return: void |
assert_contextlist(contextlist $contextlist, $expectedcontextsorids) X-Ref |
Assert the content of a contextlist. param: contextlist $contextlist The list. param: array $expectedcontextsorids The expected content. return: void |
assert_array_match($array1, $array2) X-Ref |
Assert that array match. param: array $array1 The first one. param: array $array2 The second one. return: void |
assert_exported_comments($expected, $comments) X-Ref |
Assert the content of exported comments. param: array $expected The content of the comments. param: array $comments The exported comments. return: void |
assert_has_comments(\comment $comment) X-Ref |
Assert that a comment object has comments. param: \comment $comment The comment object. return: void |
assert_has_no_comments(\comment $comment) X-Ref |
Assert that a comment object does not have any comments. param: \comment $comment The comment object. return: void |
get_comments_count(\comment $comment, $userid = null) X-Ref |
Get the count of comments. param: \comment $comment The comment object. param: int $userid The user ID. return: int |