From 4d2762ed93d9d7a8801a05f764de6fe6ded9b87c Mon Sep 17 00:00:00 2001
From: Sergey Biryukov <sergeybiryukov@git.wordpress.org>
Date: Mon, 16 Aug 2021 21:33:54 +0000
Subject: [PATCH] Tests: Rename classes in `phpunit/tests/formatting/` 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], [51493].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51623 602fd350-edb4-49c9-b593-d223f7449a82
---
 .../formatting/{CapitalPDangit.php => capitalPDangit.php}     | 0
 tests/phpunit/tests/formatting/{CleanPre.php => cleanPre.php} | 0
 .../{ConvertInvalidEntries.php => convertInvalidEntries.php}  | 0
 .../tests/formatting/{Smilies.php => convertSmilies.php}      | 2 +-
 tests/phpunit/tests/formatting/{Emoji.php => emoji.php}       | 0
 tests/phpunit/tests/formatting/ent2ncr.php                    | 2 +-
 tests/phpunit/tests/formatting/{EscAttr.php => escAttr.php}   | 0
 tests/phpunit/tests/formatting/{EscHtml.php => escHtml.php}   | 0
 tests/phpunit/tests/formatting/{JSEscape.php => escJs.php}    | 2 +-
 .../tests/formatting/{EscTextarea.php => escTextarea.php}     | 0
 tests/phpunit/tests/formatting/{EscUrl.php => escUrl.php}     | 0
 tests/phpunit/tests/formatting/{EscXml.php => escXml.php}     | 0
 .../{ExcerptRemoveBlocks.php => excerptRemoveBlocks.php}      | 0
 .../tests/formatting/{BlogInfo.php => getBloginfo.php}        | 2 +-
 .../formatting/{GetUrlInContent.php => getUrlInContent.php}   | 0
 .../tests/formatting/{HumanTimeDiff.php => humanTimeDiff.php} | 0
 tests/phpunit/tests/formatting/{IsEmail.php => isEmail.php}   | 0
 .../tests/formatting/{LikeEscape.php => likeEscape.php}       | 0
 .../formatting/{LinksAddTarget.php => linksAddTarget.php}     | 0
 .../tests/formatting/{MakeClickable.php => makeClickable.php} | 0
 tests/phpunit/tests/formatting/{MapDeep.php => mapDeep.php}   | 0
 .../{NormalizeWhitespace.php => normalizeWhitespace.php}      | 0
 .../tests/formatting/{RemoveAccents.php => removeAccents.php} | 0
 .../formatting/{SanitizeFileName.php => sanitizeFileName.php} | 0
 .../formatting/{SanitizeMimeType.php => sanitizeMimeType.php} | 0
 .../formatting/{SanitizeOrderby.php => sanitizeOrderby.php}   | 0
 .../tests/formatting/{SanitizePost.php => sanitizePost.php}   | 0
 .../{SanitizeTextField.php => sanitizeTextField.php}          | 0
 .../tests/formatting/{SanitizeTitle.php => sanitizeTitle.php} | 0
 ...anitizeTitleWithDashes.php => sanitizeTitleWithDashes.php} | 0
 .../{SanitizeTrackbackUrls.php => sanitizeTrackbackUrls.php}  | 0
 .../tests/formatting/{SanitizeUser.php => sanitizeUser.php}   | 0
 .../phpunit/tests/formatting/{SeemsUtf8.php => seemsUtf8.php} | 0
 tests/phpunit/tests/formatting/{Slashit.php => slashit.php}   | 0
 .../formatting/{StripSlashesDeep.php => stripslashesDeep.php} | 2 +-
 .../tests/formatting/{URLShorten.php => urlShorten.php}       | 4 ++--
 .../tests/formatting/{UrlencodeDeep.php => urlencodeDeep.php} | 0
 .../tests/formatting/{Utf8UriEncode.php => utf8UriEncode.php} | 0
 tests/phpunit/tests/formatting/{Autop.php => wpAutop.php}     | 2 +-
 .../tests/formatting/{WPBasename.php => wpBasename.php}       | 2 +-
 .../tests/formatting/{HtmlExcerpt.php => wpHtmlExcerpt.php}   | 2 +-
 .../tests/formatting/{WpHtmlSplit.php => wpHtmlSplit.php}     | 2 +-
 .../tests/formatting/{WpHtmlEditPre.php => wpHtmleditPre.php} | 2 +-
 .../formatting/{isoDescrambler.php => wpIsoDescrambler.php}   | 2 +-
 .../{WPMakeLinkRelative.php => wpMakeLinkRelative.php}        | 2 +-
 .../tests/formatting/{WPRelNoFollow.php => wpRelNofollow.php} | 2 +-
 tests/phpunit/tests/formatting/{WPRelUgc.php => wpRelUgc.php} | 2 +-
 .../{WpReplaceInHtmlTags.php => wpReplaceInHtmlTags.php}      | 2 +-
 .../tests/formatting/{WpRichEditPre.php => wpRicheditPre.php} | 2 +-
 tests/phpunit/tests/formatting/{WPSlash.php => wpSlash.php}   | 2 +-
 .../formatting/{WPSpecialchars.php => wpSpecialchars.php}     | 2 +-
 .../formatting/{WPStripAllTags.php => wpStripAllTags.php}     | 2 +-
 .../{WPTargetedLinkRel.php => wpTargetedLinkRel.php}          | 2 +-
 .../tests/formatting/{WPTexturize.php => wpTexturize.php}     | 2 +-
 .../tests/formatting/{WpTrimExcerpt.php => wpTrimExcerpt.php} | 2 +-
 .../tests/formatting/{WPTrimWords.php => wpTrimWords.php}     | 2 +-
 tests/phpunit/tests/formatting/{Zeroise.php => zeroise.php}   | 0
 57 files changed, 25 insertions(+), 25 deletions(-)
 rename tests/phpunit/tests/formatting/{CapitalPDangit.php => capitalPDangit.php} (100%)
 rename tests/phpunit/tests/formatting/{CleanPre.php => cleanPre.php} (100%)
 rename tests/phpunit/tests/formatting/{ConvertInvalidEntries.php => convertInvalidEntries.php} (100%)
 rename tests/phpunit/tests/formatting/{Smilies.php => convertSmilies.php} (99%)
 rename tests/phpunit/tests/formatting/{Emoji.php => emoji.php} (100%)
 rename tests/phpunit/tests/formatting/{EscAttr.php => escAttr.php} (100%)
 rename tests/phpunit/tests/formatting/{EscHtml.php => escHtml.php} (100%)
 rename tests/phpunit/tests/formatting/{JSEscape.php => escJs.php} (95%)
 rename tests/phpunit/tests/formatting/{EscTextarea.php => escTextarea.php} (100%)
 rename tests/phpunit/tests/formatting/{EscUrl.php => escUrl.php} (100%)
 rename tests/phpunit/tests/formatting/{EscXml.php => escXml.php} (100%)
 rename tests/phpunit/tests/formatting/{ExcerptRemoveBlocks.php => excerptRemoveBlocks.php} (100%)
 rename tests/phpunit/tests/formatting/{BlogInfo.php => getBloginfo.php} (96%)
 rename tests/phpunit/tests/formatting/{GetUrlInContent.php => getUrlInContent.php} (100%)
 rename tests/phpunit/tests/formatting/{HumanTimeDiff.php => humanTimeDiff.php} (100%)
 rename tests/phpunit/tests/formatting/{IsEmail.php => isEmail.php} (100%)
 rename tests/phpunit/tests/formatting/{LikeEscape.php => likeEscape.php} (100%)
 rename tests/phpunit/tests/formatting/{LinksAddTarget.php => linksAddTarget.php} (100%)
 rename tests/phpunit/tests/formatting/{MakeClickable.php => makeClickable.php} (100%)
 rename tests/phpunit/tests/formatting/{MapDeep.php => mapDeep.php} (100%)
 rename tests/phpunit/tests/formatting/{NormalizeWhitespace.php => normalizeWhitespace.php} (100%)
 rename tests/phpunit/tests/formatting/{RemoveAccents.php => removeAccents.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeFileName.php => sanitizeFileName.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeMimeType.php => sanitizeMimeType.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeOrderby.php => sanitizeOrderby.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizePost.php => sanitizePost.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeTextField.php => sanitizeTextField.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeTitle.php => sanitizeTitle.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeTitleWithDashes.php => sanitizeTitleWithDashes.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeTrackbackUrls.php => sanitizeTrackbackUrls.php} (100%)
 rename tests/phpunit/tests/formatting/{SanitizeUser.php => sanitizeUser.php} (100%)
 rename tests/phpunit/tests/formatting/{SeemsUtf8.php => seemsUtf8.php} (100%)
 rename tests/phpunit/tests/formatting/{Slashit.php => slashit.php} (100%)
 rename tests/phpunit/tests/formatting/{StripSlashesDeep.php => stripslashesDeep.php} (96%)
 rename tests/phpunit/tests/formatting/{URLShorten.php => urlShorten.php} (91%)
 rename tests/phpunit/tests/formatting/{UrlencodeDeep.php => urlencodeDeep.php} (100%)
 rename tests/phpunit/tests/formatting/{Utf8UriEncode.php => utf8UriEncode.php} (100%)
 rename tests/phpunit/tests/formatting/{Autop.php => wpAutop.php} (99%)
 rename tests/phpunit/tests/formatting/{WPBasename.php => wpBasename.php} (91%)
 rename tests/phpunit/tests/formatting/{HtmlExcerpt.php => wpHtmlExcerpt.php} (90%)
 rename tests/phpunit/tests/formatting/{WpHtmlSplit.php => wpHtmlSplit.php} (94%)
 rename tests/phpunit/tests/formatting/{WpHtmlEditPre.php => wpHtmleditPre.php} (93%)
 rename tests/phpunit/tests/formatting/{isoDescrambler.php => wpIsoDescrambler.php} (82%)
 rename tests/phpunit/tests/formatting/{WPMakeLinkRelative.php => wpMakeLinkRelative.php} (95%)
 rename tests/phpunit/tests/formatting/{WPRelNoFollow.php => wpRelNofollow.php} (97%)
 rename tests/phpunit/tests/formatting/{WPRelUgc.php => wpRelUgc.php} (97%)
 rename tests/phpunit/tests/formatting/{WpReplaceInHtmlTags.php => wpReplaceInHtmlTags.php} (90%)
 rename tests/phpunit/tests/formatting/{WpRichEditPre.php => wpRicheditPre.php} (94%)
 rename tests/phpunit/tests/formatting/{WPSlash.php => wpSlash.php} (97%)
 rename tests/phpunit/tests/formatting/{WPSpecialchars.php => wpSpecialchars.php} (98%)
 rename tests/phpunit/tests/formatting/{WPStripAllTags.php => wpStripAllTags.php} (93%)
 rename tests/phpunit/tests/formatting/{WPTargetedLinkRel.php => wpTargetedLinkRel.php} (98%)
 rename tests/phpunit/tests/formatting/{WPTexturize.php => wpTexturize.php} (99%)
 rename tests/phpunit/tests/formatting/{WpTrimExcerpt.php => wpTrimExcerpt.php} (96%)
 rename tests/phpunit/tests/formatting/{WPTrimWords.php => wpTrimWords.php} (98%)
 rename tests/phpunit/tests/formatting/{Zeroise.php => zeroise.php} (100%)

