Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding another group test case file for all the console tests at once.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |