Go to file
Andrew Nacin d5d476974e Test framework: Introduce the annotation @expectedDeprecated, modeled after PHPUnit's @expectedException.
It works for both functions and arguments (using the value of the first argument passed to _deprecated_function() or _deprecated_argument(), which is typically the function name). It asserts both ways:
 * If specified, those deprecated notices must be caught, or the test fails.
 * If not specified, any other deprecated notices cause the test to fail.

Works regardless of WP_DEBUG.
see #25282.


git-svn-id: https://develop.svn.wordpress.org/trunk@25408 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-12 18:37:00 +00:00
src Twenty Fourteen: fix comment for `twentyfourteen_excerpt_length()`, props SergeyBiryukov. Fixes #25297. 2013-09-12 17:43:23 +00:00
tests Test framework: Introduce the annotation @expectedDeprecated, modeled after PHPUnit's @expectedException. 2013-09-12 18:37:00 +00:00
tools/i18n Remove lingering instances of call time pass-by-reference, limited to instances of `callable` - use `$this` instead of `&$this`. 2013-09-05 16:33:50 +00:00
.gitignore Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
Gruntfile.js Use matchdep for Grunt tasks. 2013-09-04 20:50:29 +00:00
package.json Use matchdep for Grunt tasks. 2013-09-04 20:50:29 +00:00
phpunit.xml.dist Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
wp-config-sample.php Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
wp-tests-config-sample.php Change DB_NAME in wp-tests-config-sample.php to be something other than the placeholder in wp-config-sample.php. 2013-09-03 23:59:26 +00:00