[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/testcases/xprofile/BP_XProfile_Field/ -> member_types.php (summary)

(no description)

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

Defines 1 class

BP_Tests_XProfile_BpXprofileField_MemberTypes:: (26 methods):
  setUp()
  tearDown()
  test_get_single_member_type()
  test_get_multiple_member_types()
  test_invalid_member_types_should_not_be_returned()
  test_when_no_stored_types_are_found_all_registered_member_types_as_well_as_null_type_should_be_returned()
  test__none_meta_should_result_in_empty_array()
  test__none_meta_should_override_other_values()
  test_set_should_not_append_by_default()
  test_set_should_not_append_when_append_is_set_to_false()
  test_set_should_append_when_append_is_set_to_true()
  test_set_empty_array_with_append_true_should_have_no_effect_on_saved_types()
  test_set_empty_array_with_append_false_should_result_in_field_being_associated_with_no_member_types()
  test_set_should_interpret_null_flag_properly()
  test_set_all_types_plus_null_should_result_in_nothing_stored_in_db()
  test_get_fields_for_member_type_should_get_field_with_explicit_member_type()
  test_get_fields_for_member_type_should_ignore_field_that_applies_to_no_member_types()
  test_get_fields_for_member_type_should_ignore_field_that_applies_to_different_member_types()
  test_get_fields_for_member_type_should_include_fields_with_no_member_type_restrictions()
  test_passing_member_type_any_to_get_fields_for_member_type_should_return_unrestricted_fields()
  test_passing_empty_member_type_to_get_fields_for_member_type_should_return_unrestricted_fields()
  test_passing_member_type_none_to_get_fields_for_member_type_should_return_fields_unavailable_to_all_member_types()
  test_get_fields_for_member_type_should_accept_an_array_of_member_types()
  test_get_fields_for_member_type_should_fetch_restricted_fields_from_cache()
  test_get_fields_for_member_type_should_skip_cache_after_a_fields_member_type_is_modified()
  test_get_member_type_label_order()


Class: BP_Tests_XProfile_BpXprofileField_MemberTypes  - X-Ref


setUp()   X-Ref
No description

tearDown()   X-Ref
No description

test_get_single_member_type()   X-Ref
No description

test_get_multiple_member_types()   X-Ref
No description

test_invalid_member_types_should_not_be_returned()   X-Ref
No description

test_when_no_stored_types_are_found_all_registered_member_types_as_well_as_null_type_should_be_returned()   X-Ref
No description

test__none_meta_should_result_in_empty_array()   X-Ref
No description

test__none_meta_should_override_other_values()   X-Ref
No description

test_set_should_not_append_by_default()   X-Ref
No description

test_set_should_not_append_when_append_is_set_to_false()   X-Ref
No description

test_set_should_append_when_append_is_set_to_true()   X-Ref
No description

test_set_empty_array_with_append_true_should_have_no_effect_on_saved_types()   X-Ref
No description

test_set_empty_array_with_append_false_should_result_in_field_being_associated_with_no_member_types()   X-Ref
No description

test_set_should_interpret_null_flag_properly()   X-Ref
No description

test_set_all_types_plus_null_should_result_in_nothing_stored_in_db()   X-Ref
No description

test_get_fields_for_member_type_should_get_field_with_explicit_member_type()   X-Ref
No description

test_get_fields_for_member_type_should_ignore_field_that_applies_to_no_member_types()   X-Ref
No description

test_get_fields_for_member_type_should_ignore_field_that_applies_to_different_member_types()   X-Ref
No description

test_get_fields_for_member_type_should_include_fields_with_no_member_type_restrictions()   X-Ref
No description

test_passing_member_type_any_to_get_fields_for_member_type_should_return_unrestricted_fields()   X-Ref
No description

test_passing_empty_member_type_to_get_fields_for_member_type_should_return_unrestricted_fields()   X-Ref
No description

test_passing_member_type_none_to_get_fields_for_member_type_should_return_fields_unavailable_to_all_member_types()   X-Ref
No description

test_get_fields_for_member_type_should_accept_an_array_of_member_types()   X-Ref
No description

test_get_fields_for_member_type_should_fetch_restricted_fields_from_cache()   X-Ref


test_get_fields_for_member_type_should_skip_cache_after_a_fields_member_type_is_modified()   X-Ref


test_get_member_type_label_order()   X-Ref
No description



Generated: Wed Nov 6 01:00:56 2024 Cross-referenced by PHPXref 0.7.1