Test_Functions_Deprecated::test_wp_save_image_file_deprecated_with_gd_resource() – Test that wp_save_image_file has a deprecated argument when passed a GD resource
Test_Functions_Deprecated::test_wp_save_image_file_not_deprecated_with_wp_image_editor() – Test that wp_save_image_file doesn’t have a deprecated argument when passed a WP_Image_Editor
Test_Nav_Menus::test_wp_delete_customize_changeset_dependent_auto_drafts() – Test _wp_delete_customize_changeset_dependent_auto_drafts.
Test_WP_Community_Events::_http_request_bad_response_code() – Simulates an HTTP response with a non-200 response code.
Test_WP_Community_Events::_http_request_invalid_response() – Simulates an HTTP response with a body that does not have the required properties.
Test_WP_Community_Events::_http_request_valid_response_multiple_wordcamps() – Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it’s default position.
Test_WP_Community_Events::_http_request_valid_response_unpinned_wordcamp() – Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it’s default position.
Test_WP_Community_Events::_http_request_valid_response() – Simulates an HTTP response with valid location and event data.
Test_WP_Community_Events::data_get_unsafe_client_ip() – Provide test cases for `test_get_unsafe_client_ip()`.
Test_WP_Community_Events::test_get_cached_events_bad_response_code() – Test: The response body should not be cached if the response code is not 200.
Test_WP_Community_Events::test_get_cached_events_invalid_response() – Test: The response body should not be cached if it does not have the required properties.
Test_WP_Community_Events::test_get_cached_events_valid_response() – Test: get_cached_events() should return the same data as get_events(), including formatted time and date values for each event.
Test_WP_Community_Events::test_get_events_bad_response_code() – Test: get_events() should return an instance of WP_Error if the response code is not 200.
Test_WP_Community_Events::test_get_events_dont_pin_multiple_wordcamps() – Test: get_events() shouldn’t stick an extra WordCamp when there’s already one that naturally falls into the list.
Test_WP_Community_Events::test_get_events_invalid_response() – Test: get_events() should return an instance of WP_Error if the response body does not have the required properties.
Test_WP_Community_Events::test_get_events_pin_wordcamp() – Test: get_events() should return the events with the WordCamp pinned in the prepared list.
Test_WP_Community_Events::test_get_events_valid_response() – Test: With a valid response, get_events() should return an associated array containing a location array and an events array with individual events that have formatted time and date.
Test_WP_Community_Events::test_get_unsafe_client_ip() – Test that get_unsafe_client_ip() properly anonymizes all possible address formats
Test_WP_Customize_Control::test_check_capabilities() – Test WP_Customize_Control::check_capabilities().
Test_WP_Customize_Custom_CSS_Setting::clean_up_global_scope() – Delete the $wp_customize global when cleaning up scope.
Test_WP_Customize_Custom_CSS_Setting::filter_update_custom_css_data() – Filter `customize_update_custom_css_post_content_args`.
Test_WP_Customize_Custom_CSS_Setting::test_crud() – Test crud methods on WP_Customize_Custom_CSS_Setting.
Test_WP_Customize_Custom_CSS_Setting::test_custom_css_revision_saved() – Test revision saving on initial save of Custom CSS.
Test_WP_Customize_Custom_CSS_Setting::test_get_custom_css_post_queries_after_failed_lookup() – Test that wp_get_custom_css_post() doesn’t query for a post after caching a failed lookup.
Test_WP_Customize_Custom_CSS_Setting::test_update_custom_css_updates_theme_mod() – Test that wp_update_custom_css_post() updates the ‘custom_css_post_id’ theme mod.
Test_WP_Customize_Custom_CSS_Setting::test_update_filter() – Test update filter on WP_Customize_Custom_CSS_Setting.
Test_WP_Customize_Custom_CSS_Setting::test_validate() – Tests that validation errors are caught appropriately.
Test_WP_Customize_Custom_CSS_Setting::test_value_filter() – Test crud methods on WP_Customize_Custom_CSS_Setting.
Test_WP_Customize_Nav_Menu_Item_Setting::clean_up_global_scope() – Delete the $wp_customize global when cleaning up scope.
Test_WP_Customize_Nav_Menu_Item_Setting::filter_type_label() – Filter to add a custom menu item type label.
Test_WP_Customize_Nav_Menu_Item_Setting::test_construct_placeholder() – Test constructor for placeholder (draft) menu.
Test_WP_Customize_Nav_Menu_Item_Setting::test_custom_type_label() – Test value method with a custom object.
Test_WP_Customize_Nav_Menu_Item_Setting::test_get_original_title() – Test WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() for obtaining original title.
Test_WP_Customize_Nav_Menu_Item_Setting::test_preview_deleted() – Test preview method for deleted menu.
Test_WP_Customize_Nav_Menu_Item_Setting::test_preview_inserted() – Test preview method for inserted menu.
Test_WP_Customize_Nav_Menu_Item_Setting::test_preview_updated() – Test preview method for updated menu.