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.

git-svn-id: https://develop.svn.wordpress.org/trunk@56299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Bernie Reiter 2023-07-25 12:17:28 +00:00
parent d7aff966e6
commit 1d112a6b88
5 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@
*
* @coversDefaultClass WP_HTML_Processor
*/
class Tests_HtmlApi_wpHtmlProcessor extends WP_UnitTestCase {
class Tests_HtmlApi_WpHtmlProcessor extends WP_UnitTestCase {
/**
* Ensure that the HTML Processor's public constructor function warns a developer to call
* the static creator methods instead of directly instantiating a new class.

View File

@ -11,7 +11,7 @@
*
* @coversDefaultClass WP_HTML_Processor
*/
class Tests_HtmlApi_wpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
class Tests_HtmlApi_WpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
/**
* @ticket 58517
*

View File

@ -25,7 +25,7 @@
*
* @coversDefaultClass WP_HTML_Processor
*/
class Tests_HtmlApi_wpHtmlSupportRequiredOpenElements extends WP_UnitTestCase {
class Tests_HtmlApi_WpHtmlSupportRequiredOpenElements extends WP_UnitTestCase {
/**
* Fails to assert if the HTML Processor handles the given tag.
*

View File

@ -11,7 +11,7 @@
*
* @coversDefaultClass WP_HTML_Tag_Processor
*/
class Tests_HtmlApi_wpHtmlTagProcessor_Bookmark extends WP_UnitTestCase {
class Tests_HtmlApi_WpHtmlTagProcessor_Bookmark extends WP_UnitTestCase {
/**
* @ticket 56299

View File

@ -11,7 +11,7 @@
*
* @coversDefaultClass WP_HTML_Tag_Processor
*/
class Tests_HtmlApi_wpHtmlTagProcessor extends WP_UnitTestCase {
class Tests_HtmlApi_WpHtmlTagProcessor extends WP_UnitTestCase {
const HTML_SIMPLE = '<div id="first"><span id="second">Text</span></div>';
const HTML_WITH_CLASSES = '<div class="main with-border" id="first"><span class="not-main bold with-border" id="second">Text</span></div>';
const HTML_MALFORMED = '<div><span class="d-md-none" Notifications</span><span class="d-none d-md-inline">Back to notifications</span></div>';