Changeset 42636 for trunk/tests/phpunit/tests/menu/nav-menu.php
- Timestamp:
- 02/01/2018 04:08:04 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/menu/nav-menu.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)