Tests: Rename classes in phpunit/tests/blocks/ 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].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-07-26 18:45:48 +00:00
parent 9da818a068
commit 1d838a7885
12 changed files with 33 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block_Context Tests
* Block context tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block_Context
* Tests for block context functions.
*
* @since 5.5.0
*
* @group blocks
*/
class WP_Block_Context_Test extends WP_UnitTestCase {
class Tests_Blocks_Context extends WP_UnitTestCase {
/**
* Registered block names.

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block Tests
* Block editor tests
*
* @package WordPress
* @subpackage Blocks
@@ -14,7 +14,7 @@
*
* @group blocks
*/
class WP_Test_Block_Editor extends WP_UnitTestCase {
class Tests_Blocks_Editor extends WP_UnitTestCase {
/**
* Sets up each test method.

View File

@@ -1,6 +1,6 @@
<?php
/**
* Block registry tests.
* Block registration tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names()
* Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names().
*
* @since 5.0.0
*
* @group blocks
*/
class WP_Test_Block_Register extends WP_UnitTestCase {
class Tests_Blocks_Register extends WP_UnitTestCase {
/**
* ID for a test post.

View File

@@ -1,6 +1,6 @@
<?php
/**
* Block rendering tests.
* Block rendering tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for block rendering functions
* Tests for block rendering functions.
*
* @since 5.0.0
*
* @group blocks
*/
class WP_Test_Block_Render extends WP_UnitTestCase {
class Tests_Blocks_Render extends WP_UnitTestCase {
/**
* The location of the fixtures to test with.
*

View File

@@ -1,6 +1,6 @@
<?php
/**
* Reusable block rendering tests.
* Reusable block rendering tests
*
* @package WordPress
* @subpackage Blocks
@@ -14,7 +14,7 @@
*
* @group blocks
*/
class WP_Test_Render_Reusable_Blocks extends WP_UnitTestCase {
class Tests_Blocks_RenderReusable extends WP_UnitTestCase {
/**
* Fake user ID.
*

View File

@@ -1,6 +1,6 @@
<?php
/**
* Block serialization tests.
* Block serialization tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for block serialization functions
* Tests for block serialization functions.
*
* @since 5.3.3
*
* @group blocks
*/
class WP_Test_Block_Serialization extends WP_UnitTestCase {
class Tests_Blocks_Serialize extends WP_UnitTestCase {
/**
* @dataProvider data_serialize_identity_from_parsed

View File

@@ -1,6 +1,6 @@
<?php
/**
* Block Tests
* Block supported style tests
*
* @package WordPress
* @subpackage Blocks
@@ -14,7 +14,7 @@
*
* @group blocks
*/
class Block_Supported_Styles_Test extends WP_UnitTestCase {
class Tests_Blocks_SupportedStyles extends WP_UnitTestCase {
/**
* Block content to test with (i.e. what's wrapped by the block wrapper `<div />`).

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block Tests
* WP_Block tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block
* Tests for WP_Block.
*
* @since 5.5.0
*
* @group blocks
*/
class WP_Block_Test extends WP_UnitTestCase {
class Tests_Blocks_wpBlock extends WP_UnitTestCase {
/**
* Fake block type registry.

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block_List tests.
* WP_Block_List tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block_List
* Tests for WP_Block_List.
*
* @since 5.5.0
*
* @group blocks
*/
class WP_Block_List_Test extends WP_UnitTestCase {
class Tests_Blocks_wpBlockList extends WP_UnitTestCase {
/**
* Fake block type registry.

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block_Parser tests.
* WP_Block_Parser tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block_Parser
* Tests for WP_Block_Parser.
*
* @since 5.0.0
*
* @group blocks
*/
class WP_Test_Block_Parser extends WP_UnitTestCase {
class Tests_Blocks_wpBlockParser extends WP_UnitTestCase {
/**
* The location of the fixtures to test with.
*

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block_Type Tests
* WP_Block_Type tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block_Type
* Tests for WP_Block_Type.
*
* @since 5.0.0
*
* @group blocks
*/
class WP_Test_Block_Type extends WP_UnitTestCase {
class Tests_Blocks_wpBlockType extends WP_UnitTestCase {
/**
* Editor user ID.

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Block_Type_Registry Tests
* WP_Block_Type_Registry tests
*
* @package WordPress
* @subpackage Blocks
@@ -8,13 +8,13 @@
*/
/**
* Tests for WP_Block_Type_Registry
* Tests for WP_Block_Type_Registry.
*
* @since 5.0.0
*
* @group blocks
*/
class WP_Test_Block_Type_Registry extends WP_UnitTestCase {
class Tests_Blocks_wpBlockTypeRegistry extends WP_UnitTestCase {
/**
* Fake block type registry.