mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding another group test case file for all the console tests at once.
This commit is contained in:
parent
fff8279c2b
commit
6d54202c4c
1 changed files with 46 additions and 0 deletions
46
cake/tests/cases/console/all_console.test.php
Normal file
46
cake/tests/cases/console/all_console.test.php
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* AllConsoleTest 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)
|
||||
*/
|
||||
|
||||
/**
|
||||
* AllConsoleTest class
|
||||
*
|
||||
* This test group will run all console classes.
|
||||
*
|
||||
* @package cake
|
||||
* @subpackage cake.tests.cases.console
|
||||
*/
|
||||
class AllConsoleTest extends PHPUnit_Framework_TestSuite {
|
||||
|
||||
/**
|
||||
* suite method, defines tests for this suite.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function suite() {
|
||||
$suite = new CakeTestSuite('All console classes');
|
||||
|
||||
$path = CORE_TEST_CASES . DS . 'console' . DS;
|
||||
|
||||
$suite->addTestFile($path . 'all_console_libs.test.php');
|
||||
$suite->addTestFile($path . 'all_shells.test.php');
|
||||
$suite->addTestFile($path . 'all_tasks.test.php');
|
||||
return $suite;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue