From acc197827ec10f5e1bb3101fe61503f5482afac5 Mon Sep 17 00:00:00 2001 From: nate Date: Sat, 3 Nov 2007 02:26:08 +0000 Subject: [PATCH] Additional core test groups git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5939 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/groups/cache.group.php | 45 ++++++++++++++++++++++++++ cake/tests/groups/components.group.php | 44 +++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 cake/tests/groups/cache.group.php create mode 100644 cake/tests/groups/components.group.php diff --git a/cake/tests/groups/cache.group.php b/cake/tests/groups/cache.group.php new file mode 100644 index 000000000..f5853da4b --- /dev/null +++ b/cake/tests/groups/cache.group.php @@ -0,0 +1,45 @@ + + * 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 + */ +/** AllCacheEngines + * + * This test group will run all the Cache class test and all core cache engine tests + * + * @package cake.tests + * @subpackage cake.tests.groups + */ +class AllCacheEnginesGroupTest extends GroupTest { + + var $label = 'All core cache engines'; + + function AllCacheEnginesGroupTest() { + TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cache'); + TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cache'); + } +} +?> \ No newline at end of file diff --git a/cake/tests/groups/components.group.php b/cake/tests/groups/components.group.php new file mode 100644 index 000000000..d6d47f255 --- /dev/null +++ b/cake/tests/groups/components.group.php @@ -0,0 +1,44 @@ + + * 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 + */ +/** AllCoreHelpersGroupTest + * + * This test group will run all tests in the cases/libs/controller/components directory. + * + * @package cake.tests + * @subpackage cake.tests.groups + */ +class AllCoreComponentsGroupTest extends GroupTest { + + var $label = 'All core components'; + + function AllCoreComponentsGroupTest() { + TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components'); + } +} +?> \ No newline at end of file