Wordpress/tests/phpunit/includes
John Blackbourn 64f8351da1 Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite.
This brings much needed uniformity to test skipping when a test requires Multisite or when a test should be excluded from running when Multisite is enabled.

Used in conjunction with the `@group ms-required` and `@group ms-excluded` notation, this removes a significant number of skipped tests from the default test suite run.

Fixes #40531


git-svn-id: https://develop.svn.wordpress.org/trunk@40543 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-23 21:57:31 +00:00
..
factory Multisite: Use get_network() in WP_UnitTest_Factory_For_Network. 2016-11-01 16:51:26 +00:00
bootstrap.php Build/Test Tools: Add support for PHPUnit 6+. 2017-04-23 02:05:12 +00:00
class-basic-object.php Tests: Add docblocks for Basic_Object and Basic_Subclass classes. 2016-08-30 14:31:56 +00:00
class-basic-subclass.php Tests: Add docblocks for Basic_Object and Basic_Subclass classes. 2016-08-30 14:31:56 +00:00
exceptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
factory.php Add tests for get_bookmarks() cache. 2016-05-25 18:20:24 +00:00
functions.php Build/Test tools: Don't override the wp_set_auth_cookie() and wp_clear_auth_cookie() functions. 2017-03-10 14:32:31 +00:00
install.php Tests: Fix a PHP notice introduced in [38907]. 2016-10-25 11:05:17 +00:00
mock-fs.php Normalize slashes in WP_Filesystem_MockFS::mkdir() and WP_Filesystem_MockFS::locate_parent_node() to avoid an infinite loop on Windows. 2013-11-18 15:32:47 +00:00
mock-image-editor.php Add tests which ensure the wp_editor_set_quality and jpeg_quality filters only apply if they are added before the corresponding WP_Image_Editor is instantiated. 2014-12-15 21:24:21 +00:00
mock-mailer.php Mail: Improve handling of UTF-8 address headers. 2016-07-13 18:03:52 +00:00
phpunit6-compat.php Build/Test Tools: Add support for PHPUnit 6+. 2017-04-23 02:05:12 +00:00
speed-trap-listener.php Unit Tests: Implement addWarning() method in SpeedTrapListener. 2015-12-04 16:40:10 +00:00
spy-rest-server.php REST API: Allow unsetting of page templates in update requests. 2016-11-23 02:46:42 +00:00
testcase-ajax.php Build/Test Tools: Move the setExpectedException() method into the WP_Ajax_UnitTestCase class to avoid a fatal error when PHPUnit 3.6 is in use. 2017-04-23 11:45:46 +00:00
testcase-canonical.php Build/Test Tools: Avoid skipping canonical tests that are connected to open Trac tickets. 2017-04-22 18:25:30 +00:00
testcase-rest-api.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
testcase-rest-controller.php REST API: Fire correct hooks when creating users on multiste. 2016-11-09 01:34:56 +00:00
testcase-rest-post-type-controller.php REST API: Shim post_date_gmt for drafts / empty dates in the REST API. 2017-02-24 18:14:21 +00:00
testcase-xmlrpc.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:30:48 +00:00
testcase.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
trac.php Don't use HTTPS in unit tests if OpenSSL isn't loaded. 2014-02-12 20:39:21 +00:00
utils.php Tests: Restore the database connection earlier when switching test groups. 2016-12-21 04:58:47 +00:00
wp-profiler.php Remove PHP4 constructors from Unit Tests 2015-07-08 16:04:11 +00:00