[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

(no description)

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

Defines 2 classes

BP_Tests_BP_Groups_Group_TestCases:: (108 methods):
  test_non_existent_group()
  test_get_with_exclude()
  test_get_with_include()
  test_get_with_meta_query()
  test_get_empty_meta_query()
  test_get_with_meta_query_multiple_clauses()
  test_get_with_meta_query_multiple_clauses_relation_or()
  test_get_with_meta_query_multiple_clauses_relation_or_shared_meta_key()
  test_get_with_meta_query_multiple_keys_with_same_value()
  test_get_normal_search()
  test_get_search_with_underscores()
  test_get_search_with_percent_sign()
  test_get_search_with_quotes()
  test_get_search_with_left_wildcard()
  test_get_search_with_left_wildcard_should_miss()
  test_get_search_with_right_wildcard()
  test_get_search_with_right_wildcard_should_miss()
  test_get_search_with_both_wildcard()
  test_get_search_limited_to_name_column()
  test_get_search_limited_to_description_column()
  test_get_with_default_type_value_should_be_newest()
  test_get_with_type_newest()
  test_get_with_type_popular()
  test_get_with_type_alphabetical()
  test_meta_query_and_total_groups()
  test_get_groups_page_perpage_params()
  test_get_queries_should_be_cached()
  test_get_query_caches_should_be_busted_by_groupmeta_update()
  test_get_query_caches_should_be_busted_by_group_term_change()
  test_get_query_caches_should_be_busted_by_group_term_removal()
  test_get_query_caches_should_be_busted_by_group_save()
  test_get_query_caches_should_be_busted_by_group_delete()
  test_bp_groups_group_magic_isset_with_empty_check()
  test_convert_type_to_order_orderby_newest()
  test_convert_type_to_order_orderby_active()
  test_convert_type_to_order_orderby_popular()
  test_convert_type_to_order_orderby_alphabetical()
  test_convert_type_to_order_orderby_random()
  test_convert_type_to_order_orderby_invalid()
  test_convert_orderby_to_order_by_term_date_created()
  test_convert_orderby_to_order_by_term_last_activity()
  test_convert_orderby_to_order_by_term_total_member_count()
  test_convert_orderby_to_order_by_term_name()
  test_convert_orderby_to_order_by_term_random()
  test_convert_orderby_to_order_by_term_invalid_fallback_to_date_created()
  test_get_orderby_meta_id()
  test_get_orderby_meta_id_invalid_fallback_to_date_created()
  test_filter_user_groups_normal_search()
  test_filter_user_groups_normal_search_middle_of_string()
  test_filter_user_groups_search_with_underscores()
  test_filter_user_groups_search_with_percent_sign()
  test_filter_user_groups_search_with_quotes()
  test_search_groups_normal_search()
  test_search_groups_search_with_underscores()
  test_search_groups_search_with_percent_sign()
  test_search_groups_search_with_quotes()
  test_get_by_letter_typical_use()
  test_get_by_letter_with_exclude()
  test_get_by_letter_starts_with_apostrophe()
  test_get_random_with_exclude()
  test_get_random_with_search_terms()
  test_delete_clear_cache()
  test_save_clear_cache()
  test_get_group_extras_non_logged_in()
  test_get_group_extras_non_member()
  test_get_group_extras_member()
  test_get_group_extras_invited()
  test_get_group_extras_pending()
  test_get_group_extras_banned()
  test_admins_property()
  test_admins_property_should_match_users_without_wp_role()
  test_demoting_sole_admin()
  test_mods_property()
  test_is_member_property()
  test_is_invited_property()
  test_is_pending_property()
  test_group_type_single_value()
  test_group_type_array_with_single_value()
  test_group_type_with_comma_separated_list()
  test_group_type_array_with_multiple_values()
  test_group_type_should_discart_non_existing_types_in_comma_separated_value()
  test_group_type_should_return_empty_when_no_groups_match_specified_types()
  test_group_type__in_single_value()
  test_group_type__in_comma_separated_values()
  test_group_type__in_array_multiple_values()
  test_group_type__in_array_with_single_value()
  test_group_type__in_should_discart_non_existing_types_in_comma_separated_value()
  test_group_type__in_should_return_empty_when_no_groups_match_specified_types()
  test_group_type_should_take_precedence_over_group_type__in()
  test_group_type__not_in_should_return_groups_with_types_and_without_types()
  test_group_type__not_in_comma_separated_values()
  test_group_type__not_array_with_multiple_values()
  test_group_type__not_in_should_return_no_results_when_all_groups_mathc_sepecified_type()
  test_group_type__not_in_takes_precedence_over_group_type()
  test_get_by_parent_id()
  test_get_by_parent_id_ignore_grandparent()
  test_get_by_parent_id_array()
  test_get_by_parent_id_comma_separated_string()
  test_get_by_parent_id_top_level_groups()
  test_get_by_parent_id_top_level_groups_using_false()
  test_get_by_slug()
  test_get_by_slug_accept_string()
  test_get_by_slug_accept_comma_separated_string()
  test_get_by_slug_accept_space_separated_string()
  test_get_by_status()
  test_get_by_status_accept_string()
  test_get_by_status_accept_comma_separated_string()
  test_get_return_ids_only()

_BP_Groups_Group:: (2 methods):
  _convert_type_to_order_orderby()
  _convert_orderby_to_order_by_term()


Class: BP_Tests_BP_Groups_Group_TestCases  - X-Ref


test_non_existent_group()   X-Ref


test_get_with_exclude()   X-Ref


test_get_with_include()   X-Ref


test_get_with_meta_query()   X-Ref


test_get_empty_meta_query()   X-Ref


test_get_with_meta_query_multiple_clauses()   X-Ref


test_get_with_meta_query_multiple_clauses_relation_or()   X-Ref


test_get_with_meta_query_multiple_clauses_relation_or_shared_meta_key()   X-Ref


test_get_with_meta_query_multiple_keys_with_same_value()   X-Ref


test_get_normal_search()   X-Ref


test_get_search_with_underscores()   X-Ref


test_get_search_with_percent_sign()   X-Ref


test_get_search_with_quotes()   X-Ref


test_get_search_with_left_wildcard()   X-Ref


test_get_search_with_left_wildcard_should_miss()   X-Ref


test_get_search_with_right_wildcard()   X-Ref


test_get_search_with_right_wildcard_should_miss()   X-Ref


test_get_search_with_both_wildcard()   X-Ref


test_get_search_limited_to_name_column()   X-Ref


test_get_search_limited_to_description_column()   X-Ref


test_get_with_default_type_value_should_be_newest()   X-Ref
BP 1.8 will change the default 'type' param in favor of default
'order' and 'orderby'. This is to make sure that existing plugins
will work appropriately


test_get_with_type_newest()   X-Ref


test_get_with_type_popular()   X-Ref


test_get_with_type_alphabetical()   X-Ref


test_meta_query_and_total_groups()   X-Ref


test_get_groups_page_perpage_params()   X-Ref


test_get_queries_should_be_cached()   X-Ref


test_get_query_caches_should_be_busted_by_groupmeta_update()   X-Ref


test_get_query_caches_should_be_busted_by_group_term_change()   X-Ref


test_get_query_caches_should_be_busted_by_group_term_removal()   X-Ref


test_get_query_caches_should_be_busted_by_group_save()   X-Ref


test_get_query_caches_should_be_busted_by_group_delete()   X-Ref


test_bp_groups_group_magic_isset_with_empty_check()   X-Ref


test_convert_type_to_order_orderby_newest()   X-Ref


test_convert_type_to_order_orderby_active()   X-Ref


test_convert_type_to_order_orderby_popular()   X-Ref


test_convert_type_to_order_orderby_alphabetical()   X-Ref


test_convert_type_to_order_orderby_random()   X-Ref


test_convert_type_to_order_orderby_invalid()   X-Ref


test_convert_orderby_to_order_by_term_date_created()   X-Ref


test_convert_orderby_to_order_by_term_last_activity()   X-Ref


test_convert_orderby_to_order_by_term_total_member_count()   X-Ref


test_convert_orderby_to_order_by_term_name()   X-Ref


test_convert_orderby_to_order_by_term_random()   X-Ref


test_convert_orderby_to_order_by_term_invalid_fallback_to_date_created()   X-Ref


test_get_orderby_meta_id()   X-Ref


test_get_orderby_meta_id_invalid_fallback_to_date_created()   X-Ref


test_filter_user_groups_normal_search()   X-Ref
No description

test_filter_user_groups_normal_search_middle_of_string()   X-Ref
No description

test_filter_user_groups_search_with_underscores()   X-Ref
No description

test_filter_user_groups_search_with_percent_sign()   X-Ref
No description

test_filter_user_groups_search_with_quotes()   X-Ref
No description

test_search_groups_normal_search()   X-Ref
No description

test_search_groups_search_with_underscores()   X-Ref
No description

test_search_groups_search_with_percent_sign()   X-Ref
No description

test_search_groups_search_with_quotes()   X-Ref
No description

test_get_by_letter_typical_use()   X-Ref
No description

test_get_by_letter_with_exclude()   X-Ref
No description

test_get_by_letter_starts_with_apostrophe()   X-Ref
No description

test_get_random_with_exclude()   X-Ref
No description

test_get_random_with_search_terms()   X-Ref
No description

test_delete_clear_cache()   X-Ref


test_save_clear_cache()   X-Ref


test_get_group_extras_non_logged_in()   X-Ref


test_get_group_extras_non_member()   X-Ref


test_get_group_extras_member()   X-Ref


test_get_group_extras_invited()   X-Ref


test_get_group_extras_pending()   X-Ref


test_get_group_extras_banned()   X-Ref


test_admins_property()   X-Ref


test_admins_property_should_match_users_without_wp_role()   X-Ref


test_demoting_sole_admin()   X-Ref


test_mods_property()   X-Ref


test_is_member_property()   X-Ref


test_is_invited_property()   X-Ref


test_is_pending_property()   X-Ref


test_group_type_single_value()   X-Ref


test_group_type_array_with_single_value()   X-Ref


test_group_type_with_comma_separated_list()   X-Ref


test_group_type_array_with_multiple_values()   X-Ref


test_group_type_should_discart_non_existing_types_in_comma_separated_value()   X-Ref


test_group_type_should_return_empty_when_no_groups_match_specified_types()   X-Ref


test_group_type__in_single_value()   X-Ref


test_group_type__in_comma_separated_values()   X-Ref


test_group_type__in_array_multiple_values()   X-Ref


test_group_type__in_array_with_single_value()   X-Ref


test_group_type__in_should_discart_non_existing_types_in_comma_separated_value()   X-Ref


test_group_type__in_should_return_empty_when_no_groups_match_specified_types()   X-Ref


test_group_type_should_take_precedence_over_group_type__in()   X-Ref


test_group_type__not_in_should_return_groups_with_types_and_without_types()   X-Ref


test_group_type__not_in_comma_separated_values()   X-Ref


test_group_type__not_array_with_multiple_values()   X-Ref


test_group_type__not_in_should_return_no_results_when_all_groups_mathc_sepecified_type()   X-Ref


test_group_type__not_in_takes_precedence_over_group_type()   X-Ref


test_get_by_parent_id()   X-Ref


test_get_by_parent_id_ignore_grandparent()   X-Ref


test_get_by_parent_id_array()   X-Ref


test_get_by_parent_id_comma_separated_string()   X-Ref


test_get_by_parent_id_top_level_groups()   X-Ref


test_get_by_parent_id_top_level_groups_using_false()   X-Ref


test_get_by_slug()   X-Ref


test_get_by_slug_accept_string()   X-Ref


test_get_by_slug_accept_comma_separated_string()   X-Ref


test_get_by_slug_accept_space_separated_string()   X-Ref


test_get_by_status()   X-Ref


test_get_by_status_accept_string()   X-Ref


test_get_by_status_accept_comma_separated_string()   X-Ref


test_get_return_ids_only()   X-Ref


Class: _BP_Groups_Group  - X-Ref

Stub class for accessing protected methods



Generated: Sat Sep 21 01:01:46 2019 Cross-referenced by PHPXref 0.7.1