diff --git a/tests/phpunit/tests/formatting/CapitalPDangit.php b/tests/phpunit/tests/formatting/capitalPDangit.php
similarity index 100%
rename from tests/phpunit/tests/formatting/CapitalPDangit.php
rename to tests/phpunit/tests/formatting/capitalPDangit.php
diff --git a/tests/phpunit/tests/formatting/CleanPre.php b/tests/phpunit/tests/formatting/cleanPre.php
similarity index 100%
rename from tests/phpunit/tests/formatting/CleanPre.php
rename to tests/phpunit/tests/formatting/cleanPre.php
diff --git a/tests/phpunit/tests/formatting/ConvertInvalidEntries.php b/tests/phpunit/tests/formatting/convertInvalidEntries.php
similarity index 100%
rename from tests/phpunit/tests/formatting/ConvertInvalidEntries.php
rename to tests/phpunit/tests/formatting/convertInvalidEntries.php
diff --git a/tests/phpunit/tests/formatting/Smilies.php b/tests/phpunit/tests/formatting/convertSmilies.php
similarity index 99%
rename from tests/phpunit/tests/formatting/Smilies.php
rename to tests/phpunit/tests/formatting/convertSmilies.php
index f5394d4268..63d95aa071 100644
--- a/tests/phpunit/tests/formatting/Smilies.php
+++ b/tests/phpunit/tests/formatting/convertSmilies.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @group emoji
  */
