Make WordPress Core

Changeset 50454


Ignore:
Timestamp:
02/28/2021 05:09:39 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Props sephsekla, jrf.
See #39265.

Location:
trunk/tests/phpunit/tests/link
Files:
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/link/getAdjacentPostLink.php

    r47122 r50454  
    33/**
    44 * @group link
     5 * @covers ::get_adjacent_post_link
     6 * @covers ::get_next_post_link
     7 * @covers ::get_previous_post_link
    58 */
    69class Tests_Link_GetAdjacentPostLink extends WP_UnitTestCase {
  • trunk/tests/phpunit/tests/link/getDashboardUrl.php

    r49603 r50454  
    33/**
    44 * @group link
     5 * @covers ::get_dashboard_url
    56 */
    67class Tests_Link_GetDashboardUrl extends WP_UnitTestCase {
  • trunk/tests/phpunit/tests/link/getPostCommentsFeedLink.php

    r48937 r50454  
    22/**
    33 * @group link
     4 * @covers ::get_post_comments_feed_link
    45 */
    56class Tests_Link_GetPostCommentsFeedLink extends WP_UnitTestCase {
  • trunk/tests/phpunit/tests/link/getPostTypeArchiveLink.php

    r46586 r50454  
    22/**
    33 * @group link
     4 * @covers ::get_post_type_archive_link
    45 */
    56class Tests_Link_GetPostTypeArchiveLink extends WP_UnitTestCase {
  • trunk/tests/phpunit/tests/link/selfAdminUrl.php

    r50453 r50454  
    33/**
    44 * @group link
     5 * @covers ::self_admin_url
    56 */
    6 class Tests_Link_AdminUrl extends WP_UnitTestCase {
     7class Tests_Link_SelfAdminUrl extends WP_UnitTestCase {
    78
    89    /**
  • trunk/tests/phpunit/tests/link/themeFile.php

    r50452 r50454  
    4646     *
    4747     * @dataProvider data_theme_files
     48     *
     49     * @covers ::get_theme_file_uri
     50     * @covers ::get_parent_theme_file_uri
    4851     */
    4952    public function test_theme_file_uri_with_parent_theme( $file, $expected_theme, $existence ) {
     
    5962     *
    6063     * @dataProvider data_theme_files
     64     *
     65     * @covers ::get_theme_file_uri
     66     * @covers ::get_parent_theme_file_uri
    6167     */
    6268    public function test_theme_file_uri_with_child_theme( $file, $expected_theme, $existence ) {
     
    7480     *
    7581     * @dataProvider data_theme_files
     82     *
     83     * @covers ::get_theme_file_path
     84     * @covers ::get_parent_theme_file_path
    7685     */
    7786    public function test_theme_file_path_with_parent_theme( $file, $expected_theme, $existence ) {
     
    8796     *
    8897     * @dataProvider data_theme_files
     98     *
     99     * @covers ::get_theme_file_path
     100     * @covers ::get_parent_theme_file_path
    89101     */
    90102    public function test_theme_file_path_with_child_theme( $file, $expected_theme, $existence ) {
     
    125137     *
    126138     * @dataProvider data_theme_files
     139     *
     140     * @covers ::get_theme_file_uri
     141     * @covers ::get_parent_theme_file_uri
    127142     */
    128143    public function test_theme_file_uri_returns_valid_uri( $file, $expected_theme, $existence ) {
Note: See TracChangeset for help on using the changeset viewer.