2010-09-19 05:44:49 +00: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
|
2010-12-24 18:57:20 +00:00
|
|
|
* @package cake.tests.cases
|
2010-09-19 05:44:49 +00:00
|
|
|
* @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
|
|
|
|
*
|
2010-12-24 18:57:20 +00:00
|
|
|
* @package cake.tests.groups
|
2010-09-19 05:44:49 +00:00
|
|
|
*/
|
|
|
|
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-21 03:42:35 +00:00
|
|
|
$console = CORE_TEST_CASES . DS . 'console' . DS;
|
|
|
|
|
2010-10-17 21:33:16 +00:00
|
|
|
$suite->addTestFile($console . 'all_console_libs.test.php');
|
2010-09-21 03:42:35 +00:00
|
|
|
$suite->addTestFile($console . 'all_shells.test.php');
|
2010-09-25 05:25:42 +00:00
|
|
|
$suite->addTestFile($console . 'all_tasks.test.php');
|
2010-09-19 05:44:49 +00:00
|
|
|
|
2010-09-20 01:26:02 +00:00
|
|
|
$suite->addTestFile($path . 'all_behaviors.test.php');
|
2010-09-19 05:44:49 +00: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-20 03:30:02 +00:00
|
|
|
$suite->addTestFile($path . 'all_database.test.php');
|
2010-11-15 03:26:04 +00:00
|
|
|
$suite->addTestFile($path . 'all_error.test.php');
|
2010-09-19 05:44:49 +00:00
|
|
|
$suite->addTestFile($path . 'all_helpers.test.php');
|
2010-09-25 14:42:20 +00:00
|
|
|
$suite->addTestFile($path . 'all_libs.test.php');
|
2010-09-19 05:44:49 +00:00
|
|
|
$suite->addTestFile($path . 'all_localization.test.php');
|
2010-09-26 02:30:30 +00:00
|
|
|
$suite->addTestFile($path . 'all_model.test.php');
|
2010-09-19 05:44:49 +00:00
|
|
|
$suite->addTestFile($path . 'all_routing.test.php');
|
2010-09-20 01:26:02 +00:00
|
|
|
$suite->addTestFile($path . 'all_socket.test.php');
|
2010-09-20 04:16:35 +00:00
|
|
|
$suite->addTestFile($path . 'all_test_suite.test.php');;
|
2010-09-19 05:44:49 +00:00
|
|
|
$suite->addTestFile($path . 'all_views.test.php');
|
|
|
|
$suite->addTestFile($path . 'all_xml.test.php');
|
|
|
|
return $suite;
|
|
|
|
}
|
|
|
|
}
|