Changeset 47041 for trunk/tests/phpunit/includes/exceptions.php
- Timestamp:
- 01/05/2020 03:31:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/exceptions.php
r46586 r47041 6 6 7 7 /** 8 * General exception for wp_die() 8 * General exception for wp_die(). 9 9 */ 10 10 class WPDieException extends Exception {} 11 11 12 12 /** 13 * Exception for cases of wp_die(), for ajax tests. 14 * This means there was an error (no output, and a call to wp_die) 13 * Exception for cases of wp_die(), for Ajax tests. 14 * 15 * This means there was an error (no output, and a call to wp_die). 15 16 * 16 17 * @package WordPress … … 21 22 22 23 /** 23 * Exception for cases of wp_die(), for ajax tests.24 * This means execution of the ajax function should be halted, but the unit25 * test can continue. The function finished normally and there was not an26 * error (output happened, but wp_die was called to end execution) This is27 * used with WP_Ajax_Response::send24 * Exception for cases of wp_die(), for Ajax tests. 25 * 26 * This means the execution of the Ajax function should be halted, but the unit test 27 * can continue. The function finished normally and there was no error (output happened, 28 * but wp_die was called to end execution). This is used with WP_Ajax_Response::send(). 28 29 * 29 30 * @package WordPress
Note: See TracChangeset
for help on using the changeset viewer.