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 Code is Poetry. 2017-11-30 23:09:33 +00:00
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 Add tests for `get_bookmarks()` cache. 2016-05-25 18:20:24 +00:00
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 Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-fs.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-image-editor.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-mailer.php Code is Poetry. 2017-11-30 23:09:33 +00:00
object-cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
phpunit6-compat.php Code is Poetry. 2017-11-30 23:09:33 +00:00
plural-form-function.php Code is Poetry. 2017-11-30 23:09:33 +00:00
speed-trap-listener.php Code is Poetry. 2017-11-30 23:09:33 +00:00
spy-rest-server.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-ajax.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-canonical.php Code is Poetry. 2017-11-30 23:09:33 +00:00
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 Code is Poetry. 2017-11-30 23:09:33 +00:00
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 Code is Poetry. 2017-11-30 23:09:33 +00:00
utils.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wp-profiler.php Code is Poetry. 2017-11-30 23:09:33 +00:00