WordPress.org

Make WordPress Core

Changeset 51491


Ignore:
Timestamp:
07/26/2021 06:45:48 PM (2 months ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/tests/phpunit/tests/blocks
Files:
2 edited
10 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/context.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block_Context Tests
     3 * Block context tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block_Context
     11 * Tests for block context functions.
    1212 *
    1313 * @since 5.5.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Block_Context_Test extends WP_UnitTestCase {
     17class Tests_Blocks_Context extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/editor.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block Tests
     3 * Block editor tests
    44 *
    55 * @package WordPress
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Editor extends WP_UnitTestCase {
     17class Tests_Blocks_Editor extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/register.php

    r51268 r51491  
    11<?php
    22/**
    3  * Block registry tests.
     3 * Block registration tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names()
     11 * Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names().
    1212 *
    1313 * @since 5.0.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Register extends WP_UnitTestCase {
     17class Tests_Blocks_Register extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/render.php

    r51462 r51491  
    11<?php
    22/**
    3  * Block rendering tests.
     3 * Block rendering tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for block rendering functions
     11 * Tests for block rendering functions.
    1212 *
    1313 * @since 5.0.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Render extends WP_UnitTestCase {
     17class Tests_Blocks_Render extends WP_UnitTestCase {
    1818    /**
    1919     * The location of the fixtures to test with.
  • trunk/tests/phpunit/tests/blocks/renderReusable.php

    r51490 r51491  
    11<?php
    22/**
    3  * Reusable block rendering tests.
     3 * Reusable block rendering tests
    44 *
    55 * @package WordPress
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Render_Reusable_Blocks extends WP_UnitTestCase {
     17class Tests_Blocks_RenderReusable extends WP_UnitTestCase {
    1818    /**
    1919     * Fake user ID.
  • trunk/tests/phpunit/tests/blocks/serialize.php

    r51490 r51491  
    11<?php
    22/**
    3  * Block serialization tests.
     3 * Block serialization tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for block serialization functions
     11 * Tests for block serialization functions.
    1212 *
    1313 * @since 5.3.3
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Serialization extends WP_UnitTestCase {
     17class Tests_Blocks_Serialize extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/supportedStyles.php

    r51490 r51491  
    11<?php
    22/**
    3  * Block Tests
     3 * Block supported style tests
    44 *
    55 * @package WordPress
     
    1515 * @group blocks
    1616 */
    17 class Block_Supported_Styles_Test extends WP_UnitTestCase {
     17class Tests_Blocks_SupportedStyles extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/wpBlock.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block Tests
     3 * WP_Block tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block
     11 * Tests for WP_Block.
    1212 *
    1313 * @since 5.5.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Block_Test extends WP_UnitTestCase {
     17class Tests_Blocks_wpBlock extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/wpBlockList.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block_List tests.
     3 * WP_Block_List tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block_List
     11 * Tests for WP_Block_List.
    1212 *
    1313 * @since 5.5.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Block_List_Test extends WP_UnitTestCase {
     17class Tests_Blocks_wpBlockList extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/wpBlockParser.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block_Parser tests.
     3 * WP_Block_Parser tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block_Parser
     11 * Tests for WP_Block_Parser.
    1212 *
    1313 * @since 5.0.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Parser extends WP_UnitTestCase {
     17class Tests_Blocks_wpBlockParser extends WP_UnitTestCase {
    1818    /**
    1919     * The location of the fixtures to test with.
  • trunk/tests/phpunit/tests/blocks/wpBlockType.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block_Type Tests
     3 * WP_Block_Type tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block_Type
     11 * Tests for WP_Block_Type.
    1212 *
    1313 * @since 5.0.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Type extends WP_UnitTestCase {
     17class Tests_Blocks_wpBlockType extends WP_UnitTestCase {
    1818
    1919    /**
  • trunk/tests/phpunit/tests/blocks/wpBlockTypeRegistry.php

    r51490 r51491  
    11<?php
    22/**
    3  * WP_Block_Type_Registry Tests
     3 * WP_Block_Type_Registry tests
    44 *
    55 * @package WordPress
     
    99
    1010/**
    11  * Tests for WP_Block_Type_Registry
     11 * Tests for WP_Block_Type_Registry.
    1212 *
    1313 * @since 5.0.0
     
    1515 * @group blocks
    1616 */
    17 class WP_Test_Block_Type_Registry extends WP_UnitTestCase {
     17class Tests_Blocks_wpBlockTypeRegistry extends WP_UnitTestCase {
    1818
    1919    /**
Note: See TracChangeset for help on using the changeset viewer.