Merge pull request #1324 from dereuromark/master-test-cases

remove $name where not necessary
This commit is contained in:
Mark Story 2013-06-08 06:44:28 -07:00
commit ac5a6ddf8e
32 changed files with 246 additions and 707 deletions

View file

@ -31,9 +31,6 @@ App::uses('Controller', 'Controller');
if (!class_exists('UsersController')) { if (!class_exists('UsersController')) {
class UsersController extends Controller { class UsersController extends Controller {
public $name = 'Users';
} }
} }

View file

@ -32,17 +32,10 @@ App::uses('SchemaShell', 'Console/Command');
*/ */
class SchemaShellTestSchema extends CakeSchema { class SchemaShellTestSchema extends CakeSchema {
/**
* name property
*
* @var string 'MyApp'
*/
public $name = 'SchemaShellTest';
/** /**
* connection property * connection property
* *
* @var string 'test' * @var string
*/ */
public $connection = 'test'; public $connection = 'test';

View file

@ -45,8 +45,6 @@ if (!$imported) {
*/ */
class BakeArticle extends Model { class BakeArticle extends Model {
public $name = 'BakeArticle';
public $hasMany = array('BakeComment'); public $hasMany = array('BakeComment');
public $hasAndBelongsToMany = array('BakeTag'); public $hasAndBelongsToMany = array('BakeTag');

View file

@ -36,13 +36,6 @@ App::uses('Model', 'Model');
*/ */
class TestTaskArticle extends Model { class TestTaskArticle extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskArticle';
/** /**
* Table name to use * Table name to use
* *
@ -109,13 +102,6 @@ class TestTaskArticle extends Model {
*/ */
class TestTaskTag extends Model { class TestTaskTag extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskTag';
/** /**
* Table name * Table name
* *
@ -153,13 +139,6 @@ class TestTaskAppModel extends Model {
*/ */
class TestTaskComment extends TestTaskAppModel { class TestTaskComment extends TestTaskAppModel {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskComment';
/** /**
* Table name * Table name
* *
@ -187,13 +166,6 @@ class TestTaskComment extends TestTaskAppModel {
*/ */
class TestTaskCommentsController extends Controller { class TestTaskCommentsController extends Controller {
/**
* Controller Name
*
* @var string
*/
public $name = 'TestTaskComments';
/** /**
* Models to use * Models to use
* *

View file

@ -39,13 +39,6 @@ App::uses('Controller', 'Controller');
*/ */
class ViewTaskComment extends Model { class ViewTaskComment extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'ViewTaskComment';
/** /**
* Table name * Table name
* *
@ -73,13 +66,6 @@ class ViewTaskComment extends Model {
*/ */
class ViewTaskArticle extends Model { class ViewTaskArticle extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'ViewTaskArticle';
/** /**
* Table name * Table name
* *
@ -95,13 +81,6 @@ class ViewTaskArticle extends Model {
*/ */
class ViewTaskCommentsController extends Controller { class ViewTaskCommentsController extends Controller {
/**
* Controller name
*
* @var string
*/
public $name = 'ViewTaskComments';
/** /**
* Testing public controller action * Testing public controller action
* *
@ -127,13 +106,6 @@ class ViewTaskCommentsController extends Controller {
*/ */
class ViewTaskArticlesController extends Controller { class ViewTaskArticlesController extends Controller {
/**
* Controller name
*
* @var string
*/
public $name = 'ViewTaskArticles';
/** /**
* Test public controller action * Test public controller action
* *

View file

@ -35,7 +35,7 @@ class AclNodeTwoTestBase extends AclNode {
/** /**
* useDbConfig property * useDbConfig property
* *
* @var string 'test' * @var string
*/ */
public $useDbConfig = 'test'; public $useDbConfig = 'test';
@ -57,14 +57,14 @@ class AroTwoTest extends AclNodeTwoTestBase {
/** /**
* name property * name property
* *
* @var string 'AroTwoTest' * @var string
*/ */
public $name = 'AroTwoTest'; public $name = 'AroTwoTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aro_twos' * @var string
*/ */
public $useTable = 'aro_twos'; public $useTable = 'aro_twos';
@ -86,14 +86,14 @@ class AcoTwoTest extends AclNodeTwoTestBase {
/** /**
* name property * name property
* *
* @var string 'AcoTwoTest' * @var string
*/ */
public $name = 'AcoTwoTest'; public $name = 'AcoTwoTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aco_twos' * @var string
*/ */
public $useTable = 'aco_twos'; public $useTable = 'aco_twos';
@ -115,14 +115,14 @@ class PermissionTwoTest extends Permission {
/** /**
* name property * name property
* *
* @var string 'PermissionTwoTest' * @var string
*/ */
public $name = 'PermissionTwoTest'; public $name = 'PermissionTwoTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aros_aco_twos' * @var string
*/ */
public $useTable = 'aros_aco_twos'; public $useTable = 'aros_aco_twos';

View file

@ -59,17 +59,10 @@ class TestAuthComponent extends AuthComponent {
*/ */
class AuthUser extends CakeTestModel { class AuthUser extends CakeTestModel {
/**
* name property
*
* @var string 'AuthUser'
*/
public $name = 'AuthUser';
/** /**
* useDbConfig property * useDbConfig property
* *
* @var string 'test' * @var string
*/ */
public $useDbConfig = 'test'; public $useDbConfig = 'test';
@ -82,13 +75,6 @@ class AuthUser extends CakeTestModel {
*/ */
class AuthTestController extends Controller { class AuthTestController extends Controller {
/**
* name property
*
* @var string 'AuthTest'
*/
public $name = 'AuthTest';
/** /**
* uses property * uses property
* *
@ -203,13 +189,6 @@ class AuthTestController extends Controller {
*/ */
class AjaxAuthController extends Controller { class AjaxAuthController extends Controller {
/**
* name property
*
* @var string 'AjaxAuth'
*/
public $name = 'AjaxAuth';
/** /**
* components property * components property
* *
@ -278,7 +257,7 @@ class AuthComponentTest extends CakeTestCase {
/** /**
* name property * name property
* *
* @var string 'Auth' * @var string
*/ */
public $name = 'Auth'; public $name = 'Auth';

View file

@ -93,13 +93,6 @@ class DebugCompTransport extends AbstractTransport {
*/ */
class EmailTestController extends Controller { class EmailTestController extends Controller {
/**
* name property
*
* @var string 'EmailTest'
*/
public $name = 'EmailTest';
/** /**
* uses property * uses property
* *
@ -133,7 +126,7 @@ class EmailComponentTest extends CakeTestCase {
/** /**
* name property * name property
* *
* @var string 'Email' * @var string
*/ */
public $name = 'Email'; public $name = 'Email';

View file

@ -32,13 +32,6 @@ App::uses('CakeResponse', 'Network');
*/ */
class PaginatorTestController extends Controller { class PaginatorTestController extends Controller {
/**
* name property
*
* @var string 'PaginatorTest'
*/
public $name = 'PaginatorTest';
/** /**
* components property * components property
* *
@ -54,17 +47,10 @@ class PaginatorTestController extends Controller {
*/ */
class PaginatorControllerPost extends CakeTestModel { class PaginatorControllerPost extends CakeTestModel {
/**
* name property
*
* @var string 'PaginatorControllerPost'
*/
public $name = 'PaginatorControllerPost';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'posts'; public $useTable = 'posts';
@ -124,17 +110,10 @@ class PaginatorControllerPost extends CakeTestModel {
*/ */
class ControllerPaginateModel extends CakeTestModel { class ControllerPaginateModel extends CakeTestModel {
/**
* name property
*
* @var string 'ControllerPaginateModel'
*/
public $name = 'ControllerPaginateModel';
/** /**
* useTable property * useTable property
* *
* @var string 'comments' * @var string
*/ */
public $useTable = 'comments'; public $useTable = 'comments';
@ -169,21 +148,21 @@ class PaginatorControllerComment extends CakeTestModel {
/** /**
* name property * name property
* *
* @var string 'Comment' * @var string
*/ */
public $name = 'Comment'; public $name = 'Comment';
/** /**
* useTable property * useTable property
* *
* @var string 'comments' * @var string
*/ */
public $useTable = 'comments'; public $useTable = 'comments';
/** /**
* alias property * alias property
* *
* @var string 'PaginatorControllerComment' * @var string
*/ */
public $alias = 'PaginatorControllerComment'; public $alias = 'PaginatorControllerComment';
} }
@ -195,31 +174,17 @@ class PaginatorControllerComment extends CakeTestModel {
*/ */
class PaginatorAuthor extends CakeTestModel { class PaginatorAuthor extends CakeTestModel {
/**
* name property
*
* @var string 'PaginatorAuthor'
*/
public $name = 'PaginatorAuthor';
/** /**
* useTable property * useTable property
* *
* @var string 'authors' * @var string
*/ */
public $useTable = 'authors'; public $useTable = 'authors';
/** /**
* alias property * alias property
* *
* @var string 'PaginatorAuthor' * @var string
*/
public $alias = 'PaginatorAuthor';
/**
* alias property
*
* @var string 'PaginatorAuthor'
*/ */
public $virtualFields = array( public $virtualFields = array(
'joined_offset' => 'PaginatorAuthor.id + 1' 'joined_offset' => 'PaginatorAuthor.id + 1'

View file

@ -47,13 +47,6 @@ class TestSecurityComponent extends SecurityComponent {
*/ */
class SecurityTestController extends Controller { class SecurityTestController extends Controller {
/**
* name property
*
* @var string 'SecurityTest'
*/
public $name = 'SecurityTest';
/** /**
* components property * components property
* *

View file

@ -28,13 +28,6 @@ App::uses('Component', 'Controller');
*/ */
class ParamTestComponent extends Component { class ParamTestComponent extends Component {
/**
* name property
*
* @var string 'ParamTest'
*/
public $name = 'ParamTest';
/** /**
* components property * components property
* *
@ -50,13 +43,6 @@ class ParamTestComponent extends Component {
*/ */
class ComponentTestController extends Controller { class ComponentTestController extends Controller {
/**
* name property
*
* @var string 'ComponentTest'
*/
public $name = 'ComponentTest';
/** /**
* uses property * uses property
* *
@ -146,7 +132,7 @@ class BananaComponent extends Component {
/** /**
* testField property * testField property
* *
* @var string 'BananaField' * @var string
*/ */
public $testField = 'BananaField'; public $testField = 'BananaField';

View file

@ -60,13 +60,6 @@ class MergeVarComponent extends Object {
*/ */
class MergeVariablesController extends MergeVarsAppController { class MergeVariablesController extends MergeVarsAppController {
/**
* name
*
* @var string
*/
public $name = 'MergeVariables';
/** /**
* uses * uses
* *
@ -118,13 +111,6 @@ class MergeVarPluginAppController extends MergeVarsAppController {
*/ */
class MergePostsController extends MergeVarPluginAppController { class MergePostsController extends MergeVarPluginAppController {
/**
* name
*
* @var string
*/
public $name = 'MergePosts';
/** /**
* uses * uses
* *

View file

@ -58,17 +58,10 @@ class ControllerTestAppController extends Controller {
*/ */
class ControllerPost extends CakeTestModel { class ControllerPost extends CakeTestModel {
/**
* name property
*
* @var string 'ControllerPost'
*/
public $name = 'ControllerPost';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'posts'; public $useTable = 'posts';
@ -121,13 +114,6 @@ class ControllerPost extends CakeTestModel {
*/ */
class ControllerCommentsController extends ControllerTestAppController { class ControllerCommentsController extends ControllerTestAppController {
/**
* name property
*
* @var string 'ControllerPost'
*/
public $name = 'ControllerComments';
protected $_mergeParent = 'ControllerTestAppController'; protected $_mergeParent = 'ControllerTestAppController';
} }
@ -141,14 +127,14 @@ class ControllerComment extends CakeTestModel {
/** /**
* name property * name property
* *
* @var string 'ControllerComment' * @var string
*/ */
public $name = 'Comment'; public $name = 'Comment';
/** /**
* useTable property * useTable property
* *
* @var string 'comments' * @var string
*/ */
public $useTable = 'comments'; public $useTable = 'comments';
@ -162,7 +148,7 @@ class ControllerComment extends CakeTestModel {
/** /**
* alias property * alias property
* *
* @var string 'ControllerComment' * @var string
*/ */
public $alias = 'ControllerComment'; public $alias = 'ControllerComment';
} }
@ -174,24 +160,17 @@ class ControllerComment extends CakeTestModel {
*/ */
class ControllerAlias extends CakeTestModel { class ControllerAlias extends CakeTestModel {
/**
* name property
*
* @var string 'ControllerAlias'
*/
public $name = 'ControllerAlias';
/** /**
* alias property * alias property
* *
* @var string 'ControllerSomeAlias' * @var string
*/ */
public $alias = 'ControllerSomeAlias'; public $alias = 'ControllerSomeAlias';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'posts'; public $useTable = 'posts';
} }
@ -205,20 +184,20 @@ class NameTest extends CakeTestModel {
/** /**
* name property * name property
* @var string 'Name' * @var string
*/ */
public $name = 'Name'; public $name = 'Name';
/** /**
* useTable property * useTable property
* @var string 'names' * @var string
*/ */
public $useTable = 'comments'; public $useTable = 'comments';
/** /**
* alias property * alias property
* *
* @var string 'ControllerComment' * @var string
*/ */
public $alias = 'Name'; public $alias = 'Name';
} }
@ -230,12 +209,6 @@ class NameTest extends CakeTestModel {
*/ */
class TestController extends ControllerTestAppController { class TestController extends ControllerTestAppController {
/**
* name property
* @var string 'Name'
*/
public $name = 'Test';
/** /**
* helpers property * helpers property
* *
@ -381,12 +354,6 @@ class Test2Component extends TestComponent {
*/ */
class AnotherTestController extends ControllerTestAppController { class AnotherTestController extends ControllerTestAppController {
/**
* name property
* @var string 'Name'
*/
public $name = 'AnotherTest';
/** /**
* uses property * uses property
* *

View file

@ -33,13 +33,6 @@ require_once dirname(dirname(__FILE__)) . DS . 'Model' . DS . 'models.php';
*/ */
class ScaffoldMockController extends Controller { class ScaffoldMockController extends Controller {
/**
* name property
*
* @var string 'ScaffoldMock'
*/
public $name = 'ScaffoldMock';
/** /**
* scaffold property * scaffold property
* *
@ -58,7 +51,7 @@ class ScaffoldMockControllerWithFields extends Controller {
/** /**
* name property * name property
* *
* @var string 'ScaffoldMock' * @var string
*/ */
public $name = 'ScaffoldMock'; public $name = 'ScaffoldMock';

View file

@ -30,17 +30,10 @@ App::uses('Model', 'Model');
*/ */
class RequestActionPost extends CakeTestModel { class RequestActionPost extends CakeTestModel {
/**
* name property
*
* @var string 'ControllerPost'
*/
public $name = 'RequestActionPost';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'posts'; public $useTable = 'posts';
} }
@ -149,14 +142,14 @@ class TestObject extends Object {
/** /**
* firstName property * firstName property
* *
* @var string 'Joel' * @var string
*/ */
public $firstName = 'Joel'; public $firstName = 'Joel';
/** /**
* lastName property * lastName property
* *
* @var string 'Moss' * @var string
*/ */
public $lastName = 'Moss'; public $lastName = 'Moss';
@ -282,8 +275,6 @@ class ObjectTestModel extends CakeTestModel {
public $useTable = false; public $useTable = false;
public $name = 'ObjectTestModel';
} }
/** /**

View file

@ -30,13 +30,6 @@ App::uses('Router', 'Routing');
*/ */
class AuthBlueberryUser extends CakeTestModel { class AuthBlueberryUser extends CakeTestModel {
/**
* name property
*
* @var string 'AuthBlueberryUser'
*/
public $name = 'AuthBlueberryUser';
/** /**
* useTable property * useTable property
* *

View file

@ -31,7 +31,7 @@ class DbAclNodeTestBase extends AclNode {
/** /**
* useDbConfig property * useDbConfig property
* *
* @var string 'test' * @var string
*/ */
public $useDbConfig = 'test'; public $useDbConfig = 'test';
@ -50,17 +50,10 @@ class DbAclNodeTestBase extends AclNode {
*/ */
class DbAroTest extends DbAclNodeTestBase { class DbAroTest extends DbAclNodeTestBase {
/**
* name property
*
* @var string 'DbAroTest'
*/
public $name = 'DbAroTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aros' * @var string
*/ */
public $useTable = 'aros'; public $useTable = 'aros';
@ -79,17 +72,10 @@ class DbAroTest extends DbAclNodeTestBase {
*/ */
class DbAcoTest extends DbAclNodeTestBase { class DbAcoTest extends DbAclNodeTestBase {
/**
* name property
*
* @var string 'DbAcoTest'
*/
public $name = 'DbAcoTest';
/** /**
* useTable property * useTable property
* *
* @var string 'acos' * @var string
*/ */
public $useTable = 'acos'; public $useTable = 'acos';
@ -108,17 +94,10 @@ class DbAcoTest extends DbAclNodeTestBase {
*/ */
class DbPermissionTest extends CakeTestModel { class DbPermissionTest extends CakeTestModel {
/**
* name property
*
* @var string 'DbPermissionTest'
*/
public $name = 'DbPermissionTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aros_acos' * @var string
*/ */
public $useTable = 'aros_acos'; public $useTable = 'aros_acos';
@ -144,17 +123,10 @@ class DbPermissionTest extends CakeTestModel {
*/ */
class DbAcoActionTest extends CakeTestModel { class DbAcoActionTest extends CakeTestModel {
/**
* name property
*
* @var string 'DbAcoActionTest'
*/
public $name = 'DbAcoActionTest';
/** /**
* useTable property * useTable property
* *
* @var string 'aco_actions' * @var string
*/ */
public $useTable = 'aco_actions'; public $useTable = 'aco_actions';
@ -176,14 +148,14 @@ class DbAroUserTest extends CakeTestModel {
/** /**
* name property * name property
* *
* @var string 'AuthUser' * @var string
*/ */
public $name = 'AuthUser'; public $name = 'AuthUser';
/** /**
* useTable property * useTable property
* *
* @var string 'auth_users' * @var string
*/ */
public $useTable = 'auth_users'; public $useTable = 'auth_users';

View file

@ -33,13 +33,6 @@ App::uses('DbAcl', 'Model');
*/ */
class AclPerson extends CakeTestModel { class AclPerson extends CakeTestModel {
/**
* name property
*
* @var string
*/
public $name = 'AclPerson';
/** /**
* useTable property * useTable property
* *

View file

@ -29,17 +29,10 @@ App::uses('CakeTestFixture', 'TestSuite/Fixture');
*/ */
class MyAppSchema extends CakeSchema { class MyAppSchema extends CakeSchema {
/**
* name property
*
* @var string 'MyApp'
*/
public $name = 'MyApp';
/** /**
* connection property * connection property
* *
* @var string 'test' * @var string
*/ */
public $connection = 'test'; public $connection = 'test';
@ -127,7 +120,7 @@ class TestAppSchema extends CakeSchema {
/** /**
* name property * name property
* *
* @var string 'MyApp' * @var string
*/ */
public $name = 'MyApp'; public $name = 'MyApp';
@ -232,17 +225,10 @@ class TestAppSchema extends CakeSchema {
*/ */
class SchemaPost extends CakeTestModel { class SchemaPost extends CakeTestModel {
/**
* name property
*
* @var string 'SchemaPost'
*/
public $name = 'SchemaPost';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'posts'; public $useTable = 'posts';
@ -268,17 +254,10 @@ class SchemaPost extends CakeTestModel {
*/ */
class SchemaComment extends CakeTestModel { class SchemaComment extends CakeTestModel {
/**
* name property
*
* @var string 'SchemaComment'
*/
public $name = 'SchemaComment';
/** /**
* useTable property * useTable property
* *
* @var string 'comments' * @var string
*/ */
public $useTable = 'comments'; public $useTable = 'comments';
@ -297,17 +276,10 @@ class SchemaComment extends CakeTestModel {
*/ */
class SchemaTag extends CakeTestModel { class SchemaTag extends CakeTestModel {
/**
* name property
*
* @var string 'SchemaTag'
*/
public $name = 'SchemaTag';
/** /**
* useTable property * useTable property
* *
* @var string 'tags' * @var string
*/ */
public $useTable = 'tags'; public $useTable = 'tags';
@ -326,17 +298,10 @@ class SchemaTag extends CakeTestModel {
*/ */
class SchemaDatatype extends CakeTestModel { class SchemaDatatype extends CakeTestModel {
/**
* name property
*
* @var string 'SchemaDatatype'
*/
public $name = 'SchemaDatatype';
/** /**
* useTable property * useTable property
* *
* @var string 'datatypes' * @var string
*/ */
public $useTable = 'datatypes'; public $useTable = 'datatypes';
} }
@ -352,13 +317,6 @@ class SchemaDatatype extends CakeTestModel {
* @package Cake.Test.Case.Model * @package Cake.Test.Case.Model
*/ */
class Testdescribe extends CakeTestModel { class Testdescribe extends CakeTestModel {
/**
* name property
*
* @var string 'Testdescribe'
*/
public $name = 'Testdescribe';
} }
/** /**
@ -368,24 +326,17 @@ class Testdescribe extends CakeTestModel {
*/ */
class SchemaCrossDatabase extends CakeTestModel { class SchemaCrossDatabase extends CakeTestModel {
/**
* name property
*
* @var string 'SchemaCrossDatabase'
*/
public $name = 'SchemaCrossDatabase';
/** /**
* useTable property * useTable property
* *
* @var string 'posts' * @var string
*/ */
public $useTable = 'cross_database'; public $useTable = 'cross_database';
/** /**
* useDbConfig property * useDbConfig property
* *
* @var string 'test2' * @var string
*/ */
public $useDbConfig = 'test2'; public $useDbConfig = 'test2';
} }
@ -400,13 +351,14 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
/** /**
* name property * name property
* *
* @var string 'CrossDatabase' * @var string
*/ */
public $name = 'CrossDatabase'; public $name = 'CrossDatabase';
/** /**
* table property * table property
* *
* @var string
*/ */
public $table = 'cross_database'; public $table = 'cross_database';
@ -438,13 +390,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
*/ */
class SchemaPrefixAuthUser extends CakeTestModel { class SchemaPrefixAuthUser extends CakeTestModel {
/**
* name property
*
* @var string
*/
public $name = 'SchemaPrefixAuthUser';
/** /**
* table prefix * table prefix
* *

View file

@ -66,13 +66,6 @@ class DboPostgresTestDb extends Postgres {
*/ */
class PostgresTestModel extends Model { class PostgresTestModel extends Model {
/**
* name property
*
* @var string 'PostgresTestModel'
*/
public $name = 'PostgresTestModel';
/** /**
* useTable property * useTable property
* *
@ -154,13 +147,6 @@ class PostgresTestModel extends Model {
*/ */
class PostgresClientTestModel extends Model { class PostgresClientTestModel extends Model {
/**
* name property
*
* @var string 'PostgresClientTestModel'
*/
public $name = 'PostgresClientTestModel';
/** /**
* useTable property * useTable property
* *

View file

@ -115,13 +115,6 @@ class SqlserverTestDb extends Sqlserver {
*/ */
class SqlserverTestModel extends CakeTestModel { class SqlserverTestModel extends CakeTestModel {
/**
* name property
*
* @var string 'SqlserverTestModel'
*/
public $name = 'SqlserverTestModel';
/** /**
* useTable property * useTable property
* *
@ -188,13 +181,6 @@ class SqlserverTestModel extends CakeTestModel {
*/ */
class SqlserverClientTestModel extends CakeTestModel { class SqlserverClientTestModel extends CakeTestModel {
/**
* name property
*
* @var string 'SqlserverAssociatedTestModel'
*/
public $name = 'SqlserverClientTestModel';
/** /**
* useTable property * useTable property
* *

View file

@ -30,8 +30,6 @@ class_exists('CakeSession');
*/ */
class SessionTestModel extends Model { class SessionTestModel extends Model {
public $name = 'SessionTestModel';
public $useTable = 'sessions'; public $useTable = 'sessions';
} }

File diff suppressed because it is too large Load diff

View file

@ -122,13 +122,6 @@ interface DispatcherTestInterfaceController {
*/ */
class MyPluginController extends MyPluginAppController { class MyPluginController extends MyPluginAppController {
/**
* name property
*
* @var string 'MyPlugin'
*/
public $name = 'MyPlugin';
/** /**
* uses property * uses property
* *
@ -173,13 +166,6 @@ class MyPluginController extends MyPluginAppController {
*/ */
class SomePagesController extends AppController { class SomePagesController extends AppController {
/**
* name property
*
* @var string 'SomePages'
*/
public $name = 'SomePages';
/** /**
* uses property * uses property
* *
@ -234,13 +220,6 @@ class SomePagesController extends AppController {
*/ */
class OtherPagesController extends MyPluginAppController { class OtherPagesController extends MyPluginAppController {
/**
* name property
*
* @var string 'OtherPages'
*/
public $name = 'OtherPages';
/** /**
* uses property * uses property
* *
@ -276,13 +255,6 @@ class OtherPagesController extends MyPluginAppController {
*/ */
class TestDispatchPagesController extends AppController { class TestDispatchPagesController extends AppController {
/**
* name property
*
* @var string 'TestDispatchPages'
*/
public $name = 'TestDispatchPages';
/** /**
* uses property * uses property
* *
@ -325,13 +297,6 @@ class ArticlesTestAppController extends AppController {
*/ */
class ArticlesTestController extends ArticlesTestAppController { class ArticlesTestController extends ArticlesTestAppController {
/**
* name property
*
* @var string 'ArticlesTest'
*/
public $name = 'ArticlesTest';
/** /**
* uses property * uses property
* *
@ -366,13 +331,6 @@ class ArticlesTestController extends ArticlesTestAppController {
*/ */
class SomePostsController extends AppController { class SomePostsController extends AppController {
/**
* name property
*
* @var string 'SomePosts'
*/
public $name = 'SomePosts';
/** /**
* uses property * uses property
* *
@ -428,13 +386,6 @@ class SomePostsController extends AppController {
*/ */
class TestCachedPagesController extends Controller { class TestCachedPagesController extends Controller {
/**
* name property
*
* @var string 'TestCachedPages'
*/
public $name = 'TestCachedPages';
/** /**
* uses property * uses property
* *
@ -470,7 +421,7 @@ class TestCachedPagesController extends Controller {
/** /**
* viewPath property * viewPath property
* *
* @var string 'posts' * @var string
*/ */
public $viewPath = 'Posts'; public $viewPath = 'Posts';
@ -529,13 +480,6 @@ class TestCachedPagesController extends Controller {
*/ */
class TimesheetsController extends Controller { class TimesheetsController extends Controller {
/**
* name property
*
* @var string 'Timesheets'
*/
public $name = 'Timesheets';
/** /**
* uses property * uses property
* *

View file

@ -41,13 +41,6 @@ class ClassRegisterModel extends CakeTestModel {
* @package Cake.Test.Case.Utility * @package Cake.Test.Case.Utility
*/ */
class RegisterArticle extends ClassRegisterModel { class RegisterArticle extends ClassRegisterModel {
/**
* name property
*
* @var string 'RegisterArticle'
*/
public $name = 'RegisterArticle';
} }
/** /**
@ -56,13 +49,6 @@ class RegisterArticle extends ClassRegisterModel {
* @package Cake.Test.Case.Utility * @package Cake.Test.Case.Utility
*/ */
class RegisterArticleFeatured extends ClassRegisterModel { class RegisterArticleFeatured extends ClassRegisterModel {
/**
* name property
*
* @var string 'RegisterArticleFeatured'
*/
public $name = 'RegisterArticleFeatured';
} }
/** /**
@ -71,13 +57,6 @@ class RegisterArticleFeatured extends ClassRegisterModel {
* @package Cake.Test.Case.Utility * @package Cake.Test.Case.Utility
*/ */
class RegisterArticleTag extends ClassRegisterModel { class RegisterArticleTag extends ClassRegisterModel {
/**
* name property
*
* @var string 'RegisterArticleTag'
*/
public $name = 'RegisterArticleTag';
} }
/** /**
@ -90,7 +69,7 @@ class RegistryPluginAppModel extends ClassRegisterModel {
/** /**
* tablePrefix property * tablePrefix property
* *
* @var string 'something_' * @var string
*/ */
public $tablePrefix = 'something_'; public $tablePrefix = 'something_';
} }
@ -101,13 +80,6 @@ class RegistryPluginAppModel extends ClassRegisterModel {
* @package Cake.Test.Case.Utility * @package Cake.Test.Case.Utility
*/ */
class TestRegistryPluginModel extends RegistryPluginAppModel { class TestRegistryPluginModel extends RegistryPluginAppModel {
/**
* name property
*
* @var string 'TestRegistryPluginModel'
*/
public $name = 'TestRegistryPluginModel';
} }
/** /**
@ -116,13 +88,6 @@ class TestRegistryPluginModel extends RegistryPluginAppModel {
* @package Cake.Test.Case.Utility * @package Cake.Test.Case.Utility
*/ */
class RegisterCategory extends ClassRegisterModel { class RegisterCategory extends ClassRegisterModel {
/**
* name property
*
* @var string 'RegisterCategory'
*/
public $name = 'RegisterCategory';
} }
/** /**
* RegisterPrefixedDs class * RegisterPrefixedDs class
@ -134,7 +99,7 @@ class RegisterPrefixedDs extends ClassRegisterModel {
/** /**
* useDbConfig property * useDbConfig property
* *
* @var string 'doesnotexist' * @var string
*/ */
public $useDbConfig = 'doesnotexist'; public $useDbConfig = 'doesnotexist';
} }

View file

@ -27,17 +27,10 @@ App::uses('Sanitize', 'Utility');
*/ */
class SanitizeDataTest extends CakeTestModel { class SanitizeDataTest extends CakeTestModel {
/**
* name property
*
* @var string 'SanitizeDataTest'
*/
public $name = 'SanitizeDataTest';
/** /**
* useTable property * useTable property
* *
* @var string 'data_tests' * @var string
*/ */
public $useTable = 'data_tests'; public $useTable = 'data_tests';
} }
@ -49,17 +42,10 @@ class SanitizeDataTest extends CakeTestModel {
*/ */
class SanitizeArticle extends CakeTestModel { class SanitizeArticle extends CakeTestModel {
/**
* name property
*
* @var string 'Article'
*/
public $name = 'SanitizeArticle';
/** /**
* useTable property * useTable property
* *
* @var string 'articles' * @var string
*/ */
public $useTable = 'articles'; public $useTable = 'articles';
} }

View file

@ -31,7 +31,7 @@ class XmlArticle extends CakeTestModel {
/** /**
* name property * name property
* *
* @var string 'Article' * @var string
*/ */
public $name = 'Article'; public $name = 'Article';
@ -58,7 +58,7 @@ class XmlUser extends CakeTestModel {
/** /**
* name property * name property
* *
* @var string 'User' * @var string
*/ */
public $name = 'User'; public $name = 'User';

View file

@ -181,7 +181,7 @@ class ContactNonStandardPk extends Contact {
/** /**
* primaryKey property * primaryKey property
* *
* @var string 'pk' * @var string
*/ */
public $primaryKey = 'pk'; public $primaryKey = 'pk';

View file

@ -40,7 +40,7 @@ class TheHtmlTestController extends Controller {
/** /**
* name property * name property
* *
* @var string 'TheTest' * @var string
*/ */
public $name = 'TheTest'; public $name = 'TheTest';

View file

@ -54,7 +54,7 @@ class ScaffoldViewMockController extends Controller {
/** /**
* name property * name property
* *
* @var string 'ScaffoldMock' * @var string
*/ */
public $name = 'ScaffoldMock'; public $name = 'ScaffoldMock';

View file

@ -32,7 +32,7 @@ class ThemePosts2Controller extends Controller {
/** /**
* name property * name property
* *
* @var string 'ThemePosts' * @var string
*/ */
public $name = 'ThemePosts'; public $name = 'ThemePosts';

View file

@ -35,7 +35,7 @@ class ViewPostsController extends Controller {
/** /**
* name property * name property
* *
* @var string 'Posts' * @var string
*/ */
public $name = 'Posts'; public $name = 'Posts';
@ -78,13 +78,6 @@ class ViewPostsController extends Controller {
*/ */
class ThemePostsController extends Controller { class ThemePostsController extends Controller {
/**
* name property
*
* @var string 'ThemePosts'
*/
public $name = 'ThemePosts';
public $theme = null; public $theme = null;
/** /**
@ -200,7 +193,7 @@ class TestAfterHelper extends Helper {
/** /**
* property property * property property
* *
* @var string '' * @var string
*/ */
public $property = ''; public $property = '';