Making test case class names match file names.

Refs #1985
This commit is contained in:
mark_story 2011-09-12 23:00:35 -04:00
parent 9b8c280492
commit d74f442608
12 changed files with 30 additions and 14 deletions

View file

@ -31,7 +31,7 @@ class TestStringOutput extends ConsoleOutput {
}
}
class CommandListTest extends CakeTestCase {
class CommandListShellTest extends CakeTestCase {
/**
* setUp method
*

View file

@ -183,7 +183,7 @@ class PaginatorControllerComment extends CakeTestModel {
public $alias = 'PaginatorControllerComment';
}
class PaginatorTest extends CakeTestCase {
class PaginatorComponentTest extends CakeTestCase {
/**
* fixtures property

View file

@ -28,7 +28,7 @@ require_once dirname(dirname(dirname(__FILE__))) . DS . 'models.php';
*
* @package Cake.Test.Case.Model.Datasource.Database
*/
class DboMysqlTest extends CakeTestCase {
class MysqlTest extends CakeTestCase {
/**
* autoFixtures property
*

View file

@ -183,11 +183,11 @@ class PostgresClientTestModel extends Model {
}
/**
* DboPostgresTest class
* PostgresTest class
*
* @package Cake.Test.Case.Model.Datasource.Database
*/
class DboPostgresTest extends CakeTestCase {
class PostgresTest extends CakeTestCase {
/**
* Do not automatically load fixtures for each test, they will be loaded manually

View file

@ -60,7 +60,7 @@ class DboSqliteTestDb extends Sqlite {
*
* @package Cake.Test.Case.Model.Datasource.Database
*/
class DboSqliteTest extends CakeTestCase {
class SqliteTest extends CakeTestCase {
/**
* Do not automatically load fixtures for each test, they will be loaded manually using CakeTestCase::loadFixtures

View file

@ -21,7 +21,7 @@ App::uses('Dispatcher', 'Routing');
App::uses('Xml', 'Utility');
App::uses('CakeRequest', 'Network');
class CakeRequestTestCase extends CakeTestCase {
class CakeRequestTest extends CakeTestCase {
/**
* setup callback
*

View file

@ -1,8 +1,24 @@
<?php
/**
* CakeResponse Test case file.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Test.Case.Network
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('CakeResponse', 'Network');
class CakeResponseTestCase extends CakeTestCase {
class CakeResponseTest extends CakeTestCase {
/**
* Tests the request object constructor

View file

@ -25,7 +25,7 @@ App::uses('BasicAuthentication', 'Network/Http');
*
* @package Cake.Test.Case.Network.Http
*/
class BasicMethodTest extends CakeTestCase {
class BasicAuthenticationTest extends CakeTestCase {
/**
* testAuthentication method

View file

@ -8,7 +8,7 @@ App::uses('Router', 'Routing');
*
* @package Cake.Test.Case.Routing.Route
**/
class CakeRouteTestCase extends CakeTestCase {
class CakeRouteTest extends CakeTestCase {
/**
* setUp method
*

View file

@ -26,7 +26,7 @@ App::uses('HtmlHelper', 'View/Helper');
App::uses('JsHelper', 'View/Helper');
App::uses('MootoolsEngineHelper', 'View/Helper');
class MooEngineHelperTest extends CakeTestCase {
class MootoolsEngineHelperTest extends CakeTestCase {
/**
* setUp
*