mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
adding missing test file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@820 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3c97ea8474
commit
be9b1ddc7b
1 changed files with 73 additions and 0 deletions
73
tests/core/groups/allbutexamplestest.group.php
Normal file
73
tests/core/groups/allbutexamplestest.group.php
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
<?php
|
||||||
|
/* SVN FILE: $Id$ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Short description for file.
|
||||||
|
*
|
||||||
|
* Long description for file
|
||||||
|
*
|
||||||
|
* PHP versions 4 and 5
|
||||||
|
*
|
||||||
|
* CakePHP Test Suite <https://trac.cakephp.org/wiki/Cake/Manual/TestSuite/>
|
||||||
|
* Copyright (c) 2005, CakePHP Test Suite Authors/Developers
|
||||||
|
*
|
||||||
|
* Author(s): Larry E. Masters aka PhpNut <nut@phpnut.com>
|
||||||
|
* Kamil Dzielinski aka Brego <brego.dk@gmail.com>
|
||||||
|
*
|
||||||
|
* Licensed under The Open Group Test Suite License
|
||||||
|
* Redistributions of files must retain the above copyright notice.
|
||||||
|
*
|
||||||
|
* @filesource
|
||||||
|
* @author CakePHP Test Suite Authors/Developers
|
||||||
|
* @copyright Copyright (c) 2005, CakePHP Test Suite Authors/Developers
|
||||||
|
* @link https://trac.cakephp.org/wiki/TestSuite/Authors/ Authors/Developers
|
||||||
|
* @package test_suite
|
||||||
|
* @since CakePHP Test Suite v 1.0.0.0
|
||||||
|
* @version $Revision$
|
||||||
|
* @modifiedby $LastChangedBy$
|
||||||
|
* @lastmodified $Date$
|
||||||
|
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load Test Manager Class
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/** AllButExamplesTest
|
||||||
|
*
|
||||||
|
* This test group will run all test in the cases
|
||||||
|
* directory with the exception of examples in the
|
||||||
|
* examples directory.
|
||||||
|
*
|
||||||
|
* @todo implement, nothing coded yet!!!
|
||||||
|
*
|
||||||
|
* @package test_suite
|
||||||
|
* @subpackage test_suite.cases.app
|
||||||
|
* @since CakePHP Test Suite v 1.0.0.0
|
||||||
|
*/
|
||||||
|
class AllButExamplesTest extends GroupTest
|
||||||
|
{
|
||||||
|
function AllButExamplesTest()
|
||||||
|
{
|
||||||
|
$this->GroupTest('All but examples test cases');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/app');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/config');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/libs');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/logs');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/modules');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/public/');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/scripts');
|
||||||
|
TestManager::addTestCasesFromDirectory($this,
|
||||||
|
CORE_TEST_CASES . '/tmp');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in a new issue