SpeedTrapListener::getHiddenCount() – Find how many slow tests occurred that won’t be shown due to list length.
SpeedTrapListener::getSlowThreshold() – Get slow test threshold for given test. A TestCase can override the suite-wide slow threshold by using the annotation @slowThreshold with the threshold value in milliseconds.
Test_Nav_Menus::get_iri_current_menu_items() – Provides IRI matching data for _wp_menu_item_classes_by_context() test.
Test_WP_Widget_Media_Gallery::test_render_control_template_scripts() – Test render_control_template_scripts() method.
Tests_Admin_IncludesPlugin::test_get_mu_plugins_should_ignore_index_php_containing_silence_is_golden() –
Tests_Admin_IncludesPlugin::test_get_mu_plugins_should_not_ignore_index_php_containing_something_other_than_silence_is_golden() –
Tests_Admin_IncludesPost::test_get_sample_permalink_html_should_use_correct_permalink_for_view_post_link_when_changing_slug() –
Tests_Admin_IncludesPost::test_get_sample_permalink_html_should_use_default_permalink_for_view_post_link_when_pretty_permalinks_are_disabled() –
Tests_Admin_IncludesPost::test_get_sample_permalink_html_should_use_pretty_permalink_for_view_attachment_link_when_pretty_permalinks_are_enabled() –
Tests_Admin_IncludesPost::test_get_sample_permalink_html_should_use_pretty_permalink_for_view_post_link_when_pretty_permalinks_are_enabled() –
Tests_Admin_IncludesPost::test_get_sample_permalink_html_should_use_preview_links_for_draft_and_pending_posts_with_no_post_name() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_allow_daylike_slugs_if_permastruct_does_not_cause_an_archive_conflict() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_allow_yearlike_slugs_if_permastruct_does_not_cause_an_archive_conflict() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_day_archives() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_month_archives() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_year_archives() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_ignore_potential_day_conflicts_for_invalid_day() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_ignore_potential_month_conflicts_for_invalid_monthnum() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_iterate_slug_suffix_when_a_date_conflict_is_found() –
Tests_Admin_IncludesPost::test_get_sample_permalink_should_return_pretty_permalink_for_posts_with_post_status_future() –
Tests_Admin_IncludesTemplate::test_get_settings_errors_sources() – Test calling get_settings_errors() with variations on where it gets errors from.
Tests_Admin_IncludesTheme::test_get_theme_featured_list_api() – Test that the list of theme features pulled from the WordPress.org API returns the expected data structure.
Tests_Admin_IncludesTheme::test_get_theme_featured_list_hardcoded() – Test that the list of theme features hardcoded into Core returns the expected data structure.
Tests_Admin_wpCommunityEvents::data_get_unsafe_client_ip() – Provide test cases for `test_get_unsafe_client_ip()`.
Tests_Admin_wpCommunityEvents::test_get_cached_events_bad_response_code() – Test: The response body should not be cached if the response code is not 200.
Tests_Admin_wpCommunityEvents::test_get_cached_events_invalid_response() – Test: The response body should not be cached if it does not have the required properties.
Tests_Admin_wpCommunityEvents::test_get_cached_events_valid_response() – Test: `get_cached_events()` should return the same data as get_events(), including Unix start/end timestamps for each event.
Tests_Admin_wpCommunityEvents::test_get_events_bad_response_code() – Test: get_events() should return an instance of WP_Error if the response code is not 200.
Tests_Admin_wpCommunityEvents::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.
Tests_Admin_wpCommunityEvents::test_get_events_valid_response() – Test: With a valid response, get_events() should return an associative array containing a location array and an events array with individual events that have Unix start/end timestamps.
Tests_Admin_wpCommunityEvents::test_get_unsafe_client_ip() – Test that get_unsafe_client_ip() properly anonymizes all possible address formats
Tests_Ajax_CompressionTest::_gzdecode() – Undo gzencode. This is ugly, but there’s no stock gzdecode() function.
Tests_Avatar::test_get_avatar_data_should_return_gravatar_url_when_input_avatar_comment_type() – The `get_avatar_data()` function should return gravatar url when comment type allowed to retrieve avatars.
Tests_Avatar::test_get_avatar_data_should_return_invalid_url_when_input_not_avatar_comment_type() – The `get_avatar_data()` function should return invalid url when comment type not allowed to retrieve avatars.