WordPress/wp-includes
Boone Gorges 2686db917a Improved handling of expectedDeprecated and expectedIncorrectUsage annotations in unit tests.
* Do the `expectedDeprecated()` check in `assertPostConditions()` instead of `tearDown()`. Previously, `fail`ing inside of `tearDown()` was causing the rest of the teardown process to be aborted, resulting in inter-test leakage.
* Collect all `expectedDeprecated` and `expectedIncorrectUsage` annotations in an entire method and display them all when `fail`ing, instead of showing only the first one.

Props jdgrimes.
Fixes #31362.
Built from https://develop.svn.wordpress.org/trunk@31469


git-svn-id: http://core.svn.wordpress.org/trunk@31450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-17 16:12:28 +00:00
..
2014-09-11 19:07:17 +00:00
2014-11-25 06:12:22 +00:00
2015-01-16 19:03:23 +00:00
2014-11-30 23:24:25 +00:00
2015-01-16 16:07:23 +00:00
2014-11-30 22:56:25 +00:00
2013-10-30 14:39:10 +00:00