cakephp2-php8/cake/tests/groups/bake.group.php

60 lines
1.7 KiB
PHP
Raw Normal View History

<?php
/**
* Bake Group test file
*
* Run all the test cases related to bake.
*
* PHP versions 4 and 5
*
2010-05-19 01:15:13 +00:00
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
2011-05-31 02:46:14 +00:00
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The Open Group Test Suite License
* Redistributions of files must retain the above copyright notice.
*
2011-05-31 02:46:14 +00:00
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
2010-05-19 01:15:13 +00:00
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
* @package cake
* @subpackage cake.tests.groups
* @since CakePHP(tm) v 1.3
* @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 TestSuite {
/**
* 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, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake');
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 . 'plugin');
TestManager::addTestFile($this, $path . 'project');
}
}