Wordpress/tests
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
..
phpunit Test framework: Introduce the annotation @expectedDeprecated, modeled after PHPUnit's @expectedException. 2013-09-12 18:37:00 +00:00
qunit Whitespace cleanup for password strength meter tests. props TobiasBg. fixes #25088. 2013-09-06 10:56:01 +00:00