2010-06-25 23:36:08 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* AllShellsTest file
|
|
|
|
*
|
2017-06-10 23:33:55 +02:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
|
2017-06-11 00:10:52 +02:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2010-06-25 23:36:08 -04:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
2013-02-08 21:22:51 +09:00
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
2010-06-25 23:36:08 -04:00
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2017-06-11 00:10:52 +02:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2017-06-10 23:33:55 +02:00
|
|
|
* @link https://cakephp.org CakePHP(tm) Project
|
2011-07-26 01:46:14 -04:30
|
|
|
* @package Cake.Test.Case.Console
|
2010-06-25 23:36:08 -04:00
|
|
|
* @since CakePHP(tm) v 2.0
|
2013-05-31 00:11:14 +02:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
2010-06-25 23:36:08 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* AllShellsTest class
|
|
|
|
*
|
|
|
|
* This test group will run all top level shell classes.
|
|
|
|
*
|
2011-07-26 01:46:14 -04:30
|
|
|
* @package Cake.Test.Case.Console
|
2010-06-25 23:36:08 -04:00
|
|
|
*/
|
|
|
|
class AllShellsTest extends PHPUnit_Framework_TestSuite {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* suite method, defines tests for this suite.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public static function suite() {
|
2010-09-25 00:13:37 -04:00
|
|
|
$suite = new CakeTestSuite('All shell classes');
|
2010-06-25 23:36:08 -04:00
|
|
|
|
2011-04-11 22:23:44 -04:30
|
|
|
$path = CORE_TEST_CASES . DS . 'Console' . DS . 'Command' . DS;
|
2010-06-25 23:36:08 -04:00
|
|
|
|
2010-09-25 00:13:37 -04:00
|
|
|
$suite->addTestDirectory($path);
|
2010-06-25 23:36:08 -04:00
|
|
|
return $suite;
|
|
|
|
}
|
2012-12-05 15:00:24 +01:00
|
|
|
}
|