Make WordPress Core


Ignore:
Timestamp:
02/15/2021 02:00:02 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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

Props patopaiar, jrf.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/http/http.php

    r48937 r50344  
    1111    /**
    1212     * @dataProvider make_absolute_url_testcases
     13     *
     14     * @covers ::WP_Http::make_absolute_url
    1315     */
    1416    function test_make_absolute_url( $relative_url, $absolute_url, $expected ) {
     
    7072    /**
    7173     * @dataProvider parse_url_testcases
     74     *
     75     * @covers ::wp_parse_url
    7276     */
    7377    function test_wp_parse_url( $url, $expected ) {
     
    181185    /**
    182186     * @ticket 36356
     187     *
     188     * @covers ::wp_parse_url
    183189     */
    184190    function test_wp_parse_url_with_default_component() {
     
    203209     *
    204210     * @dataProvider parse_url_component_testcases
     211     *
     212     * @covers ::wp_parse_url
    205213     */
    206214    function test_wp_parse_url_with_component( $url, $component, $expected ) {
     
    262270    /**
    263271     * @ticket 35426
     272     *
     273     * @covers ::get_status_header_desc
    264274     */
    265275    public function test_http_response_code_constants() {
     
    278288    /**
    279289     * @ticket 37768
     290     *
     291     * @covers WP_Http::normalize_cookies
    280292     */
    281293    public function test_normalize_cookies_scalar_values() {
     
    313325     *
    314326     * @dataProvider get_component_from_parsed_url_array_testcases
     327     *
     328     * @covers ::wp_parse_url
     329     * @covers ::_get_component_from_parsed_url_array
    315330     */
    316331    function test_get_component_from_parsed_url_array( $url, $component, $expected ) {
     
    352367     *
    353368     * @dataProvider wp_translate_php_url_constant_to_key_testcases
     369     *
     370     * @covers ::_wp_translate_php_url_constant_to_key
    354371     */
    355372    function test_wp_translate_php_url_constant_to_key( $input, $expected ) {
Note: See TracChangeset for help on using the changeset viewer.