Changeset 42636 for trunk/tests/phpunit/tests/widgets.php
- Timestamp:
- 02/01/2018 04:08:04 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.