Changeset 50287
- Timestamp:
- 02/11/2021 03:15:37 PM (4 years ago)
- Location:
- trunk/tests/phpunit/tests/dependencies
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/jquery.php
r49101 r50287 7 7 class Tests_Dependencies_jQuery extends WP_UnitTestCase { 8 8 9 /** 10 * @covers WP_Scripts::query 11 */ 9 12 function test_location_of_jquery() { 10 13 $scripts = new WP_Scripts; … … 48 51 * 49 52 * @expectedIncorrectUsage wp_deregister_script 53 * 54 * @covers ::wp_script_is 50 55 */ 51 56 function test_dont_allow_deregister_core_scripts_in_admin() { … … 91 96 /** 92 97 * @ticket 28404 98 * 99 * @covers ::wp_script_is 93 100 */ 94 101 function test_wp_script_is_dep_enqueued() { … … 105 112 * 106 113 * @ticket 25247 114 * 115 * @covers WP_Scripts::do_items 107 116 */ 108 117 function test_jquery_in_footer() { -
trunk/tests/phpunit/tests/dependencies/scripts.php
r50259 r50287 3 3 * @group dependencies 4 4 * @group scripts 5 * @covers ::wp_enqueue_script 6 * @covers ::wp_register_script 7 * @covers ::wp_print_scripts 8 * @covers ::wp_script_add_data 9 * @covers ::wp_add_inline_script 10 * @covers ::wp_set_script_translations 5 11 */ 6 12 class Tests_Dependencies_Scripts extends WP_UnitTestCase { … … 265 271 * 266 272 * @ticket 35873 273 * 274 * @covers WP_Dependencies::add 275 * @covers WP_Dependencies::enqueue 276 * @covers WP_Dependencies::do_items 267 277 */ 268 278 public function test_group_mismatch_in_deps() { -
trunk/tests/phpunit/tests/dependencies/styles.php
r48937 r50287 3 3 * @group dependencies 4 4 * @group scripts 5 * @covers ::wp_enqueue_style 6 * @covers ::wp_register_style 7 * @covers ::wp_print_styles 8 * @covers ::wp_style_add_data 9 * @covers ::wp_add_inline_style 5 10 */ 6 11 class Tests_Dependencies_Styles extends WP_UnitTestCase { … … 350 355 * 351 356 * Visual block styles should always be enqueued when editing to avoid the appearance of a broken editor. 357 * 358 * @covers ::wp_enqueue_style 352 359 */ 353 360 function test_block_styles_for_editing_without_theme_support() { … … 366 373 * 367 374 * Visual block styles should always be enqueued when editing to avoid the appearance of a broken editor. 375 * 376 * @covers ::wp_common_block_scripts_and_styles 368 377 */ 369 378 function test_block_styles_for_editing_with_theme_support() { … … 382 391 * Visual block styles should not be enqueued unless a theme opts in. 383 392 * This way we avoid style conflicts with existing themes. 393 * 394 * @covers ::wp_enqueue_style 384 395 */ 385 396 function test_no_block_styles_for_viewing_without_theme_support() { … … 398 409 * 399 410 * Visual block styles should be enqueued when a theme opts in. 411 * 412 * @covers ::wp_common_block_scripts_and_styles 400 413 */ 401 414 function test_block_styles_for_viewing_with_theme_support() {
Note: See TracChangeset
for help on using the changeset viewer.