Make WordPress Core


Ignore:
Timestamp:
09/19/2020 03:52:03 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Add missing @covers tags for files in phpunit/tests/functions/.

Props pbearne, jrf.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/wpListUtil.php

    r48939 r49006  
    155155    /**
    156156     * @dataProvider data_test_wp_list_pluck
     157     *
     158     * @covers ::wp_list_pluck
    157159     *
    158160     * @param array      $list      List of objects or arrays.
     
    359361    /**
    360362     * @dataProvider data_test_wp_list_filter
     363     *
     364     * @covers ::wp_list_filter
    361365     *
    362366     * @param array  $list     An array of objects to filter.
     
    687691     * @dataProvider data_test_wp_list_sort
    688692     *
     693     * @covers ::wp_list_sort
     694     *
    689695     * @param string|array $orderby Either the field name to order by or an array
    690696     *                              of multiple orderby fields as $orderby => $order.
     
    10111017    /**
    10121018     * @dataProvider data_test_wp_list_sort_preserve_keys
     1019     *
     1020     * @covers ::wp_list_sort
    10131021     *
    10141022     * @param string|array $orderby Either the field name to order by or an array
     
    10201028    }
    10211029
     1030    /**
     1031     * @covers WP_List_Util::get_input
     1032     */
    10221033    public function test_wp_list_util_get_input() {
    10231034        $input = array( 'foo', 'bar' );
     
    10271038    }
    10281039
     1040    /**
     1041     * @covers WP_List_Util::get_output
     1042     */
    10291043    public function test_wp_list_util_get_output_immediately() {
    10301044        $input = array( 'foo', 'bar' );
     
    10341048    }
    10351049
     1050    /**
     1051     * @covers WP_List_Util::get_output
     1052     */
    10361053    public function test_wp_list_util_get_output() {
    10371054        $expected = array(
Note: See TracChangeset for help on using the changeset viewer.