Wordpress/tests/phpunit/tests
Andrew Ozz 01e9de382e Responsive images:
- Fix `_wp_upload_dir_baseurl()` to cache by blog_id.
- Replace `path_join()` with `trailingslashit()`, it's much faster.
- Rename $image_url to $image_src for consistency (used at about 50 other places).
- Couple of tests fixes.

See #34430.

git-svn-id: https://develop.svn.wordpress.org/trunk@35498 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-04 00:21:23 +00:00
..
actions
admin Unit Tests: better fixtures for Tests_Admin_Includes_Post. 2015-10-17 19:47:07 +00:00
ajax AJAX UNIT TESTS: Have you ever wondered why these take 600 forevers to run? They all eventually call do_action( 'admin_init' ), which has _maybe_update_core, _maybe_update_plugins, and _maybe_update_themes hooked to it. REMOVE THEM, and AJAX unit tests run like the wind. Tests_Ajax_Response is still slow. 2015-10-21 03:17:36 +00:00
attachment Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
canonical
category
comment Don't force comment pagination. 2015-10-21 16:25:31 +00:00
customize Customize: Return user to referring URL when leaving Customizer in absence of return query param. 2015-11-01 06:39:50 +00:00
date
db
dependencies
external-http
feed
filesystem
formatting Formatting: wp_make_link_relative() should return an empty string if no path is present in the link. 2015-11-03 21:35:17 +00:00
functions
general Tests: Use most specific function for document titles. 2015-10-21 16:54:53 +00:00
http WP_HTTP: Promote the WP_HTTP::parse_url() method to a more generic wp_parse_url() function. 2015-10-23 05:53:05 +00:00
image Remove the explicit Imagick extension test. 2015-10-21 22:40:48 +00:00
import
includes
link
meta Unit Tests: better fixtures for Tests_Meta_Slashes and Tests_WP_Customize_Section. 2015-10-17 21:28:43 +00:00
multisite Ensure that the scheme used in the URL returned by get_blogaddress_by_id() always reflects the blog's URL, instead of using http. 2015-10-30 02:01:32 +00:00
oembed Embeds: In get_post_embed_html(), move the optional $post argument after the required $width and $height. 2015-10-31 15:50:23 +00:00
option Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
pomo
post Media: add a new image size, medium_large. Bumps db version to add new options. 2015-10-31 20:49:26 +00:00
query Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
rest-api
rewrite Some cleanup that was missed in [35259]. 2015-10-18 06:25:25 +00:00
term Tests: Add some more test coverage for get_term_field(). 2015-10-19 03:28:49 +00:00
theme
user Unit Tests: better fixtures for Tests_User_WpSetCurrentUser. 2015-10-17 21:18:38 +00:00
xmlrpc XMLRPC: Prevent authentication from occuring after a failed authentication attmept in any single XML-RPC call. 2015-10-23 04:45:10 +00:00
actions.php
adminbar.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
auth.php
avatar.php
basic.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
cache.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
canonical.php
category.php
comment-submission.php Correctly populate the user_id field for comments when a user submits a comment while logged in. 2015-10-29 21:28:39 +00:00
comment.php Comments: don't auto-close comments on draft posts. 2015-10-31 20:12:16 +00:00
compat.php
cron.php
db.php
dbdelta.php Upgrades: Add support for FULLTEXT indexes to dbDelta(). 2015-11-01 23:09:49 +00:00
dependencies.php
file.php
filters.php
functions.php Formatting: when making unique filenames in wp_unique_filename() by adding an incrementing number, prefix it with a dash to disambiguate from files that end in numbers. 2015-10-20 04:04:26 +00:00
kses.php
l10n.php
link.php Formatting: wp_make_link_relative() should return an empty string if no path is present in the link. 2015-11-03 21:35:17 +00:00
mail.php Initialise $_SERVER['SERVER_NAME'] during the test bootstrap to avoid individual tests having to do it. 2015-10-21 23:51:45 +00:00
media.php Responsive images: 2015-11-04 00:21:23 +00:00
meta.php
multisite.php
pluggable.php
post.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
query.php
rest-api.php Force the REST API URL to use https for its scheme when the current request is served over HTTPS and the host name matches that of the REST API URL. 2015-10-22 00:07:36 +00:00
rewrite.php Move the test_is_home_should_be_false_when_visiting_custom_endpoint_without_a_registered_query_var_and_page_on_front_is_set() test into a more appropriate place. 2015-10-18 01:34:29 +00:00
shortcode.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
taxonomy.php Prevent non-public taxonomies from registering aquery var. 2015-10-21 16:53:51 +00:00
term.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
theme.php
upload.php
url.php
user.php Users: when calling wp_insert_user() with an valid user ID, return WP_Error instead of arbitrarily updating user meta. 2015-10-20 05:27:32 +00:00
walker.php
widgets.php Widgets: Modify unit test assertion to be compatible with widget_nav_menu option being filtered by plugin to return ArrayIterator. 2015-10-19 21:26:24 +00:00