Make WordPress Core


Ignore:
Timestamp:
07/07/2022 10:53:34 PM (2 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add @coversNothing tags to the tests for some content in documentation and settings files.

Props pbeane, hellofromTonya, ironprogrammer, antonvlasenko, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/basic.php

    r53357 r53683  
    44 * just make sure the test framework is working
    55 *
     6 * No Covers as this checks for content in files
     7 *
    68 * @group testsuite
    79 */
    810class Tests_Basic extends WP_UnitTestCase {
    911
     12    /**
     13     * @coversNothing
     14     */
    1015    public function test_license() {
    1116        // This test is designed to only run on trunk.
     
    2025    }
    2126
     27    /**
     28     * @coversNothing
     29     */
    2230    public function test_security_md() {
    2331        // This test is designed to only run on trunk.
     
    3341    }
    3442
     43    /**
     44     * @coversNothing
     45     */
    3546    public function test_package_json() {
    3647        $package_json    = file_get_contents( dirname( ABSPATH ) . '/package.json' );
     
    5061    /**
    5162     * @depends test_package_json
     63     *
     64     * @coversNothing
    5265     */
    5366    public function test_package_json_node_engine( $package_json ) {
     
    5669    }
    5770
    58     // Test some helper utility functions.
    59 
     71    /**
     72     * Test some helper utility functions.
     73     *
     74     * @coversNothing
     75     */
    6076    public function test_strip_ws() {
    6177        $this->assertSame( '', strip_ws( '' ) );
     
    85101    }
    86102
     103    /**
     104     * @coversNothing
     105     */
    87106    public function test_mask_input_value() {
    88107        $in = <<<EOF
Note: See TracChangeset for help on using the changeset viewer.