mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
adding configure group test and fixing view group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6160 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
939abab66c
commit
c4eb4caef8
2 changed files with 49 additions and 4 deletions
45
cake/tests/groups/configure.group.php
Normal file
45
cake/tests/groups/configure.group.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/* SVN FILE: $Id$ */
|
||||
/**
|
||||
* Short description for file.
|
||||
*
|
||||
* Long description for file
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
|
||||
* Copyright 2005-2007, Cake Software Foundation, Inc.
|
||||
* 1785 E. Sahara Avenue, Suite 490-204
|
||||
* Las Vegas, Nevada 89104
|
||||
*
|
||||
* Licensed under The Open Group Test Suite License
|
||||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @filesource
|
||||
* @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
|
||||
* @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
|
||||
* @package cake.tests
|
||||
* @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
|
||||
*/
|
||||
/** ConfigureGroupTest
|
||||
*
|
||||
* This test group will run all test for the configure and loader.
|
||||
*
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.groups
|
||||
*/
|
||||
class ConfigureGroupTest extends GroupTest {
|
||||
|
||||
var $label = 'Configure and Loader Tests';
|
||||
|
||||
function ConfigureGroupTest() {
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'configure');
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'loader');
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -26,9 +26,9 @@
|
|||
* @lastmodified $Date$
|
||||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
/** AllCoreHelpersGroupTest
|
||||
/** AllCoreViewsGroupTest
|
||||
*
|
||||
* This test group will run all test in the cases/libs/view/helpers directory.
|
||||
* This test group will run view class tests (view, theme).
|
||||
*
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.groups
|
||||
|
@ -38,8 +38,8 @@ class AllCoreViewsGroupTest extends GroupTest {
|
|||
var $label = 'All core views';
|
||||
|
||||
function AllCoreViewsGroupTest() {
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view',
|
||||
CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme');
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view');
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme');
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue