[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/testcases/members/ -> types.php (summary)

(no description)

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

Defines 1 class

BP_Tests_Members_Types:: (38 methods):
  setUp()
  test_bp_register_member_type_should_fail_for_existing_member_type()
  test_bp_register_member_type_should_return_type_object()
  test_illegal_names()
  illegal_names()
  test_bp_register_member_type_should_sanitize_member_type_key()
  test_bp_register_member_type_should_store_member_type_string_as_name_property()
  test_bp_register_member_type_should_fill_in_missing_labels_with_ucfirst_member_type()
  test_bp_register_member_type_should_respect_custom_name_label()
  test_bp_register_member_type_should_respect_custom_singular_name_label()
  test_bp_register_member_type_has_directory_should_default_to_true()
  test_bp_register_member_type_has_directory_true()
  test_bp_register_member_type_should_store_has_directory_false()
  test_bp_register_member_type_should_store_has_directory_string()
  test_bp_get_member_type_object_should_return_null_for_non_existent_member_type()
  test_bp_get_member_type_object_should_return_type_object()
  test_bp_set_member_type_should_return_false_for_invalid_member_type()
  test_bp_set_member_type_should_remove_member_type_when_passing_an_empty_value()
  test_bp_set_member_type_success()
  test_bp_get_member_type_with_default_value_for_single()
  test_bp_get_member_type_with_single_true()
  test_bp_get_member_type_with_single_false()
  test_bp_get_member_type_should_return_false_when_no_value_is_found()
  test_bp_get_member_type_should_hit_cache()
  test_bp_members_prefetch_member_type_array_cache_set()
  test_bp_get_member_type_should_return_false_for_deleted_user()
  test_bp_get_member_type_should_not_conflict_with_term_cache()
  test_bp_remove_member_type_should_return_false_when_member_type_is_empty()
  test_bp_remove_member_type_should_return_false_when_member_type_is_invalid()
  test_bp_remove_member_type_should_return_false_when_member_is_not_of_provided_type()
  test_bp_remove_member_type_should_return_true_for_successful_deletion()
  test_bp_remove_member_type_should_return_false_when_user_has_no_member_type()
  test_bp_has_member_type_should_return_false_when_member_type_is_empty()
  test_bp_has_member_type_should_return_false_when_member_type_is_invalid()
  test_bp_has_member_type_should_return_false_when_member_id_is_empty()
  test_bp_has_member_type_should_return_false_when_member_is_not_of_provided_type()
  test_bp_has_member_type_should_return_true_on_success()
  test_bp_get_registered_by_code_member_type_should_not_return_unregistered_types()


Class: BP_Tests_Members_Types  - X-Ref


setUp()   X-Ref
No description

test_bp_register_member_type_should_fail_for_existing_member_type()   X-Ref
No description

test_bp_register_member_type_should_return_type_object()   X-Ref
No description

test_illegal_names( $name )   X-Ref


illegal_names()   X-Ref
No description

test_bp_register_member_type_should_sanitize_member_type_key()   X-Ref


test_bp_register_member_type_should_store_member_type_string_as_name_property()   X-Ref
No description

test_bp_register_member_type_should_fill_in_missing_labels_with_ucfirst_member_type()   X-Ref
No description

test_bp_register_member_type_should_respect_custom_name_label()   X-Ref


test_bp_register_member_type_should_respect_custom_singular_name_label()   X-Ref


test_bp_register_member_type_has_directory_should_default_to_true()   X-Ref


test_bp_register_member_type_has_directory_true()   X-Ref


test_bp_register_member_type_should_store_has_directory_false()   X-Ref


test_bp_register_member_type_should_store_has_directory_string()   X-Ref


test_bp_get_member_type_object_should_return_null_for_non_existent_member_type()   X-Ref
No description

test_bp_get_member_type_object_should_return_type_object()   X-Ref
No description

test_bp_set_member_type_should_return_false_for_invalid_member_type()   X-Ref
No description

test_bp_set_member_type_should_remove_member_type_when_passing_an_empty_value()   X-Ref
No description

test_bp_set_member_type_success()   X-Ref
No description

test_bp_get_member_type_with_default_value_for_single()   X-Ref
No description

test_bp_get_member_type_with_single_true()   X-Ref
No description

test_bp_get_member_type_with_single_false()   X-Ref
No description

test_bp_get_member_type_should_return_false_when_no_value_is_found()   X-Ref
No description

test_bp_get_member_type_should_hit_cache()   X-Ref


test_bp_members_prefetch_member_type_array_cache_set()   X-Ref


test_bp_get_member_type_should_return_false_for_deleted_user()   X-Ref


test_bp_get_member_type_should_not_conflict_with_term_cache()   X-Ref


test_bp_remove_member_type_should_return_false_when_member_type_is_empty()   X-Ref


test_bp_remove_member_type_should_return_false_when_member_type_is_invalid()   X-Ref


test_bp_remove_member_type_should_return_false_when_member_is_not_of_provided_type()   X-Ref


test_bp_remove_member_type_should_return_true_for_successful_deletion()   X-Ref


test_bp_remove_member_type_should_return_false_when_user_has_no_member_type()   X-Ref


test_bp_has_member_type_should_return_false_when_member_type_is_empty()   X-Ref


test_bp_has_member_type_should_return_false_when_member_type_is_invalid()   X-Ref


test_bp_has_member_type_should_return_false_when_member_id_is_empty()   X-Ref


test_bp_has_member_type_should_return_false_when_member_is_not_of_provided_type()   X-Ref


test_bp_has_member_type_should_return_true_on_success()   X-Ref


test_bp_get_registered_by_code_member_type_should_not_return_unregistered_types()   X-Ref
No description



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1