Make WordPress Core

Changeset 56299 for trunk


Ignore:
Timestamp:
07/25/2023 12:17:28 PM (11 months ago)
Author:
Bernhard Reiter
Message:

HTML API: Change wp infix in test classes to Wp.

In order to comply with the test class naming scheme set forth in #56846, rename the test classes covering the HTML API by changing the wp infix to Wp.

Props dmsnell, costdev.
Fixes #58899. See #56846.

Location:
trunk/tests/phpunit/tests/html-api
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php

    r56274 r56299  
    1212 * @coversDefaultClass WP_HTML_Processor
    1313 */
    14 class Tests_HtmlApi_wpHtmlProcessor extends WP_UnitTestCase {
     14class Tests_HtmlApi_WpHtmlProcessor extends WP_UnitTestCase {
    1515    /**
    1616     * Ensure that the HTML Processor's public constructor function warns a developer to call
  • trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php

    r56274 r56299  
    1212 * @coversDefaultClass WP_HTML_Processor
    1313 */
    14 class Tests_HtmlApi_wpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
     14class Tests_HtmlApi_WpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
    1515    /**
    1616     * @ticket 58517
  • trunk/tests/phpunit/tests/html-api/wpHtmlSupportRequiredOpenElements.php

    r56274 r56299  
    2626 * @coversDefaultClass WP_HTML_Processor
    2727 */
    28 class Tests_HtmlApi_wpHtmlSupportRequiredOpenElements extends WP_UnitTestCase {
     28class Tests_HtmlApi_WpHtmlSupportRequiredOpenElements extends WP_UnitTestCase {
    2929    /**
    3030     * Fails to assert if the HTML Processor handles the given tag.
  • trunk/tests/phpunit/tests/html-api/wpHtmlTagProcessor-bookmark.php

    r55555 r56299  
    1212 * @coversDefaultClass WP_HTML_Tag_Processor
    1313 */
    14 class Tests_HtmlApi_wpHtmlTagProcessor_Bookmark extends WP_UnitTestCase {
     14class Tests_HtmlApi_WpHtmlTagProcessor_Bookmark extends WP_UnitTestCase {
    1515
    1616    /**
  • trunk/tests/phpunit/tests/html-api/wpHtmlTagProcessor.php

    r56133 r56299  
    1212 * @coversDefaultClass WP_HTML_Tag_Processor
    1313 */
    14 class Tests_HtmlApi_wpHtmlTagProcessor extends WP_UnitTestCase {
     14class Tests_HtmlApi_WpHtmlTagProcessor extends WP_UnitTestCase {
    1515    const HTML_SIMPLE       = '<div id="first"><span id="second">Text</span></div>';
    1616    const HTML_WITH_CLASSES = '<div class="main with-border" id="first"><span class="not-main bold with-border" id="second">Text</span></div>';
Note: See TracChangeset for help on using the changeset viewer.