mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 18:48:18 +01:00
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:
parent
d7aff966e6
commit
1d112a6b88
@ -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.
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @coversDefaultClass WP_HTML_Processor
|
||||
*/
|
||||
class Tests_HtmlApi_wpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
|
||||
class Tests_HtmlApi_WpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
|
||||
/**
|
||||
* @ticket 58517
|
||||
*
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user