2010-09-19 01:44:49 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* AllTests file
|
|
|
|
*
|
|
|
|
* PHP 5
|
|
|
|
*
|
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
|
|
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
|
|
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.tests.cases
|
|
|
|
* @since CakePHP(tm) v 2.0
|
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* AllTests class
|
|
|
|
*
|
|
|
|
* This test group will run all test in the cases/libs/models/behaviors directory
|
|
|
|
*
|
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.tests.groups
|
|
|
|
*/
|
|
|
|
class AllTests extends PHPUnit_Framework_TestSuite {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Suite define the tests for this suite
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public static function suite() {
|
|
|
|
$suite = new PHPUnit_Framework_TestSuite('All Tests');
|
|
|
|
|
|
|
|
$path = CORE_TEST_CASES . DS . 'libs' . DS;
|
2010-09-20 23:42:35 -04:00
|
|
|
$console = CORE_TEST_CASES . DS . 'console' . DS;
|
|
|
|
|
2010-10-17 17:33:16 -04:00
|
|
|
$suite->addTestFile($console . 'all_console_libs.test.php');
|
2010-09-20 23:42:35 -04:00
|
|
|
$suite->addTestFile($console . 'all_shells.test.php');
|
2010-09-25 01:25:42 -04:00
|
|
|
$suite->addTestFile($console . 'all_tasks.test.php');
|
2010-09-19 01:44:49 -04:00
|
|
|
|
2010-09-19 21:26:02 -04:00
|
|
|
$suite->addTestFile($path . 'all_behaviors.test.php');
|
2010-09-19 01:44:49 -04:00
|
|
|
$suite->addTestFile($path . 'all_cache_engines.test.php');
|
|
|
|
$suite->addTestFile($path . 'all_components.test.php');
|
|
|
|
$suite->addTestFile($path . 'all_configure.test.php');
|
|
|
|
$suite->addTestFile($path . 'all_controllers.test.php');
|
2010-09-19 23:30:02 -04:00
|
|
|
$suite->addTestFile($path . 'all_database.test.php');
|
2010-11-14 22:26:04 -05:00
|
|
|
$suite->addTestFile($path . 'all_error.test.php');
|
2010-09-19 01:44:49 -04:00
|
|
|
$suite->addTestFile($path . 'all_helpers.test.php');
|
2010-09-25 10:42:20 -04:00
|
|
|
$suite->addTestFile($path . 'all_libs.test.php');
|
2010-09-19 01:44:49 -04:00
|
|
|
$suite->addTestFile($path . 'all_localization.test.php');
|
2010-09-25 22:00:30 -04:30
|
|
|
$suite->addTestFile($path . 'all_model.test.php');
|
2010-09-19 01:44:49 -04:00
|
|
|
$suite->addTestFile($path . 'all_routing.test.php');
|
2010-09-19 21:26:02 -04:00
|
|
|
$suite->addTestFile($path . 'all_socket.test.php');
|
2010-09-20 00:16:35 -04:00
|
|
|
$suite->addTestFile($path . 'all_test_suite.test.php');;
|
2010-09-19 01:44:49 -04:00
|
|
|
$suite->addTestFile($path . 'all_views.test.php');
|
|
|
|
$suite->addTestFile($path . 'all_xml.test.php');
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|