pictcode / lib / Cake / Test / Case / Model / ModelTest.php @ 4c96e5a3
履歴 | 表示 | アノテート | ダウンロード (1.73 KB)
| 1 | 635eef61 | spyder1211 | <?php
 | 
      
|---|---|---|---|
| 2 | /**
 | 
      ||
| 3 |  * ModelTest file
 | 
      ||
| 4 |  *
 | 
      ||
| 5 |  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 | 
      ||
| 6 |  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 | 
      ||
| 7 |  *
 | 
      ||
| 8 |  * Licensed under The MIT License
 | 
      ||
| 9 |  * For full copyright and license information, please see the LICENSE.txt
 | 
      ||
| 10 |  * Redistributions of files must retain the above copyright notice.
 | 
      ||
| 11 |  *
 | 
      ||
| 12 |  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 | 
      ||
| 13 |  * @link          http://cakephp.org CakePHP(tm) Project
 | 
      ||
| 14 |  * @package       Cake.Test.Case
 | 
      ||
| 15 |  * @since         CakePHP(tm) v 2.0
 | 
      ||
| 16 |  * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 | 
      ||
| 17 |  */
 | 
      ||
| 18 | |||
| 19 | /**
 | 
      ||
| 20 |  * ModelTest class
 | 
      ||
| 21 |  *
 | 
      ||
| 22 |  * This test group will run model class tests
 | 
      ||
| 23 |  *
 | 
      ||
| 24 |  * @package       Cake.Test.Case
 | 
      ||
| 25 |  */
 | 
      ||
| 26 | class ModelTest extends PHPUnit_Framework_TestSuite {  | 
      ||
| 27 | |||
| 28 | /**
 | 
      ||
| 29 |  * suite method, defines tests for this suite.
 | 
      ||
| 30 |  *
 | 
      ||
| 31 |  * @return void
 | 
      ||
| 32 |  */
 | 
      ||
| 33 | public static function suite() {  | 
      ||
| 34 | $suite = new PHPUnit_Framework_TestSuite('All Model related class tests');  | 
      ||
| 35 | |||
| 36 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Validator' . DS . 'CakeValidationSetTest.php');  | 
      ||
| 37 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Validator' . DS . 'CakeValidationRuleTest.php');  | 
      ||
| 38 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelReadTest.php');  | 
      ||
| 39 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelWriteTest.php');  | 
      ||
| 40 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelDeleteTest.php');  | 
      ||
| 41 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelValidationTest.php');  | 
      ||
| 42 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelIntegrationTest.php');  | 
      ||
| 43 | $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'ModelCrossSchemaHabtmTest.php');  | 
      ||
| 44 | return $suite;  | 
      ||
| 45 | }  | 
      ||
| 46 | }  |