comparison cake/tests/groups/bake.group.php @ 0:261e66bd5a0c

hg init
author Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Jul 2011 21:08:31 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:261e66bd5a0c
1 <?php
2 /**
3 * Bake Group test file
4 *
5 * Run all the test cases related to bake.
6 *
7 * PHP versions 4 and 5
8 *
9 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
10 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
11 *
12 * Licensed under The Open Group Test Suite License
13 * Redistributions of files must retain the above copyright notice.
14 *
15 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
17 * @package cake
18 * @subpackage cake.tests.groups
19 * @since CakePHP(tm) v 1.3
20 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
21 */
22
23 /**
24 * BakeGroupTest class
25 *
26 * This test group will run all bake tests
27 *
28 * @package cake
29 * @subpackage cake.tests.groups
30 */
31 class BakeGroupTest extends TestSuite {
32
33 /**
34 * label property
35 *
36 * @var string 'All core cache engines'
37 * @access public
38 */
39 var $label = 'All Tasks related to bake.';
40
41 /**
42 * BakeGroupTest method
43 *
44 * @access public
45 * @return void
46 */
47 function BakeGroupTest() {
48 $path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS;
49 TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake');
50 TestManager::addTestFile($this, $path . 'controller');
51 TestManager::addTestFile($this, $path . 'model');
52 TestManager::addTestFile($this, $path . 'view');
53 TestManager::addTestFile($this, $path . 'fixture');
54 TestManager::addTestFile($this, $path . 'test');
55 TestManager::addTestFile($this, $path . 'db_config');
56 TestManager::addTestFile($this, $path . 'plugin');
57 TestManager::addTestFile($this, $path . 'project');
58 }
59 }