WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/28/2019 05:20:06 PM (8 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Replace spaced indentation sections of phpunit.xml.dist, multisite.xml, and build.xml with tabs.

Props netweb, desrosj.
See #43218.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/multisite.xml

    r44704 r44705  
    11<phpunit
    22        bootstrap="includes/bootstrap.php"
    3         backupGlobals="false"
    4         colors="true"
    5         beStrictAboutTestsThatDoNotTestAnything="true"
    6         >
    7     <php>
    8         <const name="WP_TESTS_MULTISITE" value="1" />
    9     </php>
    10     <testsuites>
    11         <!-- Default test suite to run all tests -->
    12         <testsuite name="default">
    13             <directory suffix=".php">tests</directory>
    14             <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
    15             <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
    16             <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
    17             <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
    18             <exclude>tests/phpunit/tests/actions/closures.php</exclude>
    19             <exclude>tests/phpunit/tests/image/editor.php</exclude>
    20             <exclude>tests/phpunit/tests/image/editorGd.php</exclude>
    21             <exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
    22             <!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
    23             <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
    24             <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
    25             <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
    26         </testsuite>
    27         <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last -->
    28         <testsuite name="restapi-autosave">
    29             <!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
    30             <file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
    31             <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
    32             <file>tests/rest-api/rest-autosaves-controller.php</file>
    33         </testsuite>
    34     </testsuites>
    35     <groups>
    36         <exclude>
    37             <group>ajax</group>
    38             <group>ms-files</group>
    39             <group>ms-excluded</group>
    40             <group>external-http</group>
    41             <group>oembed-headers</group>
    42         </exclude>
    43     </groups>
    44     <php>
    45         <const name="WP_RUN_CORE_TESTS" value="1" />
    46     </php>
    47     <listeners>
    48         <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php">
    49             <arguments>
    50                 <array>
    51                     <element key="slowThreshold">
    52                         <integer>150</integer>
    53                     </element>
    54                 </array>
    55             </arguments>
    56         </listener>
    57     </listeners>
     3        backupGlobals="false"
     4        colors="true"
     5        beStrictAboutTestsThatDoNotTestAnything="true"
     6        >
     7    <php>
     8        <const name="WP_TESTS_MULTISITE" value="1" />
     9    </php>
     10    <testsuites>
     11        <!-- Default test suite to run all tests -->
     12        <testsuite name="default">
     13            <directory suffix=".php">tests</directory>
     14            <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
     15            <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
     16            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
     17            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
     18            <exclude>tests/phpunit/tests/actions/closures.php</exclude>
     19            <exclude>tests/phpunit/tests/image/editor.php</exclude>
     20            <exclude>tests/phpunit/tests/image/editorGd.php</exclude>
     21            <exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
     22            <!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
     23            <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
     24            <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
     25            <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
     26        </testsuite>
     27        <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last -->
     28        <testsuite name="restapi-autosave">
     29            <!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
     30            <file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
     31            <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
     32            <file>tests/rest-api/rest-autosaves-controller.php</file>
     33        </testsuite>
     34    </testsuites>
     35    <groups>
     36        <exclude>
     37            <group>ajax</group>
     38            <group>ms-files</group>
     39            <group>ms-excluded</group>
     40            <group>external-http</group>
     41            <group>oembed-headers</group>
     42        </exclude>
     43    </groups>
     44    <php>
     45        <const name="WP_RUN_CORE_TESTS" value="1" />
     46    </php>
     47    <listeners>
     48        <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php">
     49            <arguments>
     50                <array>
     51                    <element key="slowThreshold">
     52                        <integer>150</integer>
     53                    </element>
     54                </array>
     55            </arguments>
     56        </listener>
     57    </listeners>
    5858</phpunit>
Note: See TracChangeset for help on using the changeset viewer.