Wordpress/tests/phpunit/tests
Andrew Nacin e3345398aa Rename the public methods in the session tokens API.
Introduces a new get( $token ) method. get_token() would not have made sense and spurred the overall renaming. Public methods are now get, get_all, verify, create, update, destroy, destroy_others, and destroy_all.

The protected abstract methods designed for alternative implementations remain the same.

props mdawaffe.
see #20276.


git-svn-id: https://develop.svn.wordpress.org/trunk@29635 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 02:06:53 +00:00
..
actions
admin
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
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 Use assertEqualSets() instead of direct array comparison. 2014-07-13 11:27:07 +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
feed
filesystem
formatting Tests Autop: remove <option> from the list of inline tags. It is valid only in specific context (<select>, <optgroup> or <datalist>) and should not be wrapped in <p>. Props kovshenin, fixes #28217. 2014-07-29 19:02:36 +00:00
functions Remove unit test for `is_https_url()`, see [29309]. 2014-07-27 17:18:19 +00:00
general
http 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
image 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
import
includes
meta
option
pomo
post 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
query Add support for a full path parameter to `is_page()` and `is_single()`. Props Jesper800, engelen, johnbillion. Fixes #16802. 2014-07-09 16:03:17 +00:00
term
theme Call `untrailingslashit()` when adding a theme directory in `register_theme_directory()`. This prevents double-slashing in generated URLs. Don't add a directory if it is already present. 2014-07-19 23:06:54 +00:00
user Rename the public methods in the session tokens API. 2014-08-27 02:06:53 +00:00
xmlrpc XMLRPC: Restore support in wp.newPost for dates to be supplied in the structured dateTime.iso8601 format as well as still supporting dates specified as strings. 2014-07-10 14:16:20 +00:00
actions.php
adminbar.php
auth.php Require a non-empty $nonce value in wp_verify_nonce(). 2014-08-26 07:38:51 +00:00
basic.php
cache.php
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
comment.php
compat.php
cron.php
db.php
dependencies.php
file.php
filters.php After [28883], ensure that priorities have callbacks before returning `true` in `has_filter()`. 2014-08-07 02:29:15 +00:00
functions.php Update unit tests for `sanitize_file_name()` after [29290]. 2014-08-01 18:29:46 +00:00
iterators.php
kses.php
l10n.php
link.php In `get_adjacent_post()`, make `$excluded_terms` work as expected. 2014-07-19 22:26:43 +00:00
mail.php
media.php Fix expected value in `Tests_Media::test_video_shortcode_body()`. 2014-08-17 11:48:03 +00:00
meta.php After [29339] and [29341], add more unit tests and less ambiguous type-checking before bailing in meta-related functions that expect a numeric value for `$object_id`. 2014-08-06 22:07:42 +00:00
ms.php Ensure that `$wpdb` is imported in `Tests_MS::_setup_host_request`. 2014-08-20 17:13:04 +00:00
post.php Consolidate some of the test functions added in [29344]. 2014-08-01 21:06:49 +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
term.php Avoid a race condition when multiple windows are open so that orphaned terms cannot be created by accident. 2014-07-16 21:51:40 +00:00
theme.php
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
user.php Account for `WP_IMPORTING` being defined in the unit tests added in [29339] when all tests are run. 2014-08-01 18:27:16 +00:00
walker.php Add unit tests for `Walker` class. 2014-08-01 20:35:25 +00:00
widgets.php