mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding files I forgot to commit :(
This commit is contained in:
parent
bb99f9bc13
commit
9ce80c4f4a
2 changed files with 85 additions and 0 deletions
41
lib/Cake/tests/Case/AllCoreTest.php
Normal file
41
lib/Cake/tests/Case/AllCoreTest.php
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* AllCoreTest 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.tests.cases
|
||||||
|
* @since CakePHP(tm) v 2.0
|
||||||
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AllCoreTest class
|
||||||
|
*
|
||||||
|
* This test group will run all core class tests
|
||||||
|
*
|
||||||
|
* @package cake.tests.groups
|
||||||
|
*/
|
||||||
|
class AllCoreTest extends PHPUnit_Framework_TestSuite {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* suite method, defines tests for this suite.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function suite() {
|
||||||
|
$suite = new CakeTestSuite('All Core class tests');
|
||||||
|
|
||||||
|
$suite->addTestDirectory(CORE_TEST_CASES . DS . 'Core');
|
||||||
|
return $suite;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
44
lib/Cake/tests/Case/Console/AllConsoleTest.php
Normal file
44
lib/Cake/tests/Case/Console/AllConsoleTest.php
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* AllConsoleTest 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.tests.cases
|
||||||
|
* @since CakePHP(tm) v 2.0
|
||||||
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AllConsoleTest class
|
||||||
|
*
|
||||||
|
* This test group will run all console classes.
|
||||||
|
*
|
||||||
|
* @package cake.tests.cases.console
|
||||||
|
*/
|
||||||
|
class AllConsoleTest extends PHPUnit_Framework_TestSuite {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* suite method, defines tests for this suite.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function suite() {
|
||||||
|
$suite = new CakeTestSuite('All console classes');
|
||||||
|
|
||||||
|
$path = CORE_TEST_CASES . DS . 'Console' . DS;
|
||||||
|
|
||||||
|
$suite->addTestFile($path . 'AllConsoleLibsTest.php');
|
||||||
|
$suite->addTestFile($path . 'AllTasksTest.php');
|
||||||
|
$suite->addTestFile($path . 'AllShellsTest.php');
|
||||||
|
return $suite;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue