[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

(no description)

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

Defines 1 class

BP_Tests_Groups_Types:: (37 methods):
  setUp()
  wpSetUpBeforeClass()
  wpTearDownAfterClass()
  test_groups_register_type_should_fail_for_existing_group_type()
  test_illegal_names()
  illegal_names()
  test_groups_register_type_should_sanitize_group_type_key()
  test_groups_register_type_should_store_group_type_string_as_name_property()
  test_groups_register_type_should_fill_missing_labels_with_ucfirst_group_type()
  test_groups_register_type_should_respect_custom_name_labels()
  test_groups_register_type_should_respect_custom_singular_name_labels()
  test_groups_get_type_object_should_return_null_for_non_existing_group_type()
  test_groups_get_type_object_should_return_type_object()
  test_groups_set_type_should_return_false_for_invalid_group_type()
  test_groups_set_type_success()
  test_groups_set_type_should_remove_type_when_passing_an_empty_value()
  test_groups_get_type_with_default_value_for_single()
  test_groups_get_type_with_single_true()
  test_groups_get_type_with_single_false()
  test_groups_get_type_should_return_false_when_no_value_is_found()
  test_groups_remove_type_should_return_false_when_group_type_is_empty()
  test_groups_remove_type_should_return_false_when_group_type_is_invalid()
  test_groups_remove_type_should_return_false_when_group_is_not_of_provided_type()
  tests_groups_remove_type_should_return_true_on_successful_deletion()
  test_groups_has_type_should_return_false_when_group_type_is_empty()
  test_groups_has_type_should_return_false_when_group_type_is_invalid()
  test_groups_has_type_should_return_false_when_group_id_is_empty()
  test_groups_has_type_should_return_false_when_group_is_not_of_provided_type()
  test_groups_has_type_should_return_true_on_success()
  test_groups_get_type_should_hit_cache()
  test_bp_groups_get_group_types_filter()
  test_groups_registered_by_code_group_type_should_not_return_unregistered_types()
  test_bp_groups_register_group_type_show_in_list_true_when_show_in_create_screen_true()
  test_bp_groups_register_group_type_show_in_list_false_when_show_in_create_screen_false()
  test_bp_groups_register_group_type_show_in_list_false_and_show_in_create_screen_true()
  test_bp_groups_set_group_type_should_remove_types_when_passing_an_empty_value()
  test_bp_groups_set_group_type_should_set_multiple_types_when_passing_array_of_types()


Class: BP_Tests_Groups_Types  - X-Ref


setUp()   X-Ref
No description

wpSetUpBeforeClass( $f )   X-Ref
No description

wpTearDownAfterClass()   X-Ref
No description

test_groups_register_type_should_fail_for_existing_group_type()   X-Ref
No description

test_illegal_names( $name )   X-Ref


illegal_names()   X-Ref
No description

test_groups_register_type_should_sanitize_group_type_key()   X-Ref
No description

test_groups_register_type_should_store_group_type_string_as_name_property()   X-Ref
No description

test_groups_register_type_should_fill_missing_labels_with_ucfirst_group_type()   X-Ref
No description

test_groups_register_type_should_respect_custom_name_labels()   X-Ref
No description

test_groups_register_type_should_respect_custom_singular_name_labels()   X-Ref
No description

test_groups_get_type_object_should_return_null_for_non_existing_group_type()   X-Ref
No description

test_groups_get_type_object_should_return_type_object()   X-Ref
No description

test_groups_set_type_should_return_false_for_invalid_group_type()   X-Ref
No description

test_groups_set_type_success()   X-Ref
No description

test_groups_set_type_should_remove_type_when_passing_an_empty_value()   X-Ref
No description

test_groups_get_type_with_default_value_for_single()   X-Ref
No description

test_groups_get_type_with_single_true()   X-Ref
No description

test_groups_get_type_with_single_false()   X-Ref
No description

test_groups_get_type_should_return_false_when_no_value_is_found()   X-Ref
No description

test_groups_remove_type_should_return_false_when_group_type_is_empty()   X-Ref
No description

test_groups_remove_type_should_return_false_when_group_type_is_invalid()   X-Ref
No description

test_groups_remove_type_should_return_false_when_group_is_not_of_provided_type()   X-Ref
No description

tests_groups_remove_type_should_return_true_on_successful_deletion()   X-Ref
No description

test_groups_has_type_should_return_false_when_group_type_is_empty()   X-Ref
No description

test_groups_has_type_should_return_false_when_group_type_is_invalid()   X-Ref
No description

test_groups_has_type_should_return_false_when_group_id_is_empty()   X-Ref
No description

test_groups_has_type_should_return_false_when_group_is_not_of_provided_type()   X-Ref
No description

test_groups_has_type_should_return_true_on_success()   X-Ref
No description

test_groups_get_type_should_hit_cache()   X-Ref


test_bp_groups_get_group_types_filter()   X-Ref
No description

test_groups_registered_by_code_group_type_should_not_return_unregistered_types()   X-Ref
No description

test_bp_groups_register_group_type_show_in_list_true_when_show_in_create_screen_true()   X-Ref
No description

test_bp_groups_register_group_type_show_in_list_false_when_show_in_create_screen_false()   X-Ref
No description

test_bp_groups_register_group_type_show_in_list_false_and_show_in_create_screen_true()   X-Ref
No description

test_bp_groups_set_group_type_should_remove_types_when_passing_an_empty_value()   X-Ref
No description

test_bp_groups_set_group_type_should_set_multiple_types_when_passing_array_of_types()   X-Ref
No description



Generated: Fri Dec 6 01:00:58 2024 Cross-referenced by PHPXref 0.7.1