<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[55337] trunk/tests/phpunit/tests: Tests: Merge file-level and class-level DocBlocks in various unit test files.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/55337">55337</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/55337","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>SergeyBiryukov</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2023-02-14 16:10:13 +0000 (Tue, 14 Feb 2023)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Tests: Merge file-level and class-level DocBlocks in various unit test files.
Per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/<a href="https://core.trac.wordpress.org/ticket/6">#6</a>-file-headers documentation standards], whenever possible, all WordPress files should contain a header DocBlock, regardless of the file's contents - this includes files containing classes.
However, this recommendation makes less sense for unit test classes if not applied consistently, and the duplicate tags cause some confusion.
This commit aims to reduce confusion and avoid repeating information by combining the DocBlocks.
Follow-up to <a href="https://core.trac.wordpress.org/changeset/40607">[40607]</a>, <a href="https://core.trac.wordpress.org/changeset/43183">[43183]</a>, <a href="https://core.trac.wordpress.org/changeset/43291">[43291]</a>, <a href="https://core.trac.wordpress.org/changeset/43292">[43292]</a>, <a href="https://core.trac.wordpress.org/changeset/43499">[43499]</a>, <a href="https://core.trac.wordpress.org/changeset/43568">[43568]</a>, <a href="https://core.trac.wordpress.org/changeset/44502">[44502]</a>, <a href="https://core.trac.wordpress.org/changeset/44535">[44535]</a>, <a href="https://core.trac.wordpress.org/changeset/44628">[44628]</a>, <a href="https://core.trac.wordpress.org/changeset/44786">[44786]</a>, <a href="https://core.trac.wordpress.org/changeset/44824">[44824]</a>, <a href="https://core.trac.wordpress.org/changeset/44906">[44906]</a>, <a href="https://core.trac.wordpress.org/changeset/44909">[44909]</a>, <a href="https://core.trac.wordpress.org/changeset/46175">[461
75]</a>.
Props wojtekn, antonvlasenko, arafatjamil01, hztyfoon, mukesh27, costdev, jamilbd07, robinwpdeveloper, SergeyBiryukov.
Fixes <a href="https://core.trac.wordpress.org/ticket/57099">#57099</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunktestsphpunittestsadminwpCommunityEventsphp">trunk/tests/phpunit/tests/admin/wpCommunityEvents.php</a></li>
<li><a href="#trunktestsphpunittestsadminwpPrivacyRequestsTablephp">trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php</a></li>
<li><a href="#trunktestsphpunittestsajaxwpAjaxWpPrivacyErasePersonalDataphp">trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php</a></li>
<li><a href="#trunktestsphpunittestsajaxwpAjaxWpPrivacyExportPersonalDataphp">trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php</a></li>
<li><a href="#trunktestsphpunittestscommentisAvatarCommentTypephp">trunk/tests/phpunit/tests/comment/isAvatarCommentType.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsdoEnclosephp">trunk/tests/phpunit/tests/functions/doEnclose.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpCreateUserRequestphp">trunk/tests/phpunit/tests/privacy/wpCreateUserRequest.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacyCompletedRequestphp">trunk/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacyDeleteOldExportFilesphp">trunk/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacyGeneratePersonalDataExportFilephp">trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacyGeneratePersonalDataExportGroupHtmlphp">trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacyProcessPersonalDataExportPagephp">trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacySendErasureFulfillmentNotificationphp">trunk/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacySendPersonalDataExportEmailphp">trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php</a></li>
<li><a href="#trunktestsphpunittestsprivacywpPrivacySendRequestConfirmationNotificationphp">trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php</a></li>
<li><a href="#trunktestsphpunittestsuserwpSendUserRequestphp">trunk/tests/phpunit/tests/user/wpSendUserRequest.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunktestsphpunittestsadminwpCommunityEventsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/admin/wpCommunityEvents.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/admin/wpCommunityEvents.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/admin/wpCommunityEvents.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Class Tests_Admin_wpCommunityEvents.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group admin
</span><span class="cx" style="display: block; padding: 0 10px"> * @group community-events
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 4.8.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Admin_wpCommunityEvents extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunittestsadminwpPrivacyRequestsTablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress\UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.1.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Admin_wpPrivacyRequestsTable class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group admin
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.1.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Admin_wpPrivacyRequestsTable extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunittestsajaxwpAjaxWpPrivacyErasePersonalDataphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,13 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress\UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Ajax_PrivacyExportPersonalData class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @since 5.2.0
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @group ajax
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunktestsphpunittestsajaxwpAjaxWpPrivacyExportPersonalDataphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,13 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress\UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Ajax_PrivacyExportPersonalData class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @since 5.2.0
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @group ajax
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunktestsphpunittestscommentisAvatarCommentTypephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/isAvatarCommentType.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/isAvatarCommentType.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/comment/isAvatarCommentType.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress\UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.1.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Comment_IsAvatarCommentType class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group comment
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @since 5.1.0
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @covers ::is_avatar_comment_type
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Comment_IsAvatarCommentType extends WP_UnitTestCase {
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsdoEnclosephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/doEnclose.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/doEnclose.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/functions/doEnclose.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Test cases for the `do_enclose()` function.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,13 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress\UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Functions_DoEnclose class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @since 5.3.0
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @group functions.php
</span><span class="cx" style="display: block; padding: 0 10px"> * @group post
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::do_enclose
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpCreateUserRequestphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpCreateUserRequest.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpCreateUserRequest.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpCreateUserRequest.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,19 +1,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Test the `wp_create_user_request()` function.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Test cases for the `wp_create_user_request()` function.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpCreateUserRequest class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_create_user_request
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.2.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpCreateUserRequest extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacyCompletedRequestphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,19 +1,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Test the `_wp_privacy_completed_request()` function.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Test cases for the `_wp_privacy_completed_request()` function.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacyCompletedRequest class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::_wp_privacy_completed_request
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 4.9.6
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacyCompletedRequest extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacyDeleteOldExportFilesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,19 +1,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Define a class to test `wp_privacy_delete_old_export_files()`.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Test cases for the `wp_privacy_delete_old_export_files()` function.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Test cases for `wp_privacy_delete_old_export_files()`.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_privacy_delete_old_export_files
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 4.9.6
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacyDeleteOldExportFiles extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacyGeneratePersonalDataExportFilephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,20 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Define a class to test `wp_privacy_generate_personal_data_export_file()`.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Test cases for the `wp_privacy_generate_personal_data_export_file()` function.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Test cases for `wp_privacy_generate_personal_data_export_file()`.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_privacy_generate_personal_data_export_file
</span><span class="cx" style="display: block; padding: 0 10px"> * @requires extension zip
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.2.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacyGeneratePersonalDataExportGroupHtmlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_privacy_generate_personal_data_export_group_html
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.2.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacyProcessPersonalDataExportPagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacyProcessPersonalDataExportPage class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_privacy_process_personal_data_export_page
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.2.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacySendErasureFulfillmentNotificationphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.1.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacySendErasureFulfillmentNotification class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::_wp_privacy_send_erasure_fulfillment_notification
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 5.1.0
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacySendPersonalDataExportEmailphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,15 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacySendPersonalDataExportEmail class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_privacy_send_personal_data_export_email
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 4.9.6
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsprivacywpPrivacySendRequestConfirmationNotificationphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,16 +5,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage UnitTests
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.8
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_Privacy_wpPrivacySendRequestConfirmationNotification class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @group user
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::_wp_privacy_send_request_confirmation_notification
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @since 4.9.8
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsuserwpSendUserRequestphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/user/wpSendUserRequest.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/user/wpSendUserRequest.php 2023-02-14 16:04:41 UTC (rev 55336)
+++ trunk/tests/phpunit/tests/user/wpSendUserRequest.php 2023-02-14 16:10:13 UTC (rev 55337)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,13 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.9
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- */
-
-/**
- * Tests_User_WpSendUserRequest class.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @since 4.9.9
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @group privacy
</span><span class="cx" style="display: block; padding: 0 10px"> * @group user
</span><span class="cx" style="display: block; padding: 0 10px"> * @covers ::wp_send_user_request
</span></span></pre>
</div>
</div>
</body>
</html>