Current Path : /storage/v11800/testtest/public_html/wp-content/plugins/woo-razorpay/tests/phpunit/includes/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/testtest/public_html/wp-content/plugins/woo-razorpay/tests/phpunit/includes/exceptions.php |
<?php
class WP_Tests_Exception extends PHPUnit_Framework_Exception {
}
/**
* General exception for wp_die().
*/
class WPDieException extends Exception {}
/**
* Exception for cases of wp_die(), for Ajax tests.
*
* This means there was an error (no output, and a call to wp_die).
*
* @package WordPress
* @subpackage Unit Tests
* @since 3.4.0
*/
class WPAjaxDieStopException extends WPDieException {}
/**
* Exception for cases of wp_die(), for Ajax tests.
*
* This means the execution of the Ajax function should be halted, but the unit test
* can continue. The function finished normally and there was no error (output happened,
* but wp_die was called to end execution). This is used with WP_Ajax_Response::send().
*
* @package WordPress
* @subpackage Unit Tests
* @since 3.4.0
*/
class WPAjaxDieContinueException extends WPDieException {}