2008-05-30 11:40:08 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2011-05-14 15:28:58 +00:00
|
|
|
* Tree Behavior test file - runs all the tree behavior tests
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-10-03 16:31:21 +00:00
|
|
|
* PHP 5
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2011-05-14 15:28:58 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2013-02-08 11:59:49 +00:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-10-03 16:31:21 +00:00
|
|
|
* Licensed under The MIT License
|
2013-02-08 12:22:51 +00:00
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
2011-05-14 15:28:58 +00:00
|
|
|
* Redistributions of files must retain the above copyright notice.
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2013-02-08 11:59:49 +00:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2011-05-14 15:28:58 +00:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Test.Case.Model.Behavior
|
2011-05-14 15:28:58 +00:00
|
|
|
* @since CakePHP(tm) v 2.0
|
2013-05-30 22:11:14 +00:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
2008-05-30 11:40:08 +00:00
|
|
|
*/
|
2010-12-09 05:55:24 +00:00
|
|
|
|
2008-06-02 19:22:55 +00:00
|
|
|
/**
|
2011-05-14 15:28:58 +00:00
|
|
|
* Tree Behavior test
|
2008-06-24 03:16:28 +00:00
|
|
|
*
|
2011-05-14 15:28:58 +00:00
|
|
|
* A test group to run all the component parts
|
2008-06-24 03:16:28 +00:00
|
|
|
*
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Test.Case.Model.Behavior
|
2008-06-02 19:22:55 +00:00
|
|
|
*/
|
2011-05-14 15:28:58 +00:00
|
|
|
class TreeBehaviorTest extends PHPUnit_Framework_TestSuite {
|
2009-07-24 19:18:37 +00:00
|
|
|
|
2009-01-15 00:50:01 +00:00
|
|
|
/**
|
2011-05-14 15:28:58 +00:00
|
|
|
* suite method, defines tests for this suite.
|
2009-01-15 00:50:01 +00:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2011-05-14 15:28:58 +00:00
|
|
|
public static function suite() {
|
|
|
|
$suite = new CakeTestSuite('TreeBehavior tests');
|
2009-01-15 00:50:01 +00:00
|
|
|
|
2011-05-14 15:28:58 +00:00
|
|
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorNumberTest.php');
|
|
|
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorScopedTest.php');
|
|
|
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorAfterTest.php');
|
|
|
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorUuidTest.php');
|
|
|
|
return $suite;
|
2009-01-15 00:50:01 +00:00
|
|
|
}
|
2009-01-14 23:40:47 +00:00
|
|
|
}
|