-class Tests_Formatting_Smilies extends WP_UnitTestCase {
+class Tests_Formatting_ConvertSmilies extends WP_UnitTestCase {
 
 	/**
 	 * Basic Test Content DataProvider
diff --git a/tests/phpunit/tests/formatting/Emoji.php b/tests/phpunit/tests/formatting/emoji.php
similarity index 100%
rename from tests/phpunit/tests/formatting/Emoji.php
rename to tests/phpunit/tests/formatting/emoji.php
diff --git a/tests/phpunit/tests/formatting/ent2ncr.php b/tests/phpunit/tests/formatting/ent2ncr.php
index ba84e6d2e0..64571580e4 100644
--- a/tests/phpunit/tests/formatting/ent2ncr.php
+++ b/tests/phpunit/tests/formatting/ent2ncr.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_Ent2NCR extends WP_UnitTestCase {
+class Tests_Formatting_Ent2ncr extends WP_UnitTestCase {
 	/**
 	 * @dataProvider entities
 	 */
diff --git a/tests/phpunit/tests/formatting/EscAttr.php b/tests/phpunit/tests/formatting/escAttr.php
similarity index 100%
rename from tests/phpunit/tests/formatting/EscAttr.php
rename to tests/phpunit/tests/formatting/escAttr.php
diff --git a/tests/phpunit/tests/formatting/EscHtml.php b/tests/phpunit/tests/formatting/escHtml.php
similarity index 100%
rename from tests/phpunit/tests/formatting/EscHtml.php
rename to tests/phpunit/tests/formatting/escHtml.php
diff --git a/tests/phpunit/tests/formatting/JSEscape.php b/tests/phpunit/tests/formatting/escJs.php
similarity index 95%
rename from tests/phpunit/tests/formatting/JSEscape.php
rename to tests/phpunit/tests/formatting/escJs.php
index 4dcb064819..bd6407518b 100644
--- a/tests/phpunit/tests/formatting/JSEscape.php
+++ b/tests/phpunit/tests/formatting/escJs.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_JSEscape extends WP_UnitTestCase {
+class Tests_Formatting_EscJs extends WP_UnitTestCase {
 	function test_js_escape_simple() {
 		$out = esc_js( 'foo bar baz();' );
 		$this->assertSame( 'foo bar baz();', $out );
diff --git a/tests/phpunit/tests/formatting/EscTextarea.php b/tests/phpunit/tests/formatting/escTextarea.php
similarity index 100%
rename from tests/phpunit/tests/formatting/EscTextarea.php
rename to tests/phpunit/tests/formatting/escTextarea.php
diff --git a/tests/phpunit/tests/formatting/EscUrl.php b/tests/phpunit/tests/formatting/escUrl.php
similarity index 100%
rename from tests/phpunit/tests/formatting/EscUrl.php
rename to tests/phpunit/tests/formatting/escUrl.php
diff --git a/tests/phpunit/tests/formatting/EscXml.php b/tests/phpunit/tests/formatting/escXml.php
similarity index 100%
rename from tests/phpunit/tests/formatting/EscXml.php
rename to tests/phpunit/tests/formatting/escXml.php
diff --git a/tests/phpunit/tests/formatting/ExcerptRemoveBlocks.php b/tests/phpunit/tests/formatting/excerptRemoveBlocks.php
similarity index 100%
rename from tests/phpunit/tests/formatting/ExcerptRemoveBlocks.php
rename to tests/phpunit/tests/formatting/excerptRemoveBlocks.php
diff --git a/tests/phpunit/tests/formatting/BlogInfo.php b/tests/phpunit/tests/formatting/getBloginfo.php
similarity index 96%
rename from tests/phpunit/tests/formatting/BlogInfo.php
rename to tests/phpunit/tests/formatting/getBloginfo.php
index 37ce3450fa..b1f87a0d16 100644
--- a/tests/phpunit/tests/formatting/BlogInfo.php
+++ b/tests/phpunit/tests/formatting/getBloginfo.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_BlogInfo extends WP_UnitTestCase {
+class Tests_Formatting_GetBloginfo extends WP_UnitTestCase {
 
 	/**
 	 * @dataProvider locales
diff --git a/tests/phpunit/tests/formatting/GetUrlInContent.php b/tests/phpunit/tests/formatting/getUrlInContent.php
similarity index 100%
rename from tests/phpunit/tests/formatting/GetUrlInContent.php
rename to tests/phpunit/tests/formatting/getUrlInContent.php
diff --git a/tests/phpunit/tests/formatting/HumanTimeDiff.php b/tests/phpunit/tests/formatting/humanTimeDiff.php
similarity index 100%
rename from tests/phpunit/tests/formatting/HumanTimeDiff.php
rename to tests/phpunit/tests/formatting/humanTimeDiff.php
diff --git a/tests/phpunit/tests/formatting/IsEmail.php b/tests/phpunit/tests/formatting/isEmail.php
similarity index 100%
rename from tests/phpunit/tests/formatting/IsEmail.php
rename to tests/phpunit/tests/formatting/isEmail.php
diff --git a/tests/phpunit/tests/formatting/LikeEscape.php b/tests/phpunit/tests/formatting/likeEscape.php
similarity index 100%
rename from tests/phpunit/tests/formatting/LikeEscape.php
rename to tests/phpunit/tests/formatting/likeEscape.php
diff --git a/tests/phpunit/tests/formatting/LinksAddTarget.php b/tests/phpunit/tests/formatting/linksAddTarget.php
similarity index 100%
rename from tests/phpunit/tests/formatting/LinksAddTarget.php
rename to tests/phpunit/tests/formatting/linksAddTarget.php
diff --git a/tests/phpunit/tests/formatting/MakeClickable.php b/tests/phpunit/tests/formatting/makeClickable.php
similarity index 100%
rename from tests/phpunit/tests/formatting/MakeClickable.php
rename to tests/phpunit/tests/formatting/makeClickable.php
diff --git a/tests/phpunit/tests/formatting/MapDeep.php b/tests/phpunit/tests/formatting/mapDeep.php
similarity index 100%
rename from tests/phpunit/tests/formatting/MapDeep.php
rename to tests/phpunit/tests/formatting/mapDeep.php
diff --git a/tests/phpunit/tests/formatting/NormalizeWhitespace.php b/tests/phpunit/tests/formatting/normalizeWhitespace.php
similarity index 100%
rename from tests/phpunit/tests/formatting/NormalizeWhitespace.php
rename to tests/phpunit/tests/formatting/normalizeWhitespace.php
diff --git a/tests/phpunit/tests/formatting/RemoveAccents.php b/tests/phpunit/tests/formatting/removeAccents.php
similarity index 100%
rename from tests/phpunit/tests/formatting/RemoveAccents.php
rename to tests/phpunit/tests/formatting/removeAccents.php
diff --git a/tests/phpunit/tests/formatting/SanitizeFileName.php b/tests/phpunit/tests/formatting/sanitizeFileName.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeFileName.php
rename to tests/phpunit/tests/formatting/sanitizeFileName.php
diff --git a/tests/phpunit/tests/formatting/SanitizeMimeType.php b/tests/phpunit/tests/formatting/sanitizeMimeType.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeMimeType.php
rename to tests/phpunit/tests/formatting/sanitizeMimeType.php
diff --git a/tests/phpunit/tests/formatting/SanitizeOrderby.php b/tests/phpunit/tests/formatting/sanitizeOrderby.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeOrderby.php
rename to tests/phpunit/tests/formatting/sanitizeOrderby.php
diff --git a/tests/phpunit/tests/formatting/SanitizePost.php b/tests/phpunit/tests/formatting/sanitizePost.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizePost.php
rename to tests/phpunit/tests/formatting/sanitizePost.php
diff --git a/tests/phpunit/tests/formatting/SanitizeTextField.php b/tests/phpunit/tests/formatting/sanitizeTextField.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeTextField.php
rename to tests/phpunit/tests/formatting/sanitizeTextField.php
diff --git a/tests/phpunit/tests/formatting/SanitizeTitle.php b/tests/phpunit/tests/formatting/sanitizeTitle.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeTitle.php
rename to tests/phpunit/tests/formatting/sanitizeTitle.php
diff --git a/tests/phpunit/tests/formatting/SanitizeTitleWithDashes.php b/tests/phpunit/tests/formatting/sanitizeTitleWithDashes.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeTitleWithDashes.php
rename to tests/phpunit/tests/formatting/sanitizeTitleWithDashes.php
diff --git a/tests/phpunit/tests/formatting/SanitizeTrackbackUrls.php b/tests/phpunit/tests/formatting/sanitizeTrackbackUrls.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeTrackbackUrls.php
rename to tests/phpunit/tests/formatting/sanitizeTrackbackUrls.php
diff --git a/tests/phpunit/tests/formatting/SanitizeUser.php b/tests/phpunit/tests/formatting/sanitizeUser.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SanitizeUser.php
rename to tests/phpunit/tests/formatting/sanitizeUser.php
diff --git a/tests/phpunit/tests/formatting/SeemsUtf8.php b/tests/phpunit/tests/formatting/seemsUtf8.php
similarity index 100%
rename from tests/phpunit/tests/formatting/SeemsUtf8.php
rename to tests/phpunit/tests/formatting/seemsUtf8.php
diff --git a/tests/phpunit/tests/formatting/Slashit.php b/tests/phpunit/tests/formatting/slashit.php
similarity index 100%
rename from tests/phpunit/tests/formatting/Slashit.php
rename to tests/phpunit/tests/formatting/slashit.php
diff --git a/tests/phpunit/tests/formatting/StripSlashesDeep.php b/tests/phpunit/tests/formatting/stripslashesDeep.php
similarity index 96%
rename from tests/phpunit/tests/formatting/StripSlashesDeep.php
rename to tests/phpunit/tests/formatting/stripslashesDeep.php
index a401a99f79..a475f9402a 100644
--- a/tests/phpunit/tests/formatting/StripSlashesDeep.php
+++ b/tests/phpunit/tests/formatting/stripslashesDeep.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @group slashes
  */
-class Tests_Formatting_StripSlashesDeep extends WP_UnitTestCase {
+class Tests_Formatting_StripslashesDeep extends WP_UnitTestCase {
 	/**
 	 * @ticket 18026
 	 */
diff --git a/tests/phpunit/tests/formatting/URLShorten.php b/tests/phpunit/tests/formatting/urlShorten.php
similarity index 91%
rename from tests/phpunit/tests/formatting/URLShorten.php
rename to tests/phpunit/tests/formatting/urlShorten.php
index a1f1942809..94e2728e6b 100644
--- a/tests/phpunit/tests/formatting/URLShorten.php
+++ b/tests/phpunit/tests/formatting/urlShorten.php
@@ -3,8 +3,8 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_URLShorten extends WP_UnitTestCase {
-	function test_shorten_url() {
+class Tests_Formatting_UrlShorten extends WP_UnitTestCase {
+	function test_url_shorten() {
 		$tests = array(
 			'wordpress\.org/about/philosophy'            => 'wordpress\.org/about/philosophy', // No longer strips slashes.
 			'wordpress.org/about/philosophy'             => 'wordpress.org/about/philosophy',
diff --git a/tests/phpunit/tests/formatting/UrlencodeDeep.php b/tests/phpunit/tests/formatting/urlencodeDeep.php
similarity index 100%
rename from tests/phpunit/tests/formatting/UrlencodeDeep.php
rename to tests/phpunit/tests/formatting/urlencodeDeep.php
diff --git a/tests/phpunit/tests/formatting/Utf8UriEncode.php b/tests/phpunit/tests/formatting/utf8UriEncode.php
similarity index 100%
rename from tests/phpunit/tests/formatting/Utf8UriEncode.php
rename to tests/phpunit/tests/formatting/utf8UriEncode.php
diff --git a/tests/phpunit/tests/formatting/Autop.php b/tests/phpunit/tests/formatting/wpAutop.php
similarity index 99%
rename from tests/phpunit/tests/formatting/Autop.php
rename to tests/phpunit/tests/formatting/wpAutop.php
index 8a77c6879e..ccb6721073 100644
--- a/tests/phpunit/tests/formatting/Autop.php
+++ b/tests/phpunit/tests/formatting/wpAutop.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_Autop extends WP_UnitTestCase {
+class Tests_Formatting_wpAutop extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 11008
diff --git a/tests/phpunit/tests/formatting/WPBasename.php b/tests/phpunit/tests/formatting/wpBasename.php
similarity index 91%
rename from tests/phpunit/tests/formatting/WPBasename.php
rename to tests/phpunit/tests/formatting/wpBasename.php
index a664e399c0..341a4c8a66 100644
--- a/tests/phpunit/tests/formatting/WPBasename.php
+++ b/tests/phpunit/tests/formatting/wpBasename.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WP_Basename extends WP_UnitTestCase {
+class Tests_Formatting_wpBasename extends WP_UnitTestCase {
 
 	function test_wp_basename_unix() {
 		$this->assertSame(
diff --git a/tests/phpunit/tests/formatting/HtmlExcerpt.php b/tests/phpunit/tests/formatting/wpHtmlExcerpt.php
similarity index 90%
rename from tests/phpunit/tests/formatting/HtmlExcerpt.php
rename to tests/phpunit/tests/formatting/wpHtmlExcerpt.php
index 36315fc541..bbe89106b3 100644
--- a/tests/phpunit/tests/formatting/HtmlExcerpt.php
+++ b/tests/phpunit/tests/formatting/wpHtmlExcerpt.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_HtmlExcerpt extends WP_UnitTestCase {
+class Tests_Formatting_wpHtmlExcerpt extends WP_UnitTestCase {
 	function test_simple() {
 		$this->assertSame( 'Baba', wp_html_excerpt( 'Baba told me not to come', 4 ) );
 	}
diff --git a/tests/phpunit/tests/formatting/WpHtmlSplit.php b/tests/phpunit/tests/formatting/wpHtmlSplit.php
similarity index 94%
rename from tests/phpunit/tests/formatting/WpHtmlSplit.php
rename to tests/phpunit/tests/formatting/wpHtmlSplit.php
index a9baa7cb8c..50ebdd7051 100644
--- a/tests/phpunit/tests/formatting/WpHtmlSplit.php
+++ b/tests/phpunit/tests/formatting/wpHtmlSplit.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WpHtmlSplit extends WP_UnitTestCase {
+class Tests_Formatting_wpHtmlSplit extends WP_UnitTestCase {
 
 	/**
 	 * Basic functionality goes here.
diff --git a/tests/phpunit/tests/formatting/WpHtmlEditPre.php b/tests/phpunit/tests/formatting/wpHtmleditPre.php
similarity index 93%
rename from tests/phpunit/tests/formatting/WpHtmlEditPre.php
rename to tests/phpunit/tests/formatting/wpHtmleditPre.php
index fceabbe8db..f00e917f2c 100644
--- a/tests/phpunit/tests/formatting/WpHtmlEditPre.php
+++ b/tests/phpunit/tests/formatting/wpHtmleditPre.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @expectedDeprecated wp_htmledit_pre
  */
-class Tests_Formatting_WpHtmlEditPre extends WP_UnitTestCase {
+class Tests_Formatting_wpHtmleditPre extends WP_UnitTestCase {
 
 	function _charset_iso_8859_1() {
 		return 'iso-8859-1';
diff --git a/tests/phpunit/tests/formatting/isoDescrambler.php b/tests/phpunit/tests/formatting/wpIsoDescrambler.php
similarity index 82%
rename from tests/phpunit/tests/formatting/isoDescrambler.php
rename to tests/phpunit/tests/formatting/wpIsoDescrambler.php
index c1133c4bcf..bb2be63514 100644
--- a/tests/phpunit/tests/formatting/isoDescrambler.php
+++ b/tests/phpunit/tests/formatting/wpIsoDescrambler.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Test_WP_ISO_Descrambler extends WP_UnitTestCase {
+class Tests_Formatting_wpIsoDescrambler extends WP_UnitTestCase {
 	/*
 	 * Decodes text in RFC2047 "Q"-encoding, e.g.
 	 * =?iso-8859-1?q?this=20is=20some=20text?=
diff --git a/tests/phpunit/tests/formatting/WPMakeLinkRelative.php b/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
similarity index 95%
rename from tests/phpunit/tests/formatting/WPMakeLinkRelative.php
rename to tests/phpunit/tests/formatting/wpMakeLinkRelative.php
index da6099302b..2592c2a2d0 100644
--- a/tests/phpunit/tests/formatting/WPMakeLinkRelative.php
+++ b/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WPMakeLinkRelative extends WP_UnitTestCase {
+class Tests_Formatting_wpMakeLinkRelative extends WP_UnitTestCase {
 
 	public function test_wp_make_link_relative_with_http_scheme() {
 		$link          = 'http://example.com/this-is-a-test-http-url/';
diff --git a/tests/phpunit/tests/formatting/WPRelNoFollow.php b/tests/phpunit/tests/formatting/wpRelNofollow.php
similarity index 97%
rename from tests/phpunit/tests/formatting/WPRelNoFollow.php
rename to tests/phpunit/tests/formatting/wpRelNofollow.php
index 10385cade7..f66da5db5e 100644
--- a/tests/phpunit/tests/formatting/WPRelNoFollow.php
+++ b/tests/phpunit/tests/formatting/wpRelNofollow.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Rel_No_Follow extends WP_UnitTestCase {
+class Tests_Formatting_wpRelNofollow extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 9959
diff --git a/tests/phpunit/tests/formatting/WPRelUgc.php b/tests/phpunit/tests/formatting/wpRelUgc.php
similarity index 97%
rename from tests/phpunit/tests/formatting/WPRelUgc.php
rename to tests/phpunit/tests/formatting/wpRelUgc.php
index 85470155a1..ea0d4dda65 100644
--- a/tests/phpunit/tests/formatting/WPRelUgc.php
+++ b/tests/phpunit/tests/formatting/wpRelUgc.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Rel_Ugc extends WP_UnitTestCase {
+class Tests_Formatting_wpRelUgc extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 48022
diff --git a/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php b/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php
similarity index 90%
rename from tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php
rename to tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php
index 764a0cc178..70b6c94e73 100644
--- a/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php
+++ b/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WpReplaceInTags extends WP_UnitTestCase {
+class Tests_Formatting_wpReplaceInHtmlTags extends WP_UnitTestCase {
 	/**
 	 * Check for expected behavior of new function wp_replace_in_html_tags().
 	 *
diff --git a/tests/phpunit/tests/formatting/WpRichEditPre.php b/tests/phpunit/tests/formatting/wpRicheditPre.php
similarity index 94%
rename from tests/phpunit/tests/formatting/WpRichEditPre.php
rename to tests/phpunit/tests/formatting/wpRicheditPre.php
index 79ed8b1bc6..553e42049c 100644
--- a/tests/phpunit/tests/formatting/WpRichEditPre.php
+++ b/tests/phpunit/tests/formatting/wpRicheditPre.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @expectedDeprecated wp_richedit_pre
  */
-class Tests_Formatting_WpRichEditPre extends WP_UnitTestCase {
+class Tests_Formatting_wpRicheditPre extends WP_UnitTestCase {
 
 	function _charset_iso_8859_1() {
 		return 'iso-8859-1';
diff --git a/tests/phpunit/tests/formatting/WPSlash.php b/tests/phpunit/tests/formatting/wpSlash.php
similarity index 97%
rename from tests/phpunit/tests/formatting/WPSlash.php
rename to tests/phpunit/tests/formatting/wpSlash.php
index 4b0d206c06..bc31a93987 100644
--- a/tests/phpunit/tests/formatting/WPSlash.php
+++ b/tests/phpunit/tests/formatting/wpSlash.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WPSlash extends WP_UnitTestCase {
+class Tests_Formatting_wpSlash extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 42195
diff --git a/tests/phpunit/tests/formatting/WPSpecialchars.php b/tests/phpunit/tests/formatting/wpSpecialchars.php
similarity index 98%
rename from tests/phpunit/tests/formatting/WPSpecialchars.php
rename to tests/phpunit/tests/formatting/wpSpecialchars.php
index 7cc131da04..59169cd574 100644
--- a/tests/phpunit/tests/formatting/WPSpecialchars.php
+++ b/tests/phpunit/tests/formatting/wpSpecialchars.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WPSpecialchars extends WP_UnitTestCase {
+class Tests_Formatting_wpSpecialchars extends WP_UnitTestCase {
 	function test_wp_specialchars_basics() {
 		$html = '&amp;&lt;hello world&gt;';
 		$this->assertSame( $html, _wp_specialchars( $html ) );
diff --git a/tests/phpunit/tests/formatting/WPStripAllTags.php b/tests/phpunit/tests/formatting/wpStripAllTags.php
similarity index 93%
rename from tests/phpunit/tests/formatting/WPStripAllTags.php
rename to tests/phpunit/tests/formatting/wpStripAllTags.php
index 8656af2695..cbeb3214a7 100644
--- a/tests/phpunit/tests/formatting/WPStripAllTags.php
+++ b/tests/phpunit/tests/formatting/wpStripAllTags.php
@@ -4,7 +4,7 @@
  *
  * @group formatting
  */
-class Tests_Formatting_WPStripAllTags extends WP_UnitTestCase {
+class Tests_Formatting_wpStripAllTags extends WP_UnitTestCase {
 
 	function test_wp_strip_all_tags() {
 
diff --git a/tests/phpunit/tests/formatting/WPTargetedLinkRel.php b/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
similarity index 98%
rename from tests/phpunit/tests/formatting/WPTargetedLinkRel.php
rename to tests/phpunit/tests/formatting/wpTargetedLinkRel.php
index 932100c1cd..b58f4188b5 100644
--- a/tests/phpunit/tests/formatting/WPTargetedLinkRel.php
+++ b/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @ticket 43187
  */
-class Tests_Targeted_Link_Rel extends WP_UnitTestCase {
+class Tests_Formatting_wpTargetedLinkRel extends WP_UnitTestCase {
 
 	public function test_add_to_links_with_target_blank() {
 		$content  = '<p>Links: <a href="/" target="_blank">No rel</a></p>';
diff --git a/tests/phpunit/tests/formatting/WPTexturize.php b/tests/phpunit/tests/formatting/wpTexturize.php
similarity index 99%
rename from tests/phpunit/tests/formatting/WPTexturize.php
rename to tests/phpunit/tests/formatting/wpTexturize.php
index fda1fa9730..bfad5c707a 100644
--- a/tests/phpunit/tests/formatting/WPTexturize.php
+++ b/tests/phpunit/tests/formatting/wpTexturize.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WPTexturize extends WP_UnitTestCase {
+class Tests_Formatting_wpTexturize extends WP_UnitTestCase {
 	function test_dashes() {
 		$this->assertSame( 'Hey &#8212; boo?', wptexturize( 'Hey -- boo?' ) );
 		$this->assertSame( '<a href="http://xx--xx">Hey &#8212; boo?</a>', wptexturize( '<a href="http://xx--xx">Hey -- boo?</a>' ) );
diff --git a/tests/phpunit/tests/formatting/WpTrimExcerpt.php b/tests/phpunit/tests/formatting/wpTrimExcerpt.php
similarity index 96%
rename from tests/phpunit/tests/formatting/WpTrimExcerpt.php
rename to tests/phpunit/tests/formatting/wpTrimExcerpt.php
index 01353c8e22..f05e21fb2a 100644
--- a/tests/phpunit/tests/formatting/WpTrimExcerpt.php
+++ b/tests/phpunit/tests/formatting/wpTrimExcerpt.php
@@ -4,7 +4,7 @@
  * @group formatting
  * @covers ::wp_trim_excerpt
  */
-class Tests_Formatting_WpTrimExcerpt extends WP_UnitTestCase {
+class Tests_Formatting_wpTrimExcerpt extends WP_UnitTestCase {
 	/**
 	 * @ticket 25349
 	 */
diff --git a/tests/phpunit/tests/formatting/WPTrimWords.php b/tests/phpunit/tests/formatting/wpTrimWords.php
similarity index 98%
rename from tests/phpunit/tests/formatting/WPTrimWords.php
rename to tests/phpunit/tests/formatting/wpTrimWords.php
index b7ec436df0..3f18d782a6 100644
--- a/tests/phpunit/tests/formatting/WPTrimWords.php
+++ b/tests/phpunit/tests/formatting/wpTrimWords.php
@@ -3,7 +3,7 @@
 /**
  * @group formatting
  */
-class Tests_Formatting_WPTrimWords extends WP_UnitTestCase {
+class Tests_Formatting_wpTrimWords extends WP_UnitTestCase {
 
 	/**
 	 * Long Dummy Text.
diff --git a/tests/phpunit/tests/formatting/Zeroise.php b/tests/phpunit/tests/formatting/zeroise.php
similarity index 100%
rename from tests/phpunit/tests/formatting/Zeroise.php
rename to tests/phpunit/tests/formatting/zeroise.php