Wordpress/tests/phpunit/tests
Andrew Nacin f8af178264 Use ext/mysqli in PHP 5.5 or greater. Expect minor explosions.
props aaroncampbell, pento.
see #21663.


git-svn-id: https://develop.svn.wordpress.org/trunk@27250 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:39:28 +00:00
..
actions Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
admin Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799. 2013-11-28 05:09:06 +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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
canonical Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
comment Add Unit Tests for get_comment_pages_count(). Fix a notice caused when $wp_query->comments is not set in that function. 2014-01-29 05:16:58 +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 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 Consolidate handling of <object>, <audio> and <video> in wpautop() and add unit tests for them. Part props wonderboymusic, see #26864 2014-02-05 00:45:53 +00:00
functions Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
general Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
http WP_HTTP: Replacing the Fsockopen & Streams Transports with a new Streams transport which fully supports HTTPS communication. 2013-09-04 04:48:21 +00:00
image Unit Tests: Avoid using mime_content_type() as it fails miserably in PHP 5.2. 2013-12-05 23:36:50 +00:00
import Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includes Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
meta Produce proper CAST for DECIMAL and NUMERIC in Meta Query. Adds a bunch of unit tests. 2013-11-08 23:10:41 +00:00
option Mark test skipped when not in multisite. See #25883. 2013-11-21 19:13:53 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Don't iterate over $wp_query->posts in update_post_thumbnail_cache() if it is empty. Adds unit tests. 2014-02-12 04:48:14 +00:00
query Add some more assertions to Tests_Query_Conditionals, specifically for is_single(), is_page(), and is_attachment(). 2014-02-17 22:10:57 +00:00
term Add @ticket references. see #26903. 2014-02-20 02:20:40 +00:00
theme Remove theme support for 'menus' in unregister_nav_menu() when there are no more menus. 2014-02-21 18:13:52 +00:00
user Make WP_User_Query::prepare_query() public by allowing it to be passed an array of args. Previously, if the WP_User_Query constructor was not passed args, the object was basically unusable. Adds unit tests, all other tests pass. 2014-02-17 21:40:04 +00:00
xmlrpc Fix a failing unit test: an XML-RPC unit test for getPosts with filters was failing. The cause of the failure: a set of posts was created with create_many() and then paginated results were requested. The paginated results were meant to equal the original resultset when diff'd after all pages were joined. create_many() was assigning the same timestamp to all posts, so the LIMIT clause in the generated SQL was not operating as expected. I replaced the create_many() call with a create() loop that increments time by 1 each time. Unit test now passes. 2013-11-11 17:45:36 +00:00
actions.php Fix the PHP 5.4 Only variables should be passed by reference notices in tests/action.php. 2013-09-12 03:53:56 +00:00
adminbar.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
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 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 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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
filters.php Fix the PHP 5.4 Only variables should be passed by reference notices in tests/filters.php. 2013-09-12 04:16:59 +00:00
functions.php Replace the ancient phpfreaks.com RegEx to extract urls to ping with a more robust matcher. URLs with commas and things like &amp; were not being pinged. The new matcher even works for most IDN URLs. Adds unit tests. 2013-09-10 03:17:51 +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 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 $taxonomy argument to each of the adjacent post functions. 2013-10-27 21:39:51 +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 Add remove_image_size() and tests for it and has_image_size(), added in [27128]. 2014-02-08 00:40:15 +00:00
meta.php In update_meta_cache(), ensure that meta is always stored in the same order. Removes an unnecessary $wpdb->prepare statement. Adds unit test. 2013-11-21 19:30:35 +00:00
ms.php Multisite: Add get_network_by_path() and wp_get_network() to begin cleanup of multisite load. 2014-02-13 23:06:12 +00:00
post.php Properly invalidate the cache for wp_count_posts() on insert, trash, or when transitioning post_status inside of _transition_post_status(). Introduces _count_posts_cache_key(). Adds unit tests. 2014-02-03 19:41:40 +00:00
query.php Fix an error in SQL generation when perm is set and an array is passed for post_status. Adds unit test. 2014-02-02 07:35:54 +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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00