Skip to content
Permalink
Browse files

Making test case class names match file names.

Refs #1985
  • Loading branch information...
markstory committed Sep 13, 2011
1 parent 9b8c280 commit d74f44260854400c15f163c685e83d571e3451e9
@@ -31,7 +31,7 @@ protected function _write($message) {
}
}
class CommandListTest extends CakeTestCase {
class CommandListShellTest extends CakeTestCase {
/**
* setUp method
*
@@ -183,7 +183,7 @@ class PaginatorControllerComment extends CakeTestModel {
public $alias = 'PaginatorControllerComment';
}
class PaginatorTest extends CakeTestCase {
class PaginatorComponentTest extends CakeTestCase {
/**
* fixtures property
@@ -743,4 +743,4 @@ public function testPaginateMaxLimit() {
$result = $Controller->paginate('PaginatorControllerPost');
$this->assertEqual($Controller->params['paging']['PaginatorControllerPost']['options']['limit'], 2000);
}
}
}
@@ -28,7 +28,7 @@
*
* @package Cake.Test.Case.Model.Datasource.Database
*/
class DboMysqlTest extends CakeTestCase {
class MysqlTest extends CakeTestCase {
/**
* autoFixtures property
*
@@ -183,11 +183,11 @@ public function schema($field = false) {
}
/**
* 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
@@ -60,7 +60,7 @@ public function getLastQuery() {
*
* @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
@@ -21,7 +21,7 @@
App::uses('Xml', 'Utility');
App::uses('CakeRequest', 'Network');
class CakeRequestTestCase extends CakeTestCase {
class CakeRequestTest extends CakeTestCase {
/**
* setup callback
*
@@ -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
@@ -25,7 +25,7 @@
*
* @package Cake.Test.Case.Network.Http
*/
class BasicMethodTest extends CakeTestCase {
class BasicAuthenticationTest extends CakeTestCase {
/**
* testAuthentication method
@@ -61,4 +61,4 @@ public function testProxyAuthentication() {
$this->assertEqual($http->request['header']['Proxy-Authorization'], 'Basic bWFyazpzZWNyZXQ=');
}
}
}
@@ -8,7 +8,7 @@
*
* @package Cake.Test.Case.Routing.Route
**/
class CakeRouteTestCase extends CakeTestCase {
class CakeRouteTest extends CakeTestCase {
/**
* setUp method
*
@@ -26,7 +26,7 @@
App::uses('JsHelper', 'View/Helper');
App::uses('MootoolsEngineHelper', 'View/Helper');
class MooEngineHelperTest extends CakeTestCase {
class MootoolsEngineHelperTest extends CakeTestCase {
/**
* setUp
*

0 comments on commit d74f442

Please sign in to comment.
You can’t perform that action at this time.