Skip to content

Commit

Permalink
Updating Lib Group test to include files manually and run.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 13, 2009
1 parent 496bfaf commit 82f2291
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions cake/tests/groups/lib.group.php
@@ -1,6 +1,4 @@
<?php
/* SVN FILE: $Id$ */

/**
* LibGroupTest file
*
Expand All @@ -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
*/

Expand All @@ -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
Expand All @@ -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.