Wordpress/tests/phpunit/tests
Andrew Nacin 7a3c12d985 Add a unit test for shortlinks of a page on front.
see #26871, see [27802].


git-svn-id: https://develop.svn.wordpress.org/trunk@27803 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:01:43 +00:00
..
actions
admin Always convert auto-drafts to drafts in edit_draft() and _wp_translate_postdata(). 2014-03-05 06:25:31 +00:00
ajax Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272. 2014-01-22 04:55:37 +00:00
attachment
canonical
comment Allow user_id to be an array of IDs in WP_Comment_Query. 2014-02-25 16:34:25 +00:00
dependencies 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
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
filesystem
formatting Remove select and input from wpautop()'s HTML blocks list. 2014-03-27 00:00:17 +00:00
functions Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
general Improve paginate_links() performance by not calling number_format_i18n() unnecessarily. Fixes #25735 with tests. Props johnpbloch. 2014-03-13 17:38:51 +00:00
http
image In multi_resize() image editor methods, assert that null can only be passed for one of the arguments, not both. Add a lot more unit test assertions to ensure this. 2014-03-27 20:39:08 +00:00
import Eliminate some of our last remaining create_function() instances 2014-03-03 16:20:12 +00:00
includes
meta When using meta_query in a WP_Query, passing NOT EXISTS or '' to compare should not require value to be set. The resulting SQL should then produce the appropriate OR clause for existence of non-existence after passing the query to the $key_only_queries stack internally. 2014-03-24 19:56:54 +00:00
option Transients: Allow a non-expiring transient to be updated with an expiry. 2014-03-25 18:22:49 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Use wp_parse_id_list() when parsing exclude_tree in get_pages(). Add unit tests to ensure a URL string, array with string as value, and array with array as value for exclude_tree can be used to specify multiple IDs. 2014-03-27 01:17:41 +00:00
query When using WP_Query's "fields" => "ids" (or "fields" => "id=>parent"), the returned values should be an array of integers, not array of integers represented by strings. 2014-03-24 18:54:38 +00:00
term Remove a cache-busting hack from Tests_Term_getTerms::test_get_terms_exclude_tree(). It is no longer necessary after #14485 and #25711. 2014-03-07 19:35:55 +00:00
theme WP_Theme: Return false from the display() method when get() fails. 2014-03-26 18:21:45 +00:00
user Fix a swath of broken unit tests from Tests_User_ListAuthors. 2014-03-24 16:52:38 +00:00
xmlrpc XML-RPC: In wp.editPost, Remove all terms in a taxonomy when an empty array is explicitly passed. 2014-03-15 05:08:40 +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 Move the trim() from wp_set_password() to inside wp_hash_password(). 2013-10-07 13:53:09 +00:00
basic.php Update package.json. props TobiasBg. fixes #26629. 2014-01-13 18:20:38 +00:00
cache.php
canonical.php Set the page_comments option to true in Tests_Canonical to properly check canonical redirection for paged comments. By doing so, one assertion tied to #20388 no longer needs to be. 2013-11-11 18:57:11 +00:00
comment.php
compat.php
cron.php
db.php Use ext/mysqli in PHP 5.5 or greater. Expect minor explosions. 2014-02-25 00:39:28 +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
filters.php
functions.php
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 Unit Tests: Add the ticket number to the new tests. See #26290 2013-11-27 14:47:03 +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 Add a unit test for shortlinks of a page on front. 2014-03-28 03:01:43 +00:00
mail.php
media.php Use Dashicon-style images for mime type icons. Actually moving to Dashicons via the font can be explored later, but has theme/plugin implications and requires too many changes to make it for 3.9. props melchoyce for the icons. fixes #26650. 2014-03-25 21:09:34 +00:00
meta.php Return false from metadata_exists() if the get_$type_metadata filter returns a false value. 2014-03-17 19:39:31 +00:00
ms.php Ensure the $path is trailing-slashed in domain_exists(). 2014-03-25 17:39:08 +00:00
post.php Popular tags' edit links should respect the current post type. Adds unit test. 2014-03-25 18:39:26 +00:00
query.php In WP_Query::get_queried_object(), account for pre_get_posts by checking for tag when tag_id isn't present. Tags still need to be rolled up into tax_query. Add a unit test confirming expected query vars during and after pre_get_posts. 2014-03-12 04:07:41 +00:00
rewrite.php Make url_to_postid() work for custom post type URLs. Use get_post_types() and get_taxonomies() instead of directly accessing globals. Adds unit test. 2013-10-02 19:41:19 +00:00
shortcode.php
taxonomy.php 3.7 regression from [25119]: Have in_category() return false when the first argument is empty. 2013-10-26 02:53:30 +00:00
term.php Move some cache related tests to the new term/cache.php from [27103]. 2014-02-06 05:19:05 +00:00
theme.php Add unit test to verify all bundled themes have valid text domain declared. 2013-12-12 00:36:27 +00:00
upload.php Restore @ticket reference. Reverts [26093], see #25913. 2013-12-03 03:57:24 +00:00
url.php Don't assume $GLOBALS['post'] is set in tests/url.php. 2013-09-12 05:52:53 +00:00
user.php Reinstate an assertion commented out in [25409]. This test is skipped due to @ticket anyway. see #25282. 2013-09-14 19:17:31 +00:00
widgets.php