Changeset 833 in tests for trunk/wp-testlib/exceptions.php
- Timestamp:
- 07/01/2012 06:30:34 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-testlib/exceptions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-testlib/exceptions.php
r760 r833 4 4 5 5 } 6 7 /** 8 * Exception for cases of wp_die() 9 * This means there was an error (no output, and a call to wp_die) 10 * 11 * @package WordPress 12 * @subpackage Unit Tests 13 * @since 3.4.0 14 */ 15 class WPAjaxDieStopException extends Exception {} 16 17 /** 18 * Exception for cases of wp_die() 19 * This means execution of the ajax function should be halted, but the unit 20 * test can continue. The function finished normally and there was not an 21 * error (output happened, but wp_die was called to end execution) This is 22 * used with WP_Ajax_Response::send 23 * 24 * @package WordPress 25 * @subpackage Unit Tests 26 * @since 3.4.0 27 */ 28 class WPAjaxDieContinueException extends Exception {}
Note: See TracChangeset
for help on using the changeset viewer.