mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
284a8db3f4
Moving error handling test cases into a directory that matches the one in libs. Updating imports.
45 lines
1.2 KiB
PHP
45 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* AllErrorTest file
|
|
*
|
|
* PHP 5
|
|
*
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistributions of files must retain the above copyright notice.
|
|
*
|
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
|
* @package cake
|
|
* @subpackage cake.tests.cases
|
|
* @since CakePHP(tm) v 2.0
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
*/
|
|
|
|
/**
|
|
* AllErrorTest class
|
|
*
|
|
* This test group will run error handling related tests.
|
|
*
|
|
* @package cake
|
|
* @subpackage cake.tests.groups
|
|
*/
|
|
class AllErrorTest extends PHPUnit_Framework_TestSuite {
|
|
|
|
/**
|
|
* suite method, defines tests for this suite.
|
|
*
|
|
* @return void
|
|
*/
|
|
public static function suite() {
|
|
$suite = new PHPUnit_Framework_TestSuite('All Error handling tests');
|
|
|
|
$libs = CORE_TEST_CASES . DS . 'libs' . DS;
|
|
|
|
$suite->addTestFile($libs . 'error' . DS . 'error_handler.test.php');
|
|
$suite->addTestFile($libs . 'error' . DS . 'exception_renderer.test.php');
|
|
return $suite;
|
|
}
|
|
}
|