-
diff --git a/tests/phpunit/tests/admin/wpCommunityEvents.php b/tests/phpunit/tests/admin/wpCommunityEvents.php
index 6dfd4f044a..6b8ccc7f9b 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.8.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Class Tests_Admin_wpCommunityEvents. |
12 | 8 | * |
13 | 9 | * @group admin |
14 | 10 | * @group community-events |
15 | | * |
16 | | * @since 4.8.0 |
17 | 11 | */ |
18 | 12 | class Tests_Admin_wpCommunityEvents extends WP_UnitTestCase { |
19 | 13 | |
-
diff --git a/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php b/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
index 7f555c4d25..96fd23794b 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test the `WP_Privacy_Requests_Table` class. |
4 | | * |
5 | 3 | * @package WordPress\UnitTests |
6 | | * |
7 | | * @since 5.1.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Admin_wpPrivacyRequestsTable class. |
12 | | * |
| 4 | * |
13 | 5 | * @group admin |
14 | 6 | * @group privacy |
15 | 7 | * |
-
diff --git a/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php b/tests/phpunit/tests/ajax/wpAjaxWpPrivacyErasePersonalData.php
index 068165b991..4f76ea12fb 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress\UnitTests |
6 | 6 | * @since 5.2.0 |
7 | | */ |
8 | | |
9 | | /** |
10 | | * Tests_Ajax_PrivacyExportPersonalData class. |
11 | | * |
12 | | * @since 5.2.0 |
13 | 7 | * |
14 | 8 | * @group ajax |
15 | 9 | * @group privacy |
-
diff --git a/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php b/tests/phpunit/tests/ajax/wpAjaxWpPrivacyExportPersonalData.php
index f8e588ff5e..51e4cb1391 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress\UnitTests |
6 | 6 | * @since 5.2.0 |
7 | | */ |
8 | | |
9 | | /** |
10 | | * Tests_Ajax_PrivacyExportPersonalData class. |
11 | | * |
12 | | * @since 5.2.0 |
13 | 7 | * |
14 | 8 | * @group ajax |
15 | 9 | * @group privacy |
-
diff --git a/tests/phpunit/tests/block-supports/layout.php b/tests/phpunit/tests/block-supports/layout.php
index 7424aa3317..6961d1ee04 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage Block Supports |
7 | 7 | * @since 6.0.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests for block supports related to layout. |
12 | | * |
13 | | * @since 6.0.0 |
14 | 8 | * |
15 | 9 | * @group block-supports |
16 | 10 | * |
-
diff --git a/tests/phpunit/tests/block-template-utils.php b/tests/phpunit/tests/block-template-utils.php
index 6e4a5b9e5c..a4ff331966 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Tests_Block_Template_Utils class |
4 | 3 | * |
5 | 4 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
| 5 | * |
9 | 6 | * Tests for the Block Templates abstraction layer. |
10 | 7 | * |
11 | 8 | * @group block-templates |
-
diff --git a/tests/phpunit/tests/block-template.php b/tests/phpunit/tests/block-template.php
index 5439ac3793..409b369310 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Tests_Block_Template class |
4 | 3 | * |
5 | 4 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
9 | | * Tests for the block template loading algorithm. |
| 5 | * |
| 6 | * Tests cases for the block template loading algorithm. |
10 | 7 | * |
11 | 8 | * @group block-templates |
12 | 9 | */ |
-
diff --git a/tests/phpunit/tests/blocks/context.php b/tests/phpunit/tests/blocks/context.php
index 04f9a88176..605d980ee5 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage Blocks |
7 | | * @since 5.5.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests for block context functions. |
12 | | * |
| 7 | * |
13 | 8 | * @since 5.5.0 |
14 | 9 | * |
15 | 10 | * @group blocks |
-
diff --git a/tests/phpunit/tests/blocks/editor.php b/tests/phpunit/tests/blocks/editor.php
index 831160448b..8d776a55b5 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage Blocks |
7 | 7 | * @since 5.5.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests for the block editor methods. |
12 | | * |
13 | | * @since 5.5.0 |
14 | 8 | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
-
diff --git a/tests/phpunit/tests/blocks/register.php b/tests/phpunit/tests/blocks/register.php
index ca906086a3..f94a7ab283 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Block registration tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names(), and register_block_style(). |
12 | 8 | * |
13 | | * @since 5.0.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_Register extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/render.php b/tests/phpunit/tests/blocks/render.php
index e119517d4e..37c4293383 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage Blocks |
7 | 7 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests for block rendering functions. |
12 | | * |
13 | | * @since 5.0.0 |
14 | 8 | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
-
diff --git a/tests/phpunit/tests/blocks/renderCommentTemplate.php b/tests/phpunit/tests/blocks/renderCommentTemplate.php
index 38c1d03667..44d58ca0b1 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage Blocks |
7 | 7 | * @since 6.0.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests for the Comment Template block. |
12 | | * |
13 | | * @since 6.0.0 |
14 | 8 | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
-
diff --git a/tests/phpunit/tests/blocks/renderReusable.php b/tests/phpunit/tests/blocks/renderReusable.php
index 086ae67894..cafef6023c 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Reusable block rendering tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for reusable block rendering. |
12 | 8 | * |
13 | | * @since 5.0.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_RenderReusable extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/serialize.php b/tests/phpunit/tests/blocks/serialize.php
index aa28f21209..375219c5b3 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Block serialization tests |
4 | 3 | * |
5 | 4 | * @package WordPress |
6 | 5 | * @subpackage Blocks |
7 | | * @since 5.3.3 |
8 | | */ |
9 | | |
10 | | /** |
11 | 6 | * Tests for block serialization functions. |
12 | 7 | * |
13 | 8 | * @since 5.3.3 |
-
diff --git a/tests/phpunit/tests/blocks/supportedStyles.php b/tests/phpunit/tests/blocks/supportedStyles.php
index e4e6c37e9e..7e087a02c0 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Block supported style tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.6.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Test block supported styles. |
12 | 8 | * |
13 | | * @since 5.6.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_SupportedStyles extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/wpBlock.php b/tests/phpunit/tests/blocks/wpBlock.php
index 00f5a97b83..dd511cfacf 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_Block tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.5.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | 6 | * Tests for WP_Block. |
12 | 7 | * |
13 | | * @since 5.5.0 |
14 | | * |
15 | 8 | * @group blocks |
16 | 9 | */ |
17 | 10 | class Tests_Blocks_wpBlock extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/wpBlockList.php b/tests/phpunit/tests/blocks/wpBlockList.php
index e3755a9cd2..968f7fffd0 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_Block_List tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.5.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_Block_List. |
12 | 8 | * |
13 | | * @since 5.5.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_wpBlockList extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/wpBlockParser.php b/tests/phpunit/tests/blocks/wpBlockParser.php
index 8169d4f610..aaeabe2c26 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_Block_Parser tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_Block_Parser. |
12 | 8 | * |
13 | | * @since 5.0.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_wpBlockParser extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/wpBlockType.php b/tests/phpunit/tests/blocks/wpBlockType.php
index 8ba94be4f5..f05612e517 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_Block_Type tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_Block_Type. |
12 | 8 | * |
13 | | * @since 5.0.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_wpBlockType extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/blocks/wpBlockTypeRegistry.php b/tests/phpunit/tests/blocks/wpBlockTypeRegistry.php
index 4d384dc725..9de882a92b 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_Block_Type_Registry tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage Blocks |
7 | 5 | * @since 5.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_Block_Type_Registry. |
12 | 8 | * |
13 | | * @since 5.0.0 |
14 | | * |
15 | 9 | * @group blocks |
16 | 10 | */ |
17 | 11 | class Tests_Blocks_wpBlockTypeRegistry extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/comment/isAvatarCommentType.php b/tests/phpunit/tests/comment/isAvatarCommentType.php
index 57ed593b1b..12dbf0c33c 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress\UnitTests |
6 | 6 | * |
7 | | * @since 5.1.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Comment_IsAvatarCommentType class. |
12 | | * |
13 | 7 | * @group comment |
14 | 8 | * |
15 | 9 | * @since 5.1.0 |
-
diff --git a/tests/phpunit/tests/customize/control.php b/tests/phpunit/tests/customize/control.php
index 2131bdc844..72b3f06833 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test_WP_Customize_Control tests. |
4 | | * |
5 | 3 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
9 | | * Tests for the Test_WP_Customize_Control class. |
10 | 4 | * |
11 | 5 | * @todo This is missing dedicated tests for all but one of the methods. |
12 | 6 | * |
-
diff --git a/tests/phpunit/tests/customize/partial.php b/tests/phpunit/tests/customize/partial.php
index 5e173a8acf..8d4e04cb8d 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test_WP_Customize_Partial tests. |
4 | | * |
5 | 3 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
9 | | * Tests for the Test_WP_Customize_Partial class. |
10 | 4 | * |
11 | 5 | * @group customize |
12 | 6 | */ |
-
diff --git a/tests/phpunit/tests/customize/selective-refresh-ajax.php b/tests/phpunit/tests/customize/selective-refresh-ajax.php
index 040697d419..a196b08d9d 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | | */ |
8 | | |
9 | | /** |
10 | | * Tests for the WP_Customize_Selective_Refresh class Ajax. |
11 | 7 | * |
12 | 8 | * Note that this is intentionally not extending WP_Ajax_UnitTestCase because it |
13 | 9 | * is not admin ajax. |
-
diff --git a/tests/phpunit/tests/customize/selective-refresh.php b/tests/phpunit/tests/customize/selective-refresh.php
index b3cf7fd84a..567320afa2 100644
a
|
b
|
|
3 | 3 | * WP_Customize_Selective_Refresh tests. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
9 | | * Tests for the WP_Customize_Selective_Refresh class. |
10 | 6 | * |
11 | 7 | * @group customize |
12 | 8 | */ |
-
diff --git a/tests/phpunit/tests/feed/wpSimplePieFile.php b/tests/phpunit/tests/feed/wpSimplePieFile.php
index 7af366b3cc..426ae58553 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Unit tests for methods in `WP_SimplePie_File`. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage UnitTests |
7 | 5 | * @since 5.6.1 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests the `WP_SimplePie_File` class. |
12 | 6 | * |
13 | 7 | * @group feed |
14 | 8 | * @group wp-simplepie-file |
15 | | * |
16 | | * @since 5.6.1 |
17 | 9 | */ |
18 | 10 | class Tests_Feed_wpSimplePieFile extends WP_UnitTestCase { |
19 | 11 | public static function set_up_before_class() { |
-
diff --git a/tests/phpunit/tests/functions/anonymization.php b/tests/phpunit/tests/functions/anonymization.php
index 3e0cea6fa7..89dd0fadd9 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test anonymization functions. |
4 | | * |
5 | 3 | * @package WordPress\UnitTests |
6 | 4 | * |
7 | | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Class Tests_Functions_Anonymization. |
12 | | * |
13 | | * @since 4.9.6 |
14 | | * |
15 | 5 | * @group functions.php |
16 | 6 | * @group privacy |
17 | 7 | * @covers ::wp_privacy_anonymize_data |
-
diff --git a/tests/phpunit/tests/functions/doEnclose.php b/tests/phpunit/tests/functions/doEnclose.php
index e907f179df..02aa6370a9 100644
a
|
b
|
|
5 | 5 | * @package WordPress\UnitTests |
6 | 6 | * |
7 | 7 | * @since 5.3.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Functions_DoEnclose class. |
12 | | * |
13 | | * @since 5.3.0 |
14 | 8 | * |
15 | 9 | * @group functions.php |
16 | 10 | * @group post |
-
diff --git a/tests/phpunit/tests/link/getThePrivacyPolicyLink.php b/tests/phpunit/tests/link/getThePrivacyPolicyLink.php
index 316ad150ae..55237e33ce 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Define a class to test the `get_the_privacy_policy_link()` function. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage UnitTests |
7 | 5 | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Test cases for the `get_the_privacy_policy_link()` function. |
12 | 8 | * |
13 | 9 | * @group link |
14 | 10 | * @group privacy |
15 | 11 | * @covers ::get_the_privacy_policy_link |
16 | | * |
17 | | * @since 4.9.6 |
18 | 12 | */ |
19 | 13 | class Tests_Link_GetThePrivacyPolicyLink extends WP_UnitTestCase { |
20 | 14 | /** |
-
diff --git a/tests/phpunit/tests/load/wpDebugMode.php b/tests/phpunit/tests/load/wpDebugMode.php
index d527235e55..f873ad9069 100644
a
|
b
|
|
6 | 6 | * @package WordPress |
7 | 7 | * @subpackage UnitTests |
8 | 8 | * @since 5.9.0 |
9 | | */ |
10 | | |
11 | | /** |
12 | | * Class Test_WP_Debug_Mode. |
13 | 9 | * |
14 | 10 | * @group load.php |
15 | 11 | * @group wp-debug-mode |
16 | 12 | * @covers ::wp_debug_mode |
17 | | * |
18 | | * @since 5.9.0 |
19 | 13 | */ |
20 | 14 | class Test_WP_Debug_Mode extends WP_UnitTestCase { |
21 | 15 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpCreateUserRequest.php b/tests/phpunit/tests/privacy/wpCreateUserRequest.php
index 9c6d9f3516..55eb866722 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test the `wp_create_user_request()` function. |
| 3 | * Test cases for the `wp_create_user_request()` function. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 5.2.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpCreateUserRequest class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::wp_create_user_request |
15 | | * |
16 | | * @since 5.2.0 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpCreateUserRequest extends WP_UnitTestCase { |
19 | 13 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php b/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php
index eb3ae8a2df..0efa6eee45 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Test the `_wp_privacy_completed_request()` function. |
| 3 | * Test cases for the `_wp_privacy_completed_request()` function. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacyCompletedRequest class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::_wp_privacy_completed_request |
15 | | * |
16 | | * @since 4.9.6 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpPrivacyCompletedRequest extends WP_UnitTestCase { |
19 | 13 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php b/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php
index 8694468268..b13f167d62 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Define a class to test `wp_privacy_delete_old_export_files()`. |
| 3 | * Test cases for `wp_privacy_delete_old_export_files()` function. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
11 | 8 | * Test cases for `wp_privacy_delete_old_export_files()`. |
12 | 9 | * |
13 | 10 | * @group privacy |
14 | 11 | * @covers ::wp_privacy_delete_old_export_files |
15 | | * |
16 | | * @since 4.9.6 |
17 | 12 | */ |
18 | 13 | class Tests_Privacy_wpPrivacyDeleteOldExportFiles extends WP_UnitTestCase { |
19 | 14 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php b/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php
index 784845821e..9d19ee7949 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Define a class to test `wp_privacy_generate_personal_data_export_file()`. |
4 | | * |
| 3 | * Test cases for the `wp_privacy_delete_old_export_files()` function. |
5 | 4 | * @package WordPress |
6 | 5 | * @subpackage UnitTests |
7 | | * @since 5.2.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Test cases for `wp_privacy_generate_personal_data_export_file()`. |
12 | 6 | * |
13 | 7 | * @group privacy |
14 | 8 | * @covers ::wp_privacy_generate_personal_data_export_file |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php b/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php
index f85186d0c5..5cff95382c 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 5.2.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::wp_privacy_generate_personal_data_export_group_html |
15 | | * |
16 | | * @since 5.2.0 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase { |
19 | 13 | |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php b/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php
index e8d94d4a77..3f7f7074e6 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 5.2.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacyProcessPersonalDataExportPage class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::wp_privacy_process_personal_data_export_page |
15 | | * |
16 | | * @since 5.2.0 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase { |
19 | 13 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php b/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php
index ef71a5f85d..401528a158 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 5.1.0 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacySendErasureFulfillmentNotification class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::_wp_privacy_send_erasure_fulfillment_notification |
15 | | * |
16 | | * @since 5.1.0 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase { |
19 | 13 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php b/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php
index 5c9336ad97..a0f4c96d29 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacySendPersonalDataExportEmail class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @covers ::wp_privacy_send_personal_data_export_email |
15 | | * |
16 | | * @since 4.9.6 |
17 | 11 | */ |
18 | 12 | class Tests_Privacy_wpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase { |
19 | 13 | /** |
-
diff --git a/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php b/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
index ee083b30c6..5374cd5701 100644
a
|
b
|
|
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.9.8 |
8 | | */ |
9 | | |
10 | | /** |
11 | | * Tests_Privacy_wpPrivacySendRequestConfirmationNotification class. |
12 | 8 | * |
13 | 9 | * @group privacy |
14 | 10 | * @group user |
15 | 11 | * @covers ::_wp_privacy_send_request_confirmation_notification |
16 | | * |
17 | | * @since 4.9.8 |
18 | 12 | */ |
19 | 13 | class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase { |
20 | 14 | /** |
-
diff --git a/tests/phpunit/tests/rest-api/application-passwords.php b/tests/phpunit/tests/rest-api/application-passwords.php
index b3edab0d72..a630719ee8 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage REST API |
7 | | */ |
8 | | |
9 | | /** |
| 7 | * |
10 | 8 | * @group restapi |
11 | 9 | * @group app_password |
12 | 10 | */ |
-
diff --git a/tests/phpunit/tests/rest-api/rest-request.php b/tests/phpunit/tests/rest-api/rest-request.php
index cf1f3ac739..a3f4f86881 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage REST API |
7 | | */ |
8 | | |
9 | | /** |
10 | 7 | * @group restapi |
11 | 8 | */ |
12 | 9 | class Tests_REST_Request extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/rest-api/rest-server.php b/tests/phpunit/tests/rest-api/rest-server.php
index 8788a72445..bad7435916 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage REST API |
7 | | */ |
8 | | |
9 | | /** |
10 | 7 | * @group restapi |
11 | 8 | */ |
12 | 9 | class Tests_REST_Server extends WP_Test_REST_TestCase { |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestBlockPatternCategoriesController.php b/tests/phpunit/tests/rest-api/wpRestBlockPatternCategoriesController.php
index 256eabdb82..b479d7509f 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Unit tests covering WP_Block_Pattern_Categories_Registry functionality. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 6.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for REST API for Block Pattern Categories Registry. |
12 | 8 | * |
13 | | * @since 6.0.0 |
14 | | * |
15 | 9 | * @ticket 55505 |
16 | 10 | * |
17 | 11 | * @covers WP_REST_Block_Pattern_Categories_Controller |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestBlockPatternsController.php b/tests/phpunit/tests/rest-api/wpRestBlockPatternsController.php
index 5447c2ee7b..a36d918230 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Unit tests covering WP_REST_Block_Patterns_Controller functionality. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 6.0.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for REST API for Block Patterns. |
12 | 8 | * |
13 | | * @since 6.0.0 |
14 | | * |
15 | 9 | * @ticket 55505 |
16 | 10 | * |
17 | 11 | * @covers WP_REST_Block_Patterns_Controller |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestEditSiteExportController.php b/tests/phpunit/tests/rest-api/wpRestEditSiteExportController.php
index c32ea170b8..9f50f76b2d 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_REST_Edit_Site_Export_Controller tests. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 5.9.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_REST_Edit_Site_Export_Controller. |
12 | 8 | * |
13 | | * @since 5.9.0 |
14 | | * |
15 | 9 | * @covers WP_REST_Edit_Site_Export_Controller |
16 | 10 | * |
17 | 11 | * @group restapi |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php b/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php
index cda306409b..8e02bc5854 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_REST_Menu_Items_Controller tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 5.9.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for REST API for Menu items. |
12 | 8 | * |
13 | 9 | * @group restapi |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestMenuLocationsController.php b/tests/phpunit/tests/rest-api/wpRestMenuLocationsController.php
index c24714ea93..048ec2ce04 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_REST_Menu_Locations_Controller tests. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 5.9.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for REST API for Menu locations. |
12 | 8 | * |
13 | 9 | * @group restapi |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestMenusController.php b/tests/phpunit/tests/rest-api/wpRestMenusController.php
index 3db23f2d45..c0fdb71653 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_REST_Menus_Controller tests |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 5.9.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for REST API for Menus. |
12 | 8 | * |
13 | 9 | * @group restapi |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestTemplatesController.php b/tests/phpunit/tests/rest-api/wpRestTemplatesController.php
index 718cd2f286..6678a249fa 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Unit tests covering the templates endpoint.. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST API |
7 | | */ |
8 | | |
9 | | /** |
10 | 5 | * Tests for REST API for templates. |
11 | 6 | * |
12 | 7 | * @covers WP_REST_Templates_Controller |
-
diff --git a/tests/phpunit/tests/rest-api/wpRestUrlDetailsController.php b/tests/phpunit/tests/rest-api/wpRestUrlDetailsController.php
index 41d0438a57..0de7d9da3f 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * WP_REST_URL_Details_Controller tests. |
4 | | * |
5 | 3 | * @package WordPress |
6 | 4 | * @subpackage REST_API |
7 | 5 | * @since 5.9.0 |
8 | | */ |
9 | | |
10 | | /** |
| 6 | * |
11 | 7 | * Tests for WP_REST_URL_Details_Controller. |
12 | 8 | * |
13 | | * @since 5.9.0 |
14 | | * |
15 | 9 | * @covers WP_REST_URL_Details_Controller |
16 | 10 | * |
17 | 11 | * @group url-details |
-
diff --git a/tests/phpunit/tests/robots.php b/tests/phpunit/tests/robots.php
index 60da725e75..bfe14d8644 100644
a
|
b
|
|
3 | 3 | * Robots functions tests. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | | */ |
7 | | |
8 | | /** |
| 6 | * |
9 | 7 | * Tests for robots template functions and filters. |
10 | 8 | * |
11 | 9 | * @group robots |
-
diff --git a/tests/phpunit/tests/url/getPrivacyPolicyUrl.php b/tests/phpunit/tests/url/getPrivacyPolicyUrl.php
index ad0c9c1f00..d44952ed2f 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | /** |
3 | | * Define a class to test `get_privacy_policy_url()`. |
| 3 | * Test cases for `get_privacy_policy_url()` function. |
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @subpackage UnitTests |
7 | 7 | * @since 4.9.6 |
8 | | */ |
9 | | |
10 | | /** |
11 | 8 | * Test cases for `get_privacy_policy_url()`. |
12 | 9 | * |
13 | 10 | * @group url |
14 | 11 | * @group privacy |
15 | 12 | * |
16 | | * @since 4.9.6 |
17 | | * |
18 | 13 | * @covers ::get_privacy_policy_url |
19 | 14 | */ |
20 | 15 | class Tests_Url_GetPrivacyPolicyUrl extends WP_UnitTestCase { |
-
diff --git a/tests/phpunit/tests/user/retrievePassword.php b/tests/phpunit/tests/user/retrievePassword.php
index 96a14c408f..861a2d9e96 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @since 6.0.0 |
7 | | */ |
8 | | |
9 | | /** |
10 | | * Test retrieve_password(), in wp-includes/user.php. |
11 | | * |
12 | | * @since 6.0.0 |
13 | 7 | * |
14 | 8 | * @group user |
15 | 9 | * @covers ::retrieve_password |
-
diff --git a/tests/phpunit/tests/user/wpSendUserRequest.php b/tests/phpunit/tests/user/wpSendUserRequest.php
index f36304bad4..11e3130f22 100644
a
|
b
|
|
4 | 4 | * |
5 | 5 | * @package WordPress |
6 | 6 | * @since 4.9.9 |
7 | | */ |
8 | | |
9 | | /** |
10 | | * Tests_User_WpSendUserRequest class. |
11 | | * |
12 | | * @since 4.9.9 |
13 | 7 | * |
14 | 8 | * @group privacy |
15 | 9 | * @group user |