Changeset 25409 for trunk/tests/phpunit/tests/theme.php
- Timestamp:
- 09/12/2013 06:37:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r25402 r25409 7 7 */ 8 8 class Tests_Theme extends WP_UnitTestCase { 9 protected $deprecated_functions = array( 'get_theme', 'get_themes', 'get_theme_data', 'get_current_theme' );10 9 protected $theme_slug = 'twentyeleven'; 11 10 protected $theme_name = 'Twenty Eleven'; … … 35 34 } 36 35 36 /** 37 * @expectedDeprecated get_theme 38 * @expectedDeprecated get_themes 39 */ 37 40 function test_get_themes_default() { 38 41 $themes = get_themes(); … … 45 48 } 46 49 50 /** 51 * @expectedDeprecated get_theme 52 * @expectedDeprecated get_themes 53 */ 47 54 function test_get_theme() { 48 55 $themes = get_themes(); … … 68 75 } 69 76 77 /** 78 * @expectedDeprecated get_themes 79 */ 70 80 function test_get_themes_contents() { 71 81 $themes = get_themes(); … … 154 164 /** 155 165 * @ticket 20897 166 * @expectedDeprecated get_theme_data 156 167 */ 157 168 function test_extra_theme_headers() { … … 171 182 } 172 183 184 /** 185 * @expectedDeprecated get_themes 186 * @expectedDeprecated get_current_theme 187 */ 173 188 function test_switch_theme() { 174 189 $themes = get_themes();
Note: See TracChangeset
for help on using the changeset viewer.