2015-09-28 02:36:23 +00:00
|
|
|
<phpunit
|
2021-08-09 12:52:58 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.2/phpunit.xsd"
|
2015-09-28 02:36:23 +00:00
|
|
|
bootstrap="includes/bootstrap.php"
|
2019-01-28 17:20:06 +00:00
|
|
|
backupGlobals="false"
|
|
|
|
colors="true"
|
|
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
2021-08-09 17:19:21 +00:00
|
|
|
beStrictAboutOutputDuringTests="true"
|
2019-01-28 17:20:06 +00:00
|
|
|
>
|
|
|
|
<php>
|
|
|
|
<const name="WP_TESTS_MULTISITE" value="1" />
|
2019-03-04 21:32:02 +00:00
|
|
|
<const name="WP_RUN_CORE_TESTS" value="1" />
|
2019-01-28 17:20:06 +00:00
|
|
|
</php>
|
|
|
|
<testsuites>
|
2020-01-29 00:43:23 +00:00
|
|
|
<!-- Default test suite to run all tests. -->
|
2019-01-28 17:20:06 +00:00
|
|
|
<testsuite name="default">
|
|
|
|
<directory suffix=".php">tests</directory>
|
|
|
|
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
|
|
|
|
</testsuite>
|
2020-01-29 00:43:23 +00:00
|
|
|
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
|
2019-01-28 17:20:06 +00:00
|
|
|
<testsuite name="restapi-autosave">
|
|
|
|
<file>tests/rest-api/rest-autosaves-controller.php</file>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
|
|
|
<groups>
|
|
|
|
<exclude>
|
|
|
|
<group>ajax</group>
|
|
|
|
<group>ms-files</group>
|
|
|
|
<group>ms-excluded</group>
|
|
|
|
<group>external-http</group>
|
|
|
|
<group>oembed-headers</group>
|
|
|
|
</exclude>
|
|
|
|
</groups>
|
2020-12-12 20:07:55 +00:00
|
|
|
<filter>
|
|
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
2021-03-26 13:23:52 +00:00
|
|
|
<directory suffix=".php">../../src</directory>
|
2020-12-12 20:07:55 +00:00
|
|
|
<exclude>
|
|
|
|
<!-- Third party library exclusions. -->
|
2021-03-26 13:23:52 +00:00
|
|
|
<directory suffix=".php">../../src/wp-includes/ID3</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/IXR</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/random_compat</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/PHPMailer</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/Requests</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/SimplePie</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/sodium_compat</directory>
|
|
|
|
<directory suffix=".php">../../src/wp-includes/Text</directory>
|
2020-12-12 20:07:55 +00:00
|
|
|
|
|
|
|
<!-- Plugins and themes. -->
|
2021-03-26 13:23:52 +00:00
|
|
|
<directory suffix=".php">../../src/wp-content/</directory>
|
2020-12-12 20:07:55 +00:00
|
|
|
|
2021-03-26 13:23:52 +00:00
|
|
|
<file>../../src/wp-admin/includes/class-ftp*</file>
|
|
|
|
<file>../../src/wp-admin/includes/class-pclzip.php</file>
|
|
|
|
<file>../../src/wp-admin/includes/deprecated.php</file>
|
|
|
|
<file>../../src/wp-admin/includes/ms-deprecated.php</file>
|
2020-12-12 20:07:55 +00:00
|
|
|
|
2021-03-26 13:23:52 +00:00
|
|
|
<file>../../src/wp-includes/atomlib.php</file>
|
|
|
|
<file>../../src/wp-includes/class-IXR.php</file>
|
|
|
|
<file>../../src/wp-includes/class-json.php</file>
|
|
|
|
<file>../../src/wp-includes/class-phpass.php</file>
|
|
|
|
<file>../../src/wp-includes/class-pop3.php</file>
|
|
|
|
<file>../../src/wp-includes/class-requests.php</file>
|
|
|
|
<file>../../src/wp-includes/class-simplepie.php</file>
|
|
|
|
<file>../../src/wp-includes/class-snoopy.php</file>
|
|
|
|
<file>../../src/wp-includes/deprecated.php</file>
|
|
|
|
<file>../../src/wp-includes/ms-deprecated.php</file>
|
|
|
|
<file>../../src/wp-includes/pluggable-deprecated.php</file>
|
|
|
|
<file>../../src/wp-includes/rss.php</file>
|
2020-12-12 20:07:55 +00:00
|
|
|
</exclude>
|
|
|
|
</whitelist>
|
|
|
|
</filter>
|
2015-09-28 02:36:23 +00:00
|
|
|
</phpunit>
|