[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/testcases/activity/ -> functions.php (summary)

(no description)

File Size: 1806 lines (51 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Tests_Activity_Functions:: (77 methods):
  test_thumbnail_content_images()
  test_delete_activity_by_id()
  test_delete_activity_by_type()
  test_delete_activity_by_component()
  test_delete_activity_by_user_id()
  test_delete_activity_meta()
  test_delete_activity_all_meta()
  test_delete_activity_and_comments()
  test_delete_activity_meta_for_comments()
  test_bp_activity_update_meta_with_line_breaks()
  test_bp_activity_update_meta_with_0()
  test_bp_activity_update_meta_non_numeric_id()
  test_bp_activity_update_meta_with_illegal_key_characters()
  test_bp_activity_update_meta_stripslashes()
  test_bp_activity_update_meta_false_value_deletes()
  test_bp_activity_update_meta_new()
  test_bp_activity_update_meta_existing()
  test_bp_activity_update_meta_same_value()
  test_bp_activity_update_meta_prev_value()
  test_bp_activity_get_meta_empty_activity_id()
  test_bp_activity_get_meta_non_numeric_activity_id()
  test_bp_activity_get_meta_with_illegal_characters()
  test_bp_activity_get_meta_multiple()
  test_bp_activity_get_meta_no_results_returns_false()
  test_bp_activity_get_meta_single_true()
  test_bp_activity_get_meta_single_false()
  test_bp_activity_get_meta_cache_all_on_get()
  test_bp_activity_delete_meta_non_numeric_activity_id()
  test_bp_activity_delete_meta_trim_meta_value()
  test_bp_activity_delete_meta_single()
  test_bp_activity_delete_meta_all_for_activity()
  test_bp_activity_delete_meta_with_meta_value()
  test_bp_activity_delete_meta_with_delete_all_but_no_meta_key()
  test_bp_activity_delete_meta_with_delete_all()
  test_bp_activity_add_meta_no_meta_key()
  test_bp_activity_add_meta_empty_object_id()
  test_bp_activity_add_meta_existing_unique()
  test_bp_activity_add_meta_existing_not_unique()
  test_bp_activity_get_user_mentionname_compatibilitymode_off()
  test_bp_activity_get_user_mentionname_compatibilitymode_on()
  test_bp_activity_get_userid_from_mentionname_compatibilitymode_off()
  test_bp_activity_get_userid_from_mentionname_compatibilitymode_on()
  test_bp_activity_format_activity_action_activity_update()
  test_bp_activity_format_activity_action_activity_comment()
  test_bp_activity_format_activity_action_children_activity_comment()
  test_bp_activity_format_activity_action_custom_post_type_post_nonms()
  test_bp_activity_format_activity_action_custom_post_type_post_ms()
  test_bp_activity_format_activity_action_custom_string_post_type_post_nonms()
  test_bp_activity_format_activity_action_custom_string_post_type_post_ms()
  test_bp_activity_set_post_type_tracking_args()
  test_bp_activity_set_post_type_tracking_args_check_post_type_global()
  test_bp_activity_format_activity_action_custom_post_type_comment()
  test_bp_activity_new_comment_clear_comment_caches()
  test_bp_activity_new_comment_clear_activity_caches()
  test_bp_activity_delete_comment_clear_cache()
  test_bp_activity_delete_comment_shouldnt_delete_all_comments_when_parameters_are_empty()
  test_bp_activity_comment_on_deleted_activity()
  test_add_user_favorite_already_favorited()
  test_add_user_favorite_not_yet_favorited()
  test_remove_user_favorite_bad_activity_id()
  test_bp_activity_post_update_empty_content()
  test_bp_activity_post_update_inactive_user()
  test_bp_activity_post_update_success()
  test_bp_activity_get_activity_id()
  test_bp_activity_delete_by_item_id()
  test_user_can_access_their_own_activity()
  test_admin_can_access_someone_elses_activity()
  test_user_cannot_access_spam_activity()
  test_admin_can_access_spam_activity()
  test_group_admin_access_someone_elses_activity_in_a_group()
  test_non_member_can_access_to_someone_elses_activity_in_a_group()
  test_user_access_to_his_activity_in_hidden_group()
  test_user_access_to_his_activity_in_private_group()
  test_banned_user_cannot_access_to_his_activity_in_a_private_group()
  test_removed_member_cannot_access_to_his_activity_in_a_private_group()
  check_activity_caches()
  test_bp_activity_personal_data_exporter()


Class: BP_Tests_Activity_Functions  - X-Ref


test_thumbnail_content_images()   X-Ref


test_delete_activity_by_id()   X-Ref


test_delete_activity_by_type()   X-Ref


test_delete_activity_by_component()   X-Ref


test_delete_activity_by_user_id()   X-Ref


test_delete_activity_meta()   X-Ref


test_delete_activity_all_meta()   X-Ref


test_delete_activity_and_comments()   X-Ref


test_delete_activity_meta_for_comments()   X-Ref


test_bp_activity_update_meta_with_line_breaks()   X-Ref


test_bp_activity_update_meta_with_0()   X-Ref


test_bp_activity_update_meta_non_numeric_id()   X-Ref


test_bp_activity_update_meta_with_illegal_key_characters()   X-Ref


test_bp_activity_update_meta_stripslashes()   X-Ref


test_bp_activity_update_meta_false_value_deletes()   X-Ref


test_bp_activity_update_meta_new()   X-Ref


test_bp_activity_update_meta_existing()   X-Ref


test_bp_activity_update_meta_same_value()   X-Ref


test_bp_activity_update_meta_prev_value()   X-Ref


test_bp_activity_get_meta_empty_activity_id()   X-Ref


test_bp_activity_get_meta_non_numeric_activity_id()   X-Ref


test_bp_activity_get_meta_with_illegal_characters()   X-Ref


test_bp_activity_get_meta_multiple()   X-Ref


test_bp_activity_get_meta_no_results_returns_false()   X-Ref


test_bp_activity_get_meta_single_true()   X-Ref


test_bp_activity_get_meta_single_false()   X-Ref


test_bp_activity_get_meta_cache_all_on_get()   X-Ref


test_bp_activity_delete_meta_non_numeric_activity_id()   X-Ref


test_bp_activity_delete_meta_trim_meta_value()   X-Ref


test_bp_activity_delete_meta_single()   X-Ref


test_bp_activity_delete_meta_all_for_activity()   X-Ref


test_bp_activity_delete_meta_with_meta_value()   X-Ref


test_bp_activity_delete_meta_with_delete_all_but_no_meta_key()   X-Ref


test_bp_activity_delete_meta_with_delete_all()   X-Ref


test_bp_activity_add_meta_no_meta_key()   X-Ref


test_bp_activity_add_meta_empty_object_id()   X-Ref


test_bp_activity_add_meta_existing_unique()   X-Ref


test_bp_activity_add_meta_existing_not_unique()   X-Ref


test_bp_activity_get_user_mentionname_compatibilitymode_off()   X-Ref


test_bp_activity_get_user_mentionname_compatibilitymode_on()   X-Ref


test_bp_activity_get_userid_from_mentionname_compatibilitymode_off()   X-Ref


test_bp_activity_get_userid_from_mentionname_compatibilitymode_on()   X-Ref


test_bp_activity_format_activity_action_activity_update()   X-Ref


test_bp_activity_format_activity_action_activity_comment()   X-Ref


test_bp_activity_format_activity_action_children_activity_comment()   X-Ref


test_bp_activity_format_activity_action_custom_post_type_post_nonms()   X-Ref


test_bp_activity_format_activity_action_custom_post_type_post_ms()   X-Ref


test_bp_activity_format_activity_action_custom_string_post_type_post_nonms()   X-Ref


test_bp_activity_format_activity_action_custom_string_post_type_post_ms()   X-Ref


test_bp_activity_set_post_type_tracking_args()   X-Ref


test_bp_activity_set_post_type_tracking_args_check_post_type_global()   X-Ref


test_bp_activity_format_activity_action_custom_post_type_comment()   X-Ref


test_bp_activity_new_comment_clear_comment_caches()   X-Ref


test_bp_activity_new_comment_clear_activity_caches()   X-Ref


test_bp_activity_delete_comment_clear_cache()   X-Ref


test_bp_activity_delete_comment_shouldnt_delete_all_comments_when_parameters_are_empty()   X-Ref


test_bp_activity_comment_on_deleted_activity()   X-Ref


test_add_user_favorite_already_favorited()   X-Ref


test_add_user_favorite_not_yet_favorited()   X-Ref


test_remove_user_favorite_bad_activity_id()   X-Ref


test_bp_activity_post_update_empty_content()   X-Ref


test_bp_activity_post_update_inactive_user()   X-Ref


test_bp_activity_post_update_success()   X-Ref


test_bp_activity_get_activity_id()   X-Ref


test_bp_activity_delete_by_item_id()   X-Ref


test_user_can_access_their_own_activity()   X-Ref


test_admin_can_access_someone_elses_activity()   X-Ref


test_user_cannot_access_spam_activity()   X-Ref


test_admin_can_access_spam_activity()   X-Ref


test_group_admin_access_someone_elses_activity_in_a_group()   X-Ref


test_non_member_can_access_to_someone_elses_activity_in_a_group()   X-Ref


test_user_access_to_his_activity_in_hidden_group()   X-Ref


test_user_access_to_his_activity_in_private_group()   X-Ref


test_banned_user_cannot_access_to_his_activity_in_a_private_group()   X-Ref


test_removed_member_cannot_access_to_his_activity_in_a_private_group()   X-Ref


check_activity_caches()   X-Ref
No description

test_bp_activity_personal_data_exporter()   X-Ref




Generated: Mon Nov 18 01:01:37 2019 Cross-referenced by PHPXref 0.7.1