~tsep-dev/tsep/0.9-beta

« back to all changes in this revision

Viewing changes to branches/symfony/cake/tests/groups/model.group.php

  • Committer: geoffreyfishing
  • Date: 2011-01-11 23:46:12 UTC
  • Revision ID: svn-v4:ae0de26e-ed09-4cbe-9a20-e40b4c60ac6c::125
Created a symfony branch for future migration to symfony

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * ModelGroupTest file
 
4
 *
 
5
 * PHP versions 4 and 5
 
6
 *
 
7
 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
 
8
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
9
 *
 
10
 *  Licensed under The Open Group Test Suite License
 
11
 *  Redistributions of files must retain the above copyright notice.
 
12
 *
 
13
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
14
 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
 
15
 * @package       cake
 
16
 * @subpackage    cake.tests.groups
 
17
 * @since         CakePHP(tm) v 1.2.0.5517
 
18
 * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
 
19
 */
 
20
 
 
21
/**
 
22
 * ModelGroupTest class
 
23
 *
 
24
 * This test group will run all model-layer and related tests, (behaviors, etc.) excluding
 
25
 * database driver-specific tests
 
26
 *
 
27
 * @package       cake
 
28
 * @subpackage    cake.tests.groups
 
29
 */
 
30
class ModelGroupTest extends TestSuite {
 
31
 
 
32
/**
 
33
 * label property
 
34
 *
 
35
 * @var string
 
36
 * @access public
 
37
 */
 
38
        var $label = 'All Model tests';
 
39
 
 
40
/**
 
41
 * ModelGroupTest method
 
42
 *
 
43
 * @access public
 
44
 * @return void
 
45
 */
 
46
        function ModelGroupTest() {
 
47
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_behavior');
 
48
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_read');
 
49
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_write');
 
50
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_delete');
 
51
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_integration');
 
52
                TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_validation');
 
53
        }
 
54
}