[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/testcases/groups/ -> class-bp-groups-member.php (summary)

(no description)

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

Defines 1 class

BP_Tests_BP_Groups_Member_TestCases:: (69 methods):
  wpSetUpBeforeClass()
  wpTearDownAfterClass()
  invite_user_to_group()
  create_group_membership_request()
  test_get_recently_joined_with_filter()
  test_get_is_admin_of_with_filter()
  test_get_is_mod_of_with_filter()
  test_get_is_banned_of_with_filter()
  test_get_invites_with_exclude()
  test_get_all_for_group_with_exclude()
  test_bp_groups_user_can_send_invites()
  test_bp_groups_reject_membership_request_remove_request()
  test_bp_groups_reject_membership_request_leave_memberships_intact()
  test_bp_groups_reject_membership_request_leave_invites_intact()
  test_bp_groups_delete_membership_request_remove_request()
  test_bp_groups_delete_membership_request_leave_memberships_intact()
  test_bp_groups_delete_membership_request_leave_invites_intact()
  test_bp_groups_reject_invite_remove_invite()
  test_bp_groups_reject_invite_leave_memberships_intact()
  test_bp_groups_reject_invite_leave_requests_intact()
  test_bp_groups_delete_invite_remove_invite()
  test_bp_groups_delete_invite_remove_draft_invite()
  test_bp_groups_delete_invite_leave_memberships_intact()
  test_bp_groups_delete_invite_leave_requests_intact()
  test_bp_groups_uninvite_user_remove_invite()
  test_bp_groups_uninvite_user_leave_memberships_intact()
  test_bp_groups_uninvite_user_leave_requests_intact()
  test_groups_join_group_basic_join()
  test_groups_join_group_basic_join_use_current_user()
  test_groups_join_group_already_member()
  test_groups_join_group_cleanup_invites()
  test_groups_join_group_cleanup_requests()
  test_groups_leave_group_basic_leave_self_initiated()
  test_groups_leave_group_basic_leave_use_current_user()
  test_groups_leave_group_basic_leave_group_admin_initiated()
  test_groups_leave_group_basic_leave_site_admin_initiated()
  test_groups_leave_group_single_admin_prevent_leave()
  test_groups_leave_group_multiple_admins_allow_leave()
  test_groups_get_invites_for_user()
  test_groups_get_invites_for_user_infer_user()
  test_groups_get_invites_for_user_with_exclude()
  test_groups_get_invite_count_for_user()
  test_groups_get_invite_count_for_user_ignore_drafts()
  test_groups_invite_user()
  test_groups_send_invites()
  test_groups_accept_invite()
  test_groups_accept_invite_removes_membership_requests()
  test_groups_sent_invite_plus_request_equals_member()
  test_groups_delete_all_group_invites()
  test_groups_send_invites_fail_on_empty_group_id()
  test_groups_send_invites_fail_on_empty_user_id()
  test_groups_send_invites_fail_on_empty_inviter_id()
  test_groups_get_invites_for_group_with_sent_parameter()
  test_groups_send_membership_request()
  test_groups_accept_membership_request_by_membership_id()
  test_groups_accept_membership_request_by_user_id_group_id()
  test_groups_membership_request_plus_invite_equals_member()
  test_groups_accept_all_pending_membership_requests()
  test_total_group_count_should_return_integer()
  test_get_memberships_by_id_with_single_id()
  test_get_memberships_by_id_with_multiple_ids()
  test_user_property_should_be_accessible()
  test_groups_get_group_mods_bad_id()
  test_groups_get_group_admins_bad_id()
  test_get_user_memberships_type_membership()
  test_get_user_memberships_type_pending_request()
  test_get_user_memberships_type_pending_received_invitation()
  test_get_user_memberships_type_pending_sent_invitation()
  test_delete_all_for_user()


Class: BP_Tests_BP_Groups_Member_TestCases  - X-Ref


wpSetUpBeforeClass( $factory )   X-Ref
No description

wpTearDownAfterClass()   X-Ref
No description

invite_user_to_group( $user_id, $group_id, $inviter_id )   X-Ref
No description

create_group_membership_request( $user_id, $group_id )   X-Ref
No description

test_get_recently_joined_with_filter()   X-Ref
No description

test_get_is_admin_of_with_filter()   X-Ref
No description

test_get_is_mod_of_with_filter()   X-Ref
No description

test_get_is_banned_of_with_filter()   X-Ref
No description

test_get_invites_with_exclude()   X-Ref
No description

test_get_all_for_group_with_exclude()   X-Ref


test_bp_groups_user_can_send_invites()   X-Ref


test_bp_groups_reject_membership_request_remove_request()   X-Ref


test_bp_groups_reject_membership_request_leave_memberships_intact()   X-Ref


test_bp_groups_reject_membership_request_leave_invites_intact()   X-Ref


test_bp_groups_delete_membership_request_remove_request()   X-Ref


test_bp_groups_delete_membership_request_leave_memberships_intact()   X-Ref


test_bp_groups_delete_membership_request_leave_invites_intact()   X-Ref


test_bp_groups_reject_invite_remove_invite()   X-Ref


test_bp_groups_reject_invite_leave_memberships_intact()   X-Ref


test_bp_groups_reject_invite_leave_requests_intact()   X-Ref


test_bp_groups_delete_invite_remove_invite()   X-Ref


test_bp_groups_delete_invite_remove_draft_invite()   X-Ref


test_bp_groups_delete_invite_leave_memberships_intact()   X-Ref


test_bp_groups_delete_invite_leave_requests_intact()   X-Ref


test_bp_groups_uninvite_user_remove_invite()   X-Ref


test_bp_groups_uninvite_user_leave_memberships_intact()   X-Ref


test_bp_groups_uninvite_user_leave_requests_intact()   X-Ref


test_groups_join_group_basic_join()   X-Ref


test_groups_join_group_basic_join_use_current_user()   X-Ref


test_groups_join_group_already_member()   X-Ref


test_groups_join_group_cleanup_invites()   X-Ref


test_groups_join_group_cleanup_requests()   X-Ref


test_groups_leave_group_basic_leave_self_initiated()   X-Ref


test_groups_leave_group_basic_leave_use_current_user()   X-Ref


test_groups_leave_group_basic_leave_group_admin_initiated()   X-Ref


test_groups_leave_group_basic_leave_site_admin_initiated()   X-Ref


test_groups_leave_group_single_admin_prevent_leave()   X-Ref


test_groups_leave_group_multiple_admins_allow_leave()   X-Ref


test_groups_get_invites_for_user()   X-Ref


test_groups_get_invites_for_user_infer_user()   X-Ref


test_groups_get_invites_for_user_with_exclude()   X-Ref


test_groups_get_invite_count_for_user()   X-Ref


test_groups_get_invite_count_for_user_ignore_drafts()   X-Ref


test_groups_invite_user()   X-Ref


test_groups_send_invites()   X-Ref


test_groups_accept_invite()   X-Ref


test_groups_accept_invite_removes_membership_requests()   X-Ref


test_groups_sent_invite_plus_request_equals_member()   X-Ref


test_groups_delete_all_group_invites()   X-Ref


test_groups_send_invites_fail_on_empty_group_id()   X-Ref


test_groups_send_invites_fail_on_empty_user_id()   X-Ref


test_groups_send_invites_fail_on_empty_inviter_id()   X-Ref


test_groups_get_invites_for_group_with_sent_parameter()   X-Ref


test_groups_send_membership_request()   X-Ref


test_groups_accept_membership_request_by_membership_id()   X-Ref


test_groups_accept_membership_request_by_user_id_group_id()   X-Ref


test_groups_membership_request_plus_invite_equals_member()   X-Ref


test_groups_accept_all_pending_membership_requests()   X-Ref


test_total_group_count_should_return_integer()   X-Ref


test_get_memberships_by_id_with_single_id()   X-Ref


test_get_memberships_by_id_with_multiple_ids()   X-Ref


test_user_property_should_be_accessible()   X-Ref


test_groups_get_group_mods_bad_id()   X-Ref


test_groups_get_group_admins_bad_id()   X-Ref


test_get_user_memberships_type_membership()   X-Ref


test_get_user_memberships_type_pending_request()   X-Ref


test_get_user_memberships_type_pending_received_invitation()   X-Ref


test_get_user_memberships_type_pending_sent_invitation()   X-Ref


test_delete_all_for_user()   X-Ref




Generated: Wed Jul 24 01:01:43 2019 Cross-referenced by PHPXref 0.7.1