Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing ViewTask test case in Group context.
Adding Group test for bake tasks
- Loading branch information
Showing
2 changed files
with
62 additions
and
2 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,60 @@ | |||
<?php | |||
/* SVN FILE: $Id$ */ | |||
/** | |||
* Bake Group test file | |||
* | |||
* Run all the test cases related to bake. | |||
* | |||
* PHP versions 4 and 5 | |||
* | |||
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> | |||
* Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | |||
* | |||
* Licensed under The Open Group Test Suite License | |||
* Redistributions of files must retain the above copyright notice. | |||
* | |||
* @filesource | |||
* @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | |||
* @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests | |||
* @package cake | |||
* @subpackage cake.tests.groups | |||
* @since CakePHP(tm) v 1.2.0.4206 | |||
* @version $Revision$ | |||
* @modifiedby $LastChangedBy$ | |||
* @lastmodified $Date$ | |||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License | |||
*/ | |||
/** | |||
* BakeGroupTest class | |||
* | |||
* This test group will run all bake tests | |||
* | |||
* @package cake | |||
* @subpackage cake.tests.groups | |||
*/ | |||
class BakeGroupTest extends GroupTest { | |||
/** | |||
* label property | |||
* | |||
* @var string 'All core cache engines' | |||
* @access public | |||
*/ | |||
var $label = 'All Tasks related to bake.'; | |||
/** | |||
* BakeGroupTest method | |||
* | |||
* @access public | |||
* @return void | |||
*/ | |||
function BakeGroupTest() { | |||
$path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS; | |||
TestManager::addTestFile($this, $path . 'controller'); | |||
TestManager::addTestFile($this, $path . 'model'); | |||
TestManager::addTestFile($this, $path . 'view'); | |||
TestManager::addTestFile($this, $path . 'fixture'); | |||
TestManager::addTestFile($this, $path . 'test'); | |||
TestManager::addTestFile($this, $path . 'db_config'); | |||
TestManager::addTestFile($this, $path . 'project'); | |||
} | |||
} | |||
?> |