Browse files

Updating Lib Group test to include files manually and run.

  • Loading branch information...
1 parent 496bfaf commit 82f2291bd44061d98ed5afead05196e1e4c714c0 @markstory markstory committed Oct 13, 2009
Showing with 13 additions and 10 deletions.
  1. +13 −10 cake/tests/groups/lib.group.php
View
23 cake/tests/groups/lib.group.php
@@ -1,6 +1,4 @@
<?php
-/* SVN FILE: $Id$ */
-
/**
* LibGroupTest file
*
@@ -9,20 +7,17 @@
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
- * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
+ * Copyright 2005-2009, 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)
+ * @copyright Copyright 2005-2009, 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
*/
@@ -39,10 +34,10 @@ class LibGroupTest extends TestSuite {
/**
* label property
*
- * @var string 'All cake/libs/* (Not yet implemented)'
+ * @var string
* @access public
*/
- var $label = 'All Libs';
+ var $label = 'All core, non MVC element libs';
/**
* LibGroupTest method
@@ -51,7 +46,15 @@ class LibGroupTest extends TestSuite {
* @return void
*/
function LibGroupTest() {
- TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_log');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'class_registry');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'inflector');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'overloadable');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'sanitize');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'security');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'set');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'string');
+ TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'validation');
}
}
?>

0 comments on commit 82f2291

Please sign in to comment.