Make WordPress Core

Changeset 51493


Ignore:
Timestamp:
07/26/2021 07:25:09 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Rename classes in phpunit/tests/widgets/ per the naming conventions.

https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization

Follow-up to [47780], [48911], [49327], [50291], [50292], [50342], [50452], [50453], [50456], [50967], [50968], [50969], [51491], [51492].

See #53363.

Location:
trunk/tests/phpunit/tests/widgets
Files:
1 edited
7 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php

    r51492 r51493  
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Custom_HTML extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetCustomHtml extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetMedia.php

    r51492 r51493  
    88
    99/**
    10  * Class Test_WP_Widget_Media
     10 * Test wp-includes/widgets/class-wp-widget-media.php
    1111 *
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Media extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetMedia extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetMediaAudio.php

    r51492 r51493  
    88
    99/**
    10  * Test wp-includes/widgets/class-wp-widget-audio.php
     10 * Test wp-includes/widgets/class-wp-widget-media-audio.php
    1111 *
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Media_Audio extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetMediaAudio extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetMediaGallery.php

    r51492 r51493  
    88
    99/**
    10  * Test wp-includes/widgets/class-wp-widget-gallery.php
     10 * Test wp-includes/widgets/class-wp-widget-media-gallery.php
    1111 *
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetMediaGallery extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetMediaImage.php

    r51492 r51493  
    88
    99/**
    10  * Test wp-includes/widgets/class-wp-widget-image.php
     10 * Test wp-includes/widgets/class-wp-widget-media-image.php
    1111 *
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Media_Image extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetMediaImage extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetMediaVideo.php

    r51492 r51493  
    88
    99/**
    10  * Test wp-includes/widgets/class-wp-widget-video.php
     10 * Test wp-includes/widgets/class-wp-widget-media-video.php
    1111 *
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetMediaVideo extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetRss.php

    r51462 r51493  
    1212 * @group widgets
    1313 */
    14 class Test_Widgets_wpWidgetRss extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetRss extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/widgets/wpWidgetText.php

    r51492 r51493  
    1212 * @group widgets
    1313 */
    14 class Test_WP_Widget_Text extends WP_UnitTestCase {
     14class Tests_Widgets_wpWidgetText extends WP_UnitTestCase {
    1515    /**
    1616     * Args passed to the widget_text filter.
Note: See TracChangeset for help on using the changeset viewer.