khanat-opennel-code/code/web/public_php/webtt/cake/tests/groups/database.group.php

53 lines
1.6 KiB
PHP
Raw Normal View History

2016-09-24 12:22:22 +00:00
<?php
/**
* DatabaseGroupTest file
*
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The Open Group Test Suite License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
* @package cake
* @subpackage cake.tests.groups
* @since CakePHP(tm) v 1.2.0.5517
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
/**
* DatabaseGroupTest class
*
* This test group will run all behavior, schema and datasource tests excluding database
* driver-specific tests
*
* @package cake
* @subpackage cake.tests.groups
*/
class DatabaseGroupTest extends TestSuite {
/**
* label property
*
* @var string 'All model tests'
* @access public
*/
var $label = 'Datasources, Schema and DbAcl tests';
/**
* ModelGroupTest method
*
* @access public
* @return void
*/
function DatabaseGroupTest() {
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'db_acl');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'cake_schema');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'connection_manager');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'datasources' . DS . 'dbo_source');
}
}