diff --git a/cake/tests/cases/console/libs/tasks/view.test.php b/cake/tests/cases/console/libs/tasks/view.test.php index 4ab397ace..cea2a6838 100644 --- a/cake/tests/cases/console/libs/tasks/view.test.php +++ b/cake/tests/cases/console/libs/tasks/view.test.php @@ -46,7 +46,7 @@ require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php' Mock::generatePartial( - 'ShellDispatcher', 'TestTestTaskMockShellDispatcher', + 'ShellDispatcher', 'TestViewTaskMockShellDispatcher', array('getInput', 'stdout', 'stderr', '_stop', '_initEnvironment') ); Mock::generatePartial( @@ -102,7 +102,7 @@ class ViewTaskTest extends CakeTestCase { * @access public */ function startTest() { - $this->Dispatcher =& new TestTestTaskMockShellDispatcher(); + $this->Dispatcher =& new TestViewTaskMockShellDispatcher(); $this->Dispatcher->shellPaths = Configure::read('shellPaths'); $this->Task =& new MockViewTask($this->Dispatcher); $this->Task->Dispatch =& $this->Dispatcher; diff --git a/cake/tests/groups/bake.group.php b/cake/tests/groups/bake.group.php new file mode 100644 index 000000000..cdfadc3c2 --- /dev/null +++ b/cake/tests/groups/bake.group.php @@ -0,0 +1,60 @@ + + * 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'); + } +} +?> \ No newline at end of file