Wordpress/tests/phpunit/tests
2015-10-15 06:31:16 +00:00
..
actions
admin Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
ajax Add message with status info to temperamental assertion. 2015-10-06 19:55:56 +00:00
attachment Tests: Make the Attachment Slashes tests clean up after itself. 2015-10-06 04:00:53 +00:00
canonical Unit Tests: after [35186], "upgrade" the Canonical fixtures. 2015-10-15 05:50:40 +00:00
category Fix 'exclude_tree' in wp_list_categories(). 2015-09-29 19:11:12 +00:00
comment Unit Tests: in Tests_Comment_Query::test_get_comments_for_post(), create fewer comments (5, instead of 10). 2015-10-15 05:56:47 +00:00
customize Create fewer fixtures in some tests. 2015-10-14 21:23:03 +00:00
date Correct the post_date format in WP_Date_Query tests. 2015-10-12 23:39:50 +00:00
db Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
dependencies Add a return value to wp_register_script() and wp_register_style() which matches the return value of WP_Dependencies::add(). 2015-05-10 19:56:15 +00:00
external-http Unit Tests: move some oEmbed tests that can trigger HTTP calls to Tests_External_HTTP_OEmbed. 2015-10-15 01:28:05 +00:00
feed Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
filesystem Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
formatting Fotmatting: in sanitize_file_name(), escape % when uploads contain them, otherwise attachment URLs will unescape the char and break. 2015-10-13 03:21:13 +00:00
functions Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
general Create fewer fixtures in some tests. 2015-10-14 21:23:03 +00:00
http Adjust detection of stream timeouts in maybe skip tests for https tests 2015-10-06 17:39:14 +00:00
image More explicit tests for image_get_intermediate_size(). 2015-10-02 14:13:15 +00:00
import Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
includes Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
link Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods. 2015-10-03 20:54:11 +00:00
meta Avoid returning duplicate matches when using a meta query in WP_User_Query. 2015-06-09 17:41:35 +00:00
multisite MS: Handle the possibility of 0 when checking a user's upload quota. 2015-10-10 23:17:01 +00:00
oembed Correctly encode the url parameter that gets passed to WordPress' own oEmbed endpoint URL. 2015-10-07 21:42:36 +00:00
option MS: Reject truthy, non-numeric network ids in _network_option(). 2015-10-11 23:29:55 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Unit Tests: upgrade the fixtures in Tests_Post_Revisions. 2015-10-15 06:31:16 +00:00
query Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
rest-api REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
rewrite Tests: Update Tests_Rewrite_AddRewriteRule->setUp() to use the new set_permalink_structure() helper. 2015-10-06 16:01:38 +00:00
term Unit Tests: wrestle performance out of Tests_Auth by cloning the same user for a majority of the tests. 2015-10-15 00:10:45 +00:00
theme Clean up 'post-thumbnail' theme support unit tests. 2014-11-01 04:00:59 +00:00
user Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
xmlrpc Create fewer fixtures in XML-RPC getComments tests. 2015-10-14 14:38:30 +00:00
actions.php Introduce doing_filter() and doing_action() to identify hooks in progress. 2014-02-26 18:43:59 +00:00
adminbar.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
auth.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
avatar.php Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
basic.php Unit Tests: move ->test_readme() out of Tests_Basic and into Tests_External_HTTP_Basic in tests/external-http/. 2015-10-15 00:22:50 +00:00
cache.php In cache tests, determine cache class name dynamically. 2015-10-13 02:06:19 +00:00
canonical.php Unit Tests: after [35186], "upgrade" the Canonical fixtures. 2015-10-15 05:50:40 +00:00
category.php Create fewer fixtures in some tests. 2015-10-14 21:23:03 +00:00
comment-submission.php Add missing unit tests from [34799]. 2015-10-03 15:09:57 +00:00
comment.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
compat.php WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion. 2015-05-06 02:59:50 +00:00
cron.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
db.php WPDB: Allow null values in the CRUD functions. 2015-10-01 05:36:15 +00:00
dbdelta.php Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
dependencies.php Remove tests for code still in development, see #22229. If accidentally run, they produce fatal errors. 2013-10-07 14:17:13 +00:00
file.php Tests: Clean up the resulting /tmp/foo* files from the tempnam call. 2015-03-31 02:10:52 +00:00
filters.php In remove_all_filters(), only remove callbacks that match the $priority parameter. 2014-12-31 19:06:29 +00:00
functions.php After [35122], update test_wp_unique_filename() to reflect the change. 2015-10-13 03:41:11 +00:00
kses.php KSES: have you ever heard of the <bdo> HTML tag? Same. http://www.w3schools.com/tags/tag_bdo.asp 2015-10-13 17:17:13 +00:00
l10n.php Remove failing is_textdomain_loaded() test. 2014-11-22 20:36:51 +00:00
link.php Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods. 2015-10-03 20:54:11 +00:00
mail.php Docs: Put "it's" in its place (again). 2015-09-16 12:45:51 +00:00
media.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
meta.php Update the tests for get_metadata() to reflect the revert in r30701. 2014-12-02 03:43:17 +00:00
multisite.php Initialise $_SERVER[ 'REMOTE_ADDR' ] during the test bootstrap so individual tests need not. 2015-09-15 08:04:33 +00:00
pluggable.php Improve [35146] to only skip pluggable function signature tests for wp-includes/cache.php when an external object cache is in use. 2015-10-13 20:44:16 +00:00
post.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
query.php Fix incorrect setup in 'tag' query var test. 2015-10-12 15:03:43 +00:00
rest-api.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
rewrite.php Rewrite/Permalinks/Canonical: in url_to_postid(), call set_url_scheme() on the URL to combat mixed content issues and find posts cross-scheme. 2015-10-07 01:06:58 +00:00
shortcode.php Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. 2015-10-08 03:11:59 +00:00
taxonomy.php Allow taxonomies to be non-public. 2015-09-16 19:04:57 +00:00
term.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
theme.php Themes: Get the correct theme when template and stylesheet were both passed as arguments. 2015-08-30 21:44:38 +00:00
upload.php wp_upload_dir() has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, tearDown() and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests. 2014-11-30 19:05:52 +00:00
url.php force_ssl_login() has been functionally identical to force_ssl_admin() since 4.0 (#10267), so its test assertions can be removed as the function has been deprecated in [34700]. The remaining assertions suitably cover force_ssl_admin(). 2015-09-29 21:43:04 +00:00
user.php Users: Add 'illegal_user_logins' filter to allow certain usernames to be blacklisted. 2015-10-15 05:42:05 +00:00
walker.php Add unit tests for Walker class. 2014-08-01 20:35:25 +00:00
widgets.php Widgets: after [35106], ensure that the widget required by the unit test is registered. 2015-10-13 02:35:47 +00:00