Wordpress/tests/phpunit/includes
Felix Arntz 79bf20d320 Tests: Skip multisite-only or single site-only tests correctly based on test doc annotations.
Without the `ms-required` and `ms-excluded` groups being marked as excluded in the PHPUnit configurations for the project, those groups were still executed, causing fatal errors. Checking against the groups in the correct structure of the array returned from PHPUnit's `Testcase::getAnnotations()` ensures that those tests are skipped properly.

Fixes #43863.


git-svn-id: https://develop.svn.wordpress.org/trunk@43005 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-25 22:37:08 +00:00
..
factory
bootstrap.php Unit Tests: add a DIR_TESTROOT constant to avoid relative paths. 2018-02-25 18:06:49 +00:00
class-basic-object.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
class-basic-subclass.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
exceptions.php
factory.php
functions.php Tests: Replace use of $this->server with rest_get_server() for better memory recycling. 2018-02-21 16:24:30 +00:00
install.php
mock-fs.php
mock-image-editor.php
mock-mailer.php
object-cache.php
phpunit6-compat.php
plural-form-function.php
speed-trap-listener.php
spy-rest-server.php
testcase-ajax.php
testcase-canonical.php
testcase-rest-api.php
testcase-rest-controller.php Tests: Replace use of $this->server with rest_get_server() for better memory recycling. 2018-02-21 16:24:30 +00:00
testcase-rest-post-type-controller.php Build/Test Tools: Implement assertNotWPError() in appropriate places in the test suite. 2018-03-20 22:34:11 +00:00
testcase-xmlrpc.php
testcase.php Tests: Skip multisite-only or single site-only tests correctly based on test doc annotations. 2018-04-25 22:37:08 +00:00
trac.php
utils.php
wp-profiler.php