wordpress-develop/tests/phpunit/tests
Boone Gorges a3e0c08f2f Introduce nested query support to WP_Date_Query.
This enhancement makes it possible to filter post, comment, and other queries
by date in ways that are arbitrarily complex, using mixed AND and OR relations.

Includes unit tests for the new syntax. In a few places, the existing unit
tests were slightly too strict (such as when checking the exact syntax of a SQL
string); these existing tests have been narrowed.

Props boonebgorges.
Fixes #29822.

git-svn-id: https://develop.svn.wordpress.org/trunk@29923 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-16 19:33:24 +00:00
..
actions Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
admin Update unit tests to reflect: 2014-06-09 15:58:16 +00:00
ajax Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
attachment Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
canonical Setup rewrite changes in tests in a predictable fashion. Don't mix method calls with wrapper function calls. 2014-07-03 01:42:57 +00:00
comment WP_Comment_Query: comment__in, comment__not_in, post__in, post__not_in. 2014-10-02 01:40:56 +00:00
date Introduce nested query support to WP_Date_Query. 2014-10-16 19:33:24 +00:00
dependencies wp_script_is( ..., 'enqueued' ) needs to check dependencies recursively - a single item's dependencies may only be a subset of the full dependency tree. Adds a new method on WP_Dependencies called ->recurse_deps(). 2014-07-20 00:28:57 +00:00
export When setting WP_TESTS_FORCE_KNOWN_BUGS to true, it is preferable that some forced tests are still skipped when they call classes or functions that do not exist, producing fatal errors. 2013-11-25 22:49:51 +00:00
feed Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
filesystem Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
formatting Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
functions Remove unit test for is_https_url(), see [29309]. 2014-07-27 17:18:19 +00:00
general Fix Tests_Paginate_Links tests by properly setting up / tearing down permalink structure. 2014-10-16 04:22:16 +00:00
http Add some unit tests for WP_HTTP::parse_url() to cover the <PHP 5.4.7 compatibility alterations. 2014-10-09 03:00:16 +00:00
image Fix setting default quality in WP_Image_Editor. 2014-10-04 13:11:38 +00:00
import Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
includes Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
meta Introduce support for nested queries in WP_Meta_Query. 2014-10-13 22:02:18 +00:00
multisite Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
option Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Avoid redundant table joins in WP_Tax_Query. 2014-10-15 16:39:19 +00:00
query Introduce nested query support to WP_Date_Query. 2014-10-16 19:33:24 +00:00
term Cache get_term_by() calls: 2014-10-16 04:44:13 +00:00
theme Fix theme support unit test added in [27220]. 2014-10-14 19:54:03 +00:00
user Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
xmlrpc Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
auth.php Require a non-empty $nonce value in wp_verify_nonce(). 2014-08-26 07:38:51 +00:00
basic.php Adds a unit test to demonstrate that the order of case and default in a switch statement does not matter. 2014-05-30 17:31:51 +00:00
cache.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
canonical.php Setup rewrite changes in tests in a predictable fashion. Don't mix method calls with wrapper function calls. 2014-07-03 01:42:57 +00:00
category.php Update unit tests to reflect: 2014-06-09 15:58:16 +00:00
comment.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
compat.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
cron.php Pass $args as an array, rather than a splat, to wp_clear_scheduled_hook(). There are comments in the code describing the deprecated argument behavior. 2013-09-11 22:21:43 +00:00
db.php Properly suppress errors in test_empty_where_on_update(), which expects an empty WHERE clause. 2014-09-04 04:30:11 +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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
filters.php Unit tests for has_filter() not resetting the array pointer. 2014-09-02 06:49:11 +00:00
functions.php wp_extract_urls() needs to also grab URLs with query strings and hashes. 2014-09-23 02:49:22 +00:00
iterators.php When setting WP_TESTS_FORCE_KNOWN_BUGS to true, it is preferable that some forced tests are still skipped when they call classes or functions that do not exist, producing fatal errors. 2013-11-25 22:49:51 +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 Revert [25405] and use a file that does exist. see #25282. 2013-09-12 17:47:40 +00:00
link.php In get_adjacent_post(), make $excluded_terms work as expected. 2014-07-19 22:26:43 +00:00
mail.php Avoid a notice and clean up setting/unsetting of globals by moving them into setUp() and tearDown() methods in Tests_Mail. 2013-09-12 04:46:49 +00:00
media.php Ensure themes don't have to call add_image_size() to be used in unit tests. 2014-10-11 04:22:11 +00:00
meta.php Use the primary meta_query clause when parsing orderby in WP_Query. 2014-10-08 15:11:14 +00:00
multisite.php Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
post.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:36:38 +00:00
query.php Make sure permalink structure is consistent when running query tests. 2014-07-03 01:50:02 +00:00
rewrite.php Setup rewrite changes in tests in a predictable fashion. Don't mix method calls with wrapper function calls. 2014-07-03 01:42:57 +00:00
shortcode.php Make has_shortcode() recursive/work for nested shortcodes. 2014-07-16 22:04:08 +00:00
taxonomy.php Improve unit test coverage for wp_insert_term(). 2014-10-03 13:30:22 +00:00
term.php Improve unit test coverage for wp_update_term(). 2014-10-11 04:36:44 +00:00
theme.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:57:13 +00:00
upload.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
url.php Forcing SSL logins now forces SSL for the entire admin, with no middle ground. 2014-05-29 03:58:41 +00:00
user.php Always sanitize user_nicename in wp_insert_user(). 2014-10-02 18:53:24 +00:00
walker.php Add unit tests for Walker class. 2014-08-01 20:35:25 +00:00
widgets.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00