[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

(no description)

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

Defines 1 class

BP_Tests_Groups_Functions_GroupsIsUser:: (21 methods):
  wpSetUpBeforeClass()
  tearDownAfterClass()
  test_groups_is_user_admin_expected_true()
  test_groups_is_user_admin_expected_false()
  test_groups_is_user_mod_expected_true()
  test_groups_is_user_mod_expected_false()
  test_groups_is_user_mod_should_return_false_when_user_is_also_banned()
  test_groups_is_user_member_expected_true()
  test_groups_is_user_member_should_return_true_for_admin()
  test_groups_is_user_member_should_return_true_for_mod()
  test_groups_is_user_member_expected_false()
  test_groups_is_user_member_should_return_false_when_user_is_also_banned()
  test_groups_is_user_banned_should_return_false_for_non_member()
  test_groups_is_user_banned_should_return_false_for_non_banned_member()
  test_groups_is_user_banned_should_return_true_for_banned_member()
  test_groups_is_user_invited_should_return_false_for_confirmed_member()
  test_groups_is_user_invited_should_return_false_for_uninvited_member()
  test_groups_is_user_invited_should_return_true_for_invited_member()
  test_groups_is_user_pending_should_return_false_for_invited_member()
  test_groups_is_user_pending_should_return_false_for_member_with_no_request()
  test_groups_is_user_pending_should_return_true_for_pending_member()


Class: BP_Tests_Groups_Functions_GroupsIsUser  - X-Ref

Tests for the `groups_is_user_*()` functions.

wpSetUpBeforeClass( $f )   X-Ref
No description

tearDownAfterClass()   X-Ref
No description

test_groups_is_user_admin_expected_true()   X-Ref
No description

test_groups_is_user_admin_expected_false()   X-Ref
No description

test_groups_is_user_mod_expected_true()   X-Ref
No description

test_groups_is_user_mod_expected_false()   X-Ref
No description

test_groups_is_user_mod_should_return_false_when_user_is_also_banned()   X-Ref
No description

test_groups_is_user_member_expected_true()   X-Ref
No description

test_groups_is_user_member_should_return_true_for_admin()   X-Ref
No description

test_groups_is_user_member_should_return_true_for_mod()   X-Ref
No description

test_groups_is_user_member_expected_false()   X-Ref
No description

test_groups_is_user_member_should_return_false_when_user_is_also_banned()   X-Ref
No description

test_groups_is_user_banned_should_return_false_for_non_member()   X-Ref
No description

test_groups_is_user_banned_should_return_false_for_non_banned_member()   X-Ref
Return values for these functions are terrible.


test_groups_is_user_banned_should_return_true_for_banned_member()   X-Ref
No description

test_groups_is_user_invited_should_return_false_for_confirmed_member()   X-Ref
No description

test_groups_is_user_invited_should_return_false_for_uninvited_member()   X-Ref
No description

test_groups_is_user_invited_should_return_true_for_invited_member()   X-Ref
No description

test_groups_is_user_pending_should_return_false_for_invited_member()   X-Ref
No description

test_groups_is_user_pending_should_return_false_for_member_with_no_request()   X-Ref
No description

test_groups_is_user_pending_should_return_true_for_pending_member()   X-Ref
No description



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1