Wordpress/tests/phpunit/tests
Gary Pendergast ed53ad2c53 WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data.
See #32104.



git-svn-id: https://develop.svn.wordpress.org/trunk@32374 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 06:04:50 +00:00
..
actions
admin After [31114] and [31323], 'View Post' generated in `get_sample_permalink_html()` should go to pretty permalink. 2015-04-04 01:26:08 +00:00
ajax Pinking shears in unit test files. 2015-03-05 13:14:28 +00:00
attachment Fix typo in a comment in slashing tests. 2015-01-07 07:08:47 +00:00
canonical In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
category In `wp_list_categories()`, 'All' link should point to post type archive if taxonomy is not registered for 'post' or 'page'. 2015-04-24 14:56:37 +00:00
comment Improve method consistency in `WP_Comment_Query`. 2015-03-16 14:23:33 +00:00
customize Customizer: Return the original value when filtering theme mods/options and the current blog has changed. 2015-03-10 23:04:12 +00:00
date `WP_Date_Query` date validation should not fail for hour = 0. 2015-01-20 19:12:48 +00:00
db WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data. 2015-05-06 06:04:50 +00:00
dependencies Add emoji support, with Twemoji fallback. 2015-03-11 22:48:16 +00:00
feed Use shared fixtures in RSS2 unit tests. 2015-03-20 12:34:28 +00:00
filesystem
formatting Unit Tests: The `get_smilies_combinations` test was failing when the tests were run with a non-default domain. 2015-04-20 10:10:53 +00:00
functions Ignore case when checking string 'false' in `wp_validate_boolean()`. 2014-11-03 15:54:42 +00:00
general In `paginate_links()`, improve handling of custom pagination query vars. 2015-05-05 21:58:23 +00:00
http HTTP API: Fix an issue where the `limit_response_size` parameter wasn't working properly with large documents and the cURL transport. 2015-01-29 03:57:42 +00:00
image In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
import Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
includes Ensure that a request URL is always set in `WP_UnitTestCase::go_to()`. 2015-02-23 01:07:18 +00:00
link In `get_next_comments_link()`, ensure proper pagination when no 'cpage' query var is found. 2015-03-05 03:56:21 +00:00
meta Allow metadata to be deleted when meta_value matches 0 or '0'. 2015-05-01 16:37:35 +00:00
multisite Unit Tests added in [31970] need to be restricted to run in Multisite only. 2015-04-02 00:12:07 +00:00
option Allow `$autoload` setting to be changed for existing options using `update_option()`. 2015-03-06 13:56:44 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Unit tests for `get_page_children()`. 2015-05-05 19:36:46 +00:00
query Allow `is_page_template()` to accept an array, as many other conditional tags do. 2015-03-12 16:27:06 +00:00
rewrite Allow rewrite endpoints to be registered without also registering query vars. 2015-04-24 16:37:12 +00:00
term Improve sanitization of 'name' param in `get_terms()`. 2015-05-05 11:13:51 +00:00
theme Clean up 'post-thumbnail' theme support unit tests. 2014-11-01 04:00:59 +00:00
user Ensure that 'who' param is respected when generating meta_query in `WP_User_Query`. 2015-04-20 15:15:14 +00:00
xmlrpc Correctly set the post author in `wp_xmlrpc_server::mw_editPost()` when the current user is not the author of the post. 2015-04-02 15:48:41 +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
auth.php Type cast `$nonce` to string in `wp_verify_nonce()`. 2014-11-26 19:18:02 +00:00
avatar.php Fix a unit test after [31721]. 2015-03-11 20:11:38 +00:00
basic.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
cache.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
canonical.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
category.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
comment.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
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 queries to reference tables in the `dbname.tablename` format, and allow table names to contain any valid character, rather than just ASCII. 2015-05-06 05:00:39 +00:00
dbdelta.php When `dbDelta()` is checking whether an index is defined in a `CREATE TABLE` statement, don't worry if MySQL has a subpart defined on an index, but the `CREATE TABLE` doesn't. 2015-04-11 10:39:49 +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 Respect numerical keys in `add_query_arg()`, use `array_replace()` instead of `array_merge()`. 2015-04-01 19:14:46 +00:00
kses.php Make wp_kses_no_null() remove any invalid control characters in a string. 2014-07-01 18:00:50 +00:00
l10n.php Remove failing `is_textdomain_loaded()` test. 2014-11-22 20:36:51 +00:00
link.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
mail.php Improve handling of incomplete From and Content-Type headers in `wp_mail()`. 2015-04-07 20:09:46 +00:00
media.php youtube.com oEmbed test should always expect HTTPS. 2015-05-05 21:30:57 +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 Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
post.php Emoji: Fix a unit test which was incorrectly failing after [31926] fixed emoji being incorrectly encoded. 2015-03-31 09:36:29 +00:00
query.php Tests for some existing 'orderby' functionality in `WP_*_Query` classes. 2015-03-07 15:44:28 +00:00
rewrite.php Allow rewrite endpoints to be registered without also registering query vars. 2015-04-24 16:37:12 +00:00
shortcode.php In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. 2015-03-05 13:14:15 +00:00
taxonomy.php Use more descriptive names for `register_post_type()` and `register_taxonomy()` tests with too long and too short names. 2015-02-13 23:33:56 +00:00
term.php Move and tests to their own files. 2015-03-18 13:27:15 +00:00
theme.php Fix formatting in [29946]. 2014-10-17 22:14:49 +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 In `get_adjacent_post()`, return private post if the current user has the capacity to read it. 2015-01-30 02:19:46 +00:00
user.php When updating the email address for an existing user, make sure the email address is not already in use. 2015-04-01 18:22:16 +00:00
walker.php Add unit tests for `Walker` class. 2014-08-01 20:35:25 +00:00
widgets.php