Changeset 42636
- Timestamp:
- 02/01/2018 04:08:04 PM (7 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/manager.php
r42615 r42636 1753 1753 * 1754 1754 * @ticket 39221 1755 * @covers _wp_customize_publish_changeset()1755 * @covers ::_wp_customize_publish_changeset() 1756 1756 * @see WP_Customize_Widgets::schedule_customize_register() 1757 1757 * @see WP_Customize_Widgets::customize_register() -
trunk/tests/phpunit/tests/dependencies/scripts.php
r42343 r42636 736 736 * 737 737 * @ticket 41871 738 * @covers wp_enqueue_code_editor()738 * @covers ::wp_enqueue_code_editor() 739 739 */ 740 740 public function test_wp_enqueue_code_editor_when_php_file_will_be_passed() { … … 823 823 * 824 824 * @ticket 41871 825 * @covers wp_enqueue_code_editor()825 * @covers ::wp_enqueue_code_editor() 826 826 */ 827 827 public function test_wp_enqueue_code_editor_when_generated_array_by_compact_will_be_passed() { … … 905 905 * 906 906 * @ticket 41871 907 * @covers wp_enqueue_code_editor()907 * @covers ::wp_enqueue_code_editor() 908 908 */ 909 909 public function test_wp_enqueue_code_editor_when_generated_array_by_array_merge_will_be_passed() { … … 1002 1002 * 1003 1003 * @ticket 41871 1004 * @covers wp_enqueue_code_editor()1004 * @covers ::wp_enqueue_code_editor() 1005 1005 */ 1006 1006 public function test_wp_enqueue_code_editor_when_simple_array_will_be_passed() { -
trunk/tests/phpunit/tests/formatting/Autop.php
r42343 r42636 540 540 * 541 541 * @covers ::wpautop 542 * @uses trim542 * @uses ::trim 543 543 * 544 544 * @ticket 39307 -
trunk/tests/phpunit/tests/general/wpError.php
r42255 r42636 169 169 170 170 /** 171 * @covers WP_Error: get_error_code()171 * @covers WP_Error::get_error_code() 172 172 */ 173 173 public function test_get_error_code_with_no_errors_should_return_an_empty_string() { … … 176 176 177 177 /** 178 * @covers WP_Error: get_error_code()178 * @covers WP_Error::get_error_code() 179 179 */ 180 180 public function test_get_error_code_with_one_error_should_return_that_error_code() { … … 185 185 186 186 /** 187 * @covers WP_Error: get_error_code()187 * @covers WP_Error::get_error_code() 188 188 */ 189 189 public function test_get_error_code_with_multiple_errors_should_return_only_the_first_error_code() { -
trunk/tests/phpunit/tests/menu/nav-menu.php
r42343 r42636 32 32 * Two themes with one location each should just map, switching to a theme not previously-active. 33 33 * 34 * @covers wp_map_nav_menu_locations()34 * @covers ::wp_map_nav_menu_locations() 35 35 */ 36 36 function test_one_location_each() { … … 51 51 * Only registered locations should be mapped and returned. 52 52 * 53 * @covers wp_map_nav_menu_locations()53 * @covers ::wp_map_nav_menu_locations() 54 54 */ 55 55 function test_filter_registered_locations() { … … 72 72 * Locations with the same name should map, switching to a theme not previously-active. 73 73 * 74 * @covers wp_map_nav_menu_locations()74 * @covers ::wp_map_nav_menu_locations() 75 75 */ 76 76 function test_locations_with_same_slug() { … … 91 91 * If the new theme was previously active, we should honor any changes to nav menu mapping done when the other theme was active. 92 92 * 93 * @covers wp_map_nav_menu_locations()93 * @covers ::wp_map_nav_menu_locations() 94 94 */ 95 95 function test_new_theme_previously_active() { … … 115 115 * Make educated guesses on theme locations. 116 116 * 117 * @covers wp_map_nav_menu_locations()117 * @covers ::wp_map_nav_menu_locations() 118 118 */ 119 119 function test_location_guessing() { … … 138 138 * Make sure two locations that fall in the same group don't get the same menu assigned. 139 139 * 140 * @covers wp_map_nav_menu_locations()140 * @covers ::wp_map_nav_menu_locations() 141 141 */ 142 142 function test_location_guessing_one_menu_per_group() { … … 159 159 * Make sure two locations that fall in the same group get menus assigned from the same group. 160 160 * 161 * @covers wp_map_nav_menu_locations()161 * @covers ::wp_map_nav_menu_locations() 162 162 */ 163 163 function test_location_guessing_one_menu_per_location() { … … 182 182 * Technically possible to register menu locations numerically. 183 183 * 184 * @covers wp_map_nav_menu_locations()184 * @covers ::wp_map_nav_menu_locations() 185 185 */ 186 186 function test_numerical_locations() { -
trunk/tests/phpunit/tests/option/sanitize-option.php
r42343 r42636 163 163 * 164 164 * @ticket 42498 165 * @covers get_settings_errors()165 * @covers ::get_settings_errors() 166 166 * @global array $wp_settings_errors 167 167 */ -
trunk/tests/phpunit/tests/post/nav-menu.php
r42343 r42636 631 631 * Test _wp_delete_customize_changeset_dependent_auto_drafts. 632 632 * 633 * @covers _wp_delete_customize_changeset_dependent_auto_drafts()633 * @covers ::_wp_delete_customize_changeset_dependent_auto_drafts() 634 634 */ 635 635 function test_wp_delete_customize_changeset_dependent_auto_drafts() { -
trunk/tests/phpunit/tests/theme.php
r42343 r42636 321 321 * Test _wp_keep_alive_customize_changeset_dependent_auto_drafts. 322 322 * 323 * @covers _wp_keep_alive_customize_changeset_dependent_auto_drafts()323 * @covers ::_wp_keep_alive_customize_changeset_dependent_auto_drafts() 324 324 */ 325 325 function test_wp_keep_alive_customize_changeset_dependent_auto_drafts() { -
trunk/tests/phpunit/tests/widgets.php
r42362 r42636 724 724 * Tests for when 'sidebars_widgets' theme mod is populated. 725 725 * 726 * @covers retrieve_widgets()726 * @covers ::retrieve_widgets() 727 727 */ 728 728 function test_retrieve_widgets_with_theme_mod() { … … 787 787 * Tests for when sidebars widgets matches registered sidebars. 788 788 * 789 * @covers retrieve_widgets()789 * @covers ::retrieve_widgets() 790 790 */ 791 791 function test_retrieve_widgets_with_sidebars_widgets_matching_registered_sidebars() { … … 825 825 * Tests for when sidebars widgets doesn't match registered sidebars. 826 826 * 827 * @covers retrieve_widgets()827 * @covers ::retrieve_widgets() 828 828 */ 829 829 function test_retrieve_widgets_with_sidebars_widgets_not_matching_registered_sidebars() { … … 919 919 * Tests for Customizer mode. 920 920 * 921 * @covers retrieve_widgets()921 * @covers ::retrieve_widgets() 922 922 */ 923 923 function test_retrieve_widgets_for_customizer() { … … 991 991 * Tests for orphaned widgets being moved into inactive widgets. 992 992 * 993 * @covers retrieve_widgets()993 * @covers ::retrieve_widgets() 994 994 */ 995 995 function test_retrieve_widgets_move_orphaned_widgets_to_inactive() { … … 1026 1026 * Test _wp_remove_unregistered_widgets. 1027 1027 * 1028 * @covers _wp_remove_unregistered_widgets()1028 * @covers ::_wp_remove_unregistered_widgets() 1029 1029 */ 1030 1030 public function test__wp_remove_unregistered_widgets() { … … 1056 1056 * Two themes with one sidebar each should just map, switching to a theme not previously-active. 1057 1057 * 1058 * @covers wp_map_sidebars_widgets()1058 * @covers ::wp_map_sidebars_widgets() 1059 1059 */ 1060 1060 public function test_one_sidebar_each() { … … 1076 1076 * Sidebars with the same name should map, switching to a theme not previously-active. 1077 1077 * 1078 * @covers wp_map_sidebars_widgets()1078 * @covers ::wp_map_sidebars_widgets() 1079 1079 */ 1080 1080 public function test_sidebars_with_same_slug() { … … 1094 1094 * Make educated guesses on theme sidebars. 1095 1095 * 1096 * @covers wp_map_sidebars_widgets()1096 * @covers ::wp_map_sidebars_widgets() 1097 1097 */ 1098 1098 public function test_sidebar_guessing() { … … 1117 1117 * Make sure two sidebars that fall in the same group don't get the same menu assigned. 1118 1118 * 1119 * @covers wp_map_sidebars_widgets()1119 * @covers ::wp_map_sidebars_widgets() 1120 1120 */ 1121 1121 public function test_sidebar_guessing_one_menu_per_group() { … … 1138 1138 * Make sure two sidebars that fall in the same group get menus assigned from the same group. 1139 1139 * 1140 * @covers wp_map_sidebars_widgets()1140 * @covers ::wp_map_sidebars_widgets() 1141 1141 */ 1142 1142 public function test_sidebar_guessing_one_menu_per_sidebar() {
Note: See TracChangeset
for help on using the changeset viewer.