Wordpress/tests/phpunit/includes
John Blackbourn 952e98c217 I18N: Improvements to the tests for plural forms.
* Move the `create_function()` code into a file that's only loaded, and into a test that's only run, on PHP <= 7.2 to avoid deprecated warnings in 7.2+.
* Convert the test skipping into a failure if the GlotPress locale file cannot be downloaded.
* Ensure `test_exceptions` fails if an exception is not thrown.
* Docs improvements

See #41562, #40109


git-svn-id: https://develop.svn.wordpress.org/trunk@41730 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-04 13:26:15 +00:00
..
factory Tests: Add `@method` notations to factor class DocBlocks as a way to indicate expected return types from factory methods for the benefit of IDEs. 2017-06-30 04:35:39 +00:00
bootstrap.php Build/Test tools: Update the `WP_PHPUnit_Util_Getopt` class for PHP 7.2 compatibility. 2017-09-28 23:14:26 +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
factory.php
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 General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
mock-image-editor.php
mock-mailer.php Tests: Fully reset MockPHPMailer between tests. 2017-07-29 20:52:45 +00:00
object-cache.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
phpunit6-compat.php Build/Test Tools: Add a missing class to the PHPUnit 6 back compat. 2017-05-30 22:06:56 +00:00
plural-form-function.php I18N: Improvements to the tests for plural forms. 2017-10-04 13:26:15 +00:00
speed-trap-listener.php
spy-rest-server.php REST API: Avoid sending blank `Last-Modified` headers with authenticated requests. 2017-05-19 20:26:48 +00:00
testcase-ajax.php Build/Test tools: Remove usage of `DOING_AJAX` from the test suite, so all tests that expect either an Ajax request or a 2017-08-22 15:07:42 +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
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: I don't know how this happened. 2017-06-02 14:10:56 +00:00
trac.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
utils.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
wp-profiler.php