wordpress-develop/tests/phpunit/tests/http
Sergey Biryukov b396844d38 Tests: Clean up skipping conditions and requirements for various tests.
This improves the consistency of test skipping and ensures that:

* The `@requires` annotations use the right condition and format, and are on the right level (class vs. function).
* Inline conditions with a `markTestSkipped()` call are only used when annotations cannot be used.
* All `markTestSkipped()` calls contain a verbose explanation of why the test is being skipped.

Props jrf, hellofromTonya.
Fixes #53009.

git-svn-id: https://develop.svn.wordpress.org/trunk@51415 602fd350-edb4-49c9-b593-d223f7449a82
2021-07-13 10:43:42 +00:00
..
base.php Tests: Clean up skipping conditions and requirements for various tests. 2021-07-13 10:43:42 +00:00
curl.php Tests: Add missing @covers tags for files in phpunit/tests/http/. 2021-02-15 14:00:02 +00:00
functions.php Tests: Clean up skipping conditions and requirements for various tests. 2021-07-13 10:43:42 +00:00
http.php Tests: Use more appropriate assertions in various tests. 2021-07-10 11:15:44 +00:00
streams.php Code Modernization: Use explicit visibility for class property declarations. 2020-10-17 16:24:35 +00:00
wpGetHttpHeaders.php Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
wpRemoteRetrieveHeaders.php Tests: Rename two classes in phpunit/tests/http/ to match the function names. 2021-02-15 14:05:42 +00:00