Wordpress/tests/phpunit/tests
Konstantin Obenland a9ca47a7be Site Icon: Unit tests for WP_Site_Icon and its API.
Props obenland, jorbin.
See #16434.



git-svn-id: https://develop.svn.wordpress.org/trunk@33181 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 20:06:10 +00:00
..
actions
admin Disallow post slugs that will result in permalinks that conflict with date archive URLs. 2015-05-29 12:52:17 +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 In WP_Comment_Query, parse meta_query vars after the pre_get_comments hook. 2015-06-23 14:35:29 +00:00
customize Customizer: Remove additional wrapper element around wp_nav_menu() which broke some theme designs. 2015-07-08 21:29:53 +00:00
date WP_Date_Query date validation should not fail for hour = 0. 2015-01-20 19:12:48 +00:00
db Correct a unit test name. 2015-06-17 23:09:28 +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
feed Use shared fixtures in RSS2 unit tests. 2015-03-20 12:34:28 +00:00
filesystem
formatting Revert [32851] and [32850] for now, tl;dr encoding issues. 2015-07-09 20:55:26 +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 WP_HTTP: ensure that the temporary file is created within the temporary directly when stream is specified without a filename parameter. 2015-06-09 03:54:49 +00:00
image Site Icon: Unit tests for WP_Site_Icon and its API. 2015-07-12 20:06:10 +00:00
import Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
includes Term unit test factory class should override create_and_get() method. 2015-05-30 13:03:07 +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 Avoid returning duplicate matches when using a meta query in WP_User_Query. 2015-06-09 17:41:35 +00:00
multisite Usernames in multisite should be restricted to 60 characters or fewer. 2015-07-04 05:52:46 +00:00
option Skip the Tests_Option_Transient::test_nonexistent_key_old_timeout() tests on multisite for now. 2015-07-08 18:23:46 +00:00
pomo
post Fix Tests_Post_GetPostClass::test_taxonomy_classes_hit_cache() after [32994]. 2015-06-29 14:31:52 +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 When parsing what appears to be a date archive request, check for a post with a clashing permalink before resolving to the archive. 2015-05-29 13:09:26 +00:00
template Site Icon: Unit tests for WP_Site_Icon and its API. 2015-07-12 20:06:10 +00:00
term Don't allow $field param to be passed to get_term_link(). 2015-07-01 12:53:05 +00:00
theme Clean up 'post-thumbnail' theme support unit tests. 2014-11-01 04:00:59 +00:00
user Do not allow deletion of a super admin user through wpmu_delete_user(). 2015-07-09 16:15:30 +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
adminbar.php
auth.php Expire password reset links after 24 hours (by default). This causes existing password reset links to become invalid. 2015-07-01 06:32:07 +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 Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages. 2015-06-24 00:40:45 +00:00
category.php In category dropdown, 'selected' should match against 'value_field'. 2015-05-11 13:10:19 +00:00
comment.php Allow 'comment_agent' and 'comment_author_IP' to be set via wp_new_comment(). 2015-07-01 12:07:28 +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 Add dbDelta insert test 2015-07-12 17:28:15 +00:00
dependencies.php
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 Add unit test asserting that serializable objects will never pass is_serialized(). see #17375. 2015-05-28 05:22:14 +00:00
kses.php Don't strip \0 (backslash+zero) from post content for users without "unfiltered_html" 2015-06-19 18:46:11 +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 Update PHPMailer to 5.2.10 from 5.2.7. 2015-07-08 17:15:02 +00:00
media.php YouTube oEmbed parsing: support the m subdomain. 2015-06-24 21:05:59 +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 Improve tests for is_email_address_unsafe(). 2015-05-28 16:05:30 +00:00
post.php Check for all required caps before (un)sticking a post. 2015-07-06 22:40:59 +00:00
query.php Use assertEqualSets() in WP_Query::parse_tax_query() tests. 2015-07-07 00:57:04 +00:00
rewrite.php Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages. 2015-06-24 00:40:45 +00:00
shortcode.php Allow shortcode parameter names (attributes) to contain dashes. 2015-07-07 23:58:49 +00:00
taxonomy.php Filter out empty object_types in register_taxonomy_for_object_type(). 2015-06-08 19:44:32 +00:00
term.php Improve unit tests for wp_unique_term_slug(). 2015-05-15 20:37:51 +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 In wp_insert_user(), comparing an email address against the user's old email address should not be case-sensitive. 2015-07-07 19:28:46 +00:00
walker.php
widgets.php Add support for WP_Widget::get_settings() returning ArrayIterator/ArrayObject instances. 2015-05-26 16:50:03 +00:00