Permalink
Browse files

remove name attribute where not necessary, clean up doc blocks

  • Loading branch information...
1 parent b75449d commit 394bf1054d94a1297b81eaa7959420cb34568b19 @dereuromark dereuromark committed Jun 8, 2013
Showing with 246 additions and 707 deletions.
  1. +0 −3 lib/Cake/Test/Case/Console/Command/BakeShellTest.php
  2. +1 −8 lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
  3. +0 −2 lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
  4. +0 −28 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
  5. +0 −28 lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php
  6. +7 −7 lib/Cake/Test/Case/Controller/Component/Acl/DbAclTest.php
  7. +2 −23 lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
  8. +1 −8 lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
  9. +7 −42 lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
  10. +0 −7 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
  11. +1 −15 lib/Cake/Test/Case/Controller/ComponentTest.php
  12. +0 −14 lib/Cake/Test/Case/Controller/ControllerMergeVarsTest.php
  13. +9 −42 lib/Cake/Test/Case/Controller/ControllerTest.php
  14. +1 −8 lib/Cake/Test/Case/Controller/ScaffoldTest.php
  15. +3 −12 lib/Cake/Test/Case/Core/ObjectTest.php
  16. +0 −7 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
  17. +7 −35 lib/Cake/Test/Case/Model/AclNodeTest.php
  18. +0 −7 lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
  19. +10 −65 lib/Cake/Test/Case/Model/CakeSchemaTest.php
  20. +0 −14 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
  21. +0 −14 lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php
  22. +0 −2 lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php
  23. +184 −191 lib/Cake/Test/Case/Model/models.php
  24. +1 −57 lib/Cake/Test/Case/Routing/DispatcherTest.php
  25. +2 −37 lib/Cake/Test/Case/Utility/ClassRegistryTest.php
  26. +2 −16 lib/Cake/Test/Case/Utility/SanitizeTest.php
  27. +2 −2 lib/Cake/Test/Case/Utility/XmlTest.php
  28. +1 −1 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  29. +1 −1 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
  30. +1 −1 lib/Cake/Test/Case/View/ScaffoldViewTest.php
  31. +1 −1 lib/Cake/Test/Case/View/ThemeViewTest.php
  32. +2 −9 lib/Cake/Test/Case/View/ViewTest.php
View
3 lib/Cake/Test/Case/Console/Command/BakeShellTest.php
@@ -31,9 +31,6 @@
if (!class_exists('UsersController')) {
class UsersController extends Controller {
-
- public $name = 'Users';
-
}
}
View
9 lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
@@ -33,16 +33,9 @@
class SchemaShellTestSchema extends CakeSchema {
/**
- * name property
- *
- * @var string 'MyApp'
- */
- public $name = 'SchemaShellTest';
-
-/**
* connection property
*
- * @var string 'test'
+ * @var string
*/
public $connection = 'test';
View
2 lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
@@ -45,8 +45,6 @@
*/
class BakeArticle extends Model {
- public $name = 'BakeArticle';
-
public $hasMany = array('BakeComment');
public $hasAndBelongsToMany = array('BakeTag');
View
28 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
@@ -37,13 +37,6 @@
class TestTaskArticle extends Model {
/**
- * Model name
- *
- * @var string
- */
- public $name = 'TestTaskArticle';
-
-/**
* Table name to use
*
* @var string
@@ -110,13 +103,6 @@ protected function _innerMethod() {
class TestTaskTag extends Model {
/**
- * Model name
- *
- * @var string
- */
- public $name = 'TestTaskTag';
-
-/**
* Table name
*
* @var string
@@ -154,13 +140,6 @@ class TestTaskAppModel extends Model {
class TestTaskComment extends TestTaskAppModel {
/**
- * Model name
- *
- * @var string
- */
- public $name = 'TestTaskComment';
-
-/**
* Table name
*
* @var string
@@ -188,13 +167,6 @@ class TestTaskComment extends TestTaskAppModel {
class TestTaskCommentsController extends Controller {
/**
- * Controller Name
- *
- * @var string
- */
- public $name = 'TestTaskComments';
-
-/**
* Models to use
*
* @var array
View
28 lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php
@@ -40,13 +40,6 @@
class ViewTaskComment extends Model {
/**
- * Model name
- *
- * @var string
- */
- public $name = 'ViewTaskComment';
-
-/**
* Table name
*
* @var string
@@ -74,13 +67,6 @@ class ViewTaskComment extends Model {
class ViewTaskArticle extends Model {
/**
- * Model name
- *
- * @var string
- */
- public $name = 'ViewTaskArticle';
-
-/**
* Table name
*
* @var string
@@ -96,13 +82,6 @@ class ViewTaskArticle extends Model {
class ViewTaskCommentsController extends Controller {
/**
- * Controller name
- *
- * @var string
- */
- public $name = 'ViewTaskComments';
-
-/**
* Testing public controller action
*
* @return void
@@ -128,13 +107,6 @@ public function add() {
class ViewTaskArticlesController extends Controller {
/**
- * Controller name
- *
- * @var string
- */
- public $name = 'ViewTaskArticles';
-
-/**
* Test public controller action
*
* @return void
View
14 lib/Cake/Test/Case/Controller/Component/Acl/DbAclTest.php
@@ -35,7 +35,7 @@ class AclNodeTwoTestBase extends AclNode {
/**
* useDbConfig property
*
- * @var string 'test'
+ * @var string
*/
public $useDbConfig = 'test';
@@ -57,14 +57,14 @@ class AroTwoTest extends AclNodeTwoTestBase {
/**
* name property
*
- * @var string 'AroTwoTest'
+ * @var string
*/
public $name = 'AroTwoTest';
/**
* useTable property
*
- * @var string 'aro_twos'
+ * @var string
*/
public $useTable = 'aro_twos';
@@ -86,14 +86,14 @@ class AcoTwoTest extends AclNodeTwoTestBase {
/**
* name property
*
- * @var string 'AcoTwoTest'
+ * @var string
*/
public $name = 'AcoTwoTest';
/**
* useTable property
*
- * @var string 'aco_twos'
+ * @var string
*/
public $useTable = 'aco_twos';
@@ -115,14 +115,14 @@ class PermissionTwoTest extends Permission {
/**
* name property
*
- * @var string 'PermissionTwoTest'
+ * @var string
*/
public $name = 'PermissionTwoTest';
/**
* useTable property
*
- * @var string 'aros_aco_twos'
+ * @var string
*/
public $useTable = 'aros_aco_twos';
View
25 lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
@@ -60,16 +60,9 @@ public static function clearUser() {
class AuthUser extends CakeTestModel {
/**
- * name property
- *
- * @var string 'AuthUser'
- */
- public $name = 'AuthUser';
-
-/**
* useDbConfig property
*
- * @var string 'test'
+ * @var string
*/
public $useDbConfig = 'test';
@@ -83,13 +76,6 @@ class AuthUser extends CakeTestModel {
class AuthTestController extends Controller {
/**
- * name property
- *
- * @var string 'AuthTest'
- */
- public $name = 'AuthTest';
-
-/**
* uses property
*
* @var array
@@ -204,13 +190,6 @@ public function isAuthorized() {
class AjaxAuthController extends Controller {
/**
- * name property
- *
- * @var string 'AjaxAuth'
- */
- public $name = 'AjaxAuth';
-
-/**
* components property
*
* @var array
@@ -278,7 +257,7 @@ class AuthComponentTest extends CakeTestCase {
/**
* name property
*
- * @var string 'Auth'
+ * @var string
*/
public $name = 'Auth';
View
9 lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
@@ -94,13 +94,6 @@ public function send(CakeEmail $email) {
class EmailTestController extends Controller {
/**
- * name property
- *
- * @var string 'EmailTest'
- */
- public $name = 'EmailTest';
-
-/**
* uses property
*
* @var mixed null
@@ -133,7 +126,7 @@ class EmailComponentTest extends CakeTestCase {
/**
* name property
*
- * @var string 'Email'
+ * @var string
*/
public $name = 'Email';
View
49 lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
@@ -33,13 +33,6 @@
class PaginatorTestController extends Controller {
/**
- * name property
- *
- * @var string 'PaginatorTest'
- */
- public $name = 'PaginatorTest';
-
-/**
* components property
*
* @var array
@@ -55,16 +48,9 @@ class PaginatorTestController extends Controller {
class PaginatorControllerPost extends CakeTestModel {
/**
- * name property
- *
- * @var string 'PaginatorControllerPost'
- */
- public $name = 'PaginatorControllerPost';
-
-/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'posts';
@@ -125,16 +111,9 @@ public function find($conditions = null, $fields = array(), $order = null, $recu
class ControllerPaginateModel extends CakeTestModel {
/**
- * name property
- *
- * @var string 'ControllerPaginateModel'
- */
- public $name = 'ControllerPaginateModel';
-
-/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
@@ -169,21 +148,21 @@ class PaginatorControllerComment extends CakeTestModel {
/**
* name property
*
- * @var string 'Comment'
+ * @var string
*/
public $name = 'Comment';
/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
/**
* alias property
*
- * @var string 'PaginatorControllerComment'
+ * @var string
*/
public $alias = 'PaginatorControllerComment';
}
@@ -196,30 +175,16 @@ class PaginatorControllerComment extends CakeTestModel {
class PaginatorAuthor extends CakeTestModel {
/**
- * name property
- *
- * @var string 'PaginatorAuthor'
- */
- public $name = 'PaginatorAuthor';
-
-/**
* useTable property
*
- * @var string 'authors'
+ * @var string
*/
public $useTable = 'authors';
/**
* alias property
*
- * @var string 'PaginatorAuthor'
- */
- public $alias = 'PaginatorAuthor';
-
-/**
- * alias property
- *
- * @var string 'PaginatorAuthor'
+ * @var string
*/
public $virtualFields = array(
'joined_offset' => 'PaginatorAuthor.id + 1'
View
7 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
@@ -48,13 +48,6 @@ public function validatePost(Controller $controller) {
class SecurityTestController extends Controller {
/**
- * name property
- *
- * @var string 'SecurityTest'
- */
- public $name = 'SecurityTest';
-
-/**
* components property
*
* @var array
View
16 lib/Cake/Test/Case/Controller/ComponentTest.php
@@ -29,13 +29,6 @@
class ParamTestComponent extends Component {
/**
- * name property
- *
- * @var string 'ParamTest'
- */
- public $name = 'ParamTest';
-
-/**
* components property
*
* @var array
@@ -51,13 +44,6 @@ class ParamTestComponent extends Component {
class ComponentTestController extends Controller {
/**
- * name property
- *
- * @var string 'ComponentTest'
- */
- public $name = 'ComponentTest';
-
-/**
* uses property
*
* @var array
@@ -146,7 +132,7 @@ class BananaComponent extends Component {
/**
* testField property
*
- * @var string 'BananaField'
+ * @var string
*/
public $testField = 'BananaField';
View
14 lib/Cake/Test/Case/Controller/ControllerMergeVarsTest.php
@@ -61,13 +61,6 @@ class MergeVarComponent extends Object {
class MergeVariablesController extends MergeVarsAppController {
/**
- * name
- *
- * @var string
- */
- public $name = 'MergeVariables';
-
-/**
* uses
*
* @var arrays
@@ -119,13 +112,6 @@ class MergeVarPluginAppController extends MergeVarsAppController {
class MergePostsController extends MergeVarPluginAppController {
/**
- * name
- *
- * @var string
- */
- public $name = 'MergePosts';
-
-/**
* uses
*
* @var array
View
51 lib/Cake/Test/Case/Controller/ControllerTest.php
@@ -59,16 +59,9 @@ class ControllerTestAppController extends Controller {
class ControllerPost extends CakeTestModel {
/**
- * name property
- *
- * @var string 'ControllerPost'
- */
- public $name = 'ControllerPost';
-
-/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'posts';
@@ -121,13 +114,6 @@ public function find($type = 'first', $options = array()) {
*/
class ControllerCommentsController extends ControllerTestAppController {
-/**
- * name property
- *
- * @var string 'ControllerPost'
- */
- public $name = 'ControllerComments';
-
protected $_mergeParent = 'ControllerTestAppController';
}
@@ -141,14 +127,14 @@ class ControllerComment extends CakeTestModel {
/**
* name property
*
- * @var string 'ControllerComment'
+ * @var string
*/
public $name = 'Comment';
/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
@@ -162,7 +148,7 @@ class ControllerComment extends CakeTestModel {
/**
* alias property
*
- * @var string 'ControllerComment'
+ * @var string
*/
public $alias = 'ControllerComment';
}
@@ -175,23 +161,16 @@ class ControllerComment extends CakeTestModel {
class ControllerAlias extends CakeTestModel {
/**
- * name property
- *
- * @var string 'ControllerAlias'
- */
- public $name = 'ControllerAlias';
-
-/**
* alias property
*
- * @var string 'ControllerSomeAlias'
+ * @var string
*/
public $alias = 'ControllerSomeAlias';
/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'posts';
}
@@ -205,20 +184,20 @@ class NameTest extends CakeTestModel {
/**
* name property
- * @var string 'Name'
+ * @var string
*/
public $name = 'Name';
/**
* useTable property
- * @var string 'names'
+ * @var string
*/
public $useTable = 'comments';
/**
* alias property
*
- * @var string 'ControllerComment'
+ * @var string
*/
public $alias = 'Name';
}
@@ -231,12 +210,6 @@ class NameTest extends CakeTestModel {
class TestController extends ControllerTestAppController {
/**
- * name property
- * @var string 'Name'
- */
- public $name = 'Test';
-
-/**
* helpers property
*
* @var array
@@ -382,12 +355,6 @@ public function beforeRender(Controller $controller) {
class AnotherTestController extends ControllerTestAppController {
/**
- * name property
- * @var string 'Name'
- */
- public $name = 'AnotherTest';
-
-/**
* uses property
*
* @var array
View
9 lib/Cake/Test/Case/Controller/ScaffoldTest.php
@@ -34,13 +34,6 @@
class ScaffoldMockController extends Controller {
/**
- * name property
- *
- * @var string 'ScaffoldMock'
- */
- public $name = 'ScaffoldMock';
-
-/**
* scaffold property
*
* @var mixed
@@ -58,7 +51,7 @@ class ScaffoldMockControllerWithFields extends Controller {
/**
* name property
*
- * @var string 'ScaffoldMock'
+ * @var string
*/
public $name = 'ScaffoldMock';
View
15 lib/Cake/Test/Case/Core/ObjectTest.php
@@ -31,16 +31,9 @@
class RequestActionPost extends CakeTestModel {
/**
- * name property
- *
- * @var string 'ControllerPost'
- */
- public $name = 'RequestActionPost';
-
-/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'posts';
}
@@ -149,14 +142,14 @@ class TestObject extends Object {
/**
* firstName property
*
- * @var string 'Joel'
+ * @var string
*/
public $firstName = 'Joel';
/**
* lastName property
*
- * @var string 'Moss'
+ * @var string
*/
public $lastName = 'Moss';
@@ -282,8 +275,6 @@ class ObjectTestModel extends CakeTestModel {
public $useTable = false;
- public $name = 'ObjectTestModel';
-
}
/**
View
7 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
@@ -31,13 +31,6 @@
class AuthBlueberryUser extends CakeTestModel {
/**
- * name property
- *
- * @var string 'AuthBlueberryUser'
- */
- public $name = 'AuthBlueberryUser';
-
-/**
* useTable property
*
* @var string
View
42 lib/Cake/Test/Case/Model/AclNodeTest.php
@@ -31,7 +31,7 @@ class DbAclNodeTestBase extends AclNode {
/**
* useDbConfig property
*
- * @var string 'test'
+ * @var string
*/
public $useDbConfig = 'test';
@@ -51,16 +51,9 @@ class DbAclNodeTestBase extends AclNode {
class DbAroTest extends DbAclNodeTestBase {
/**
- * name property
- *
- * @var string 'DbAroTest'
- */
- public $name = 'DbAroTest';
-
-/**
* useTable property
*
- * @var string 'aros'
+ * @var string
*/
public $useTable = 'aros';
@@ -80,16 +73,9 @@ class DbAroTest extends DbAclNodeTestBase {
class DbAcoTest extends DbAclNodeTestBase {
/**
- * name property
- *
- * @var string 'DbAcoTest'
- */
- public $name = 'DbAcoTest';
-
-/**
* useTable property
*
- * @var string 'acos'
+ * @var string
*/
public $useTable = 'acos';
@@ -109,16 +95,9 @@ class DbAcoTest extends DbAclNodeTestBase {
class DbPermissionTest extends CakeTestModel {
/**
- * name property
- *
- * @var string 'DbPermissionTest'
- */
- public $name = 'DbPermissionTest';
-
-/**
* useTable property
*
- * @var string 'aros_acos'
+ * @var string
*/
public $useTable = 'aros_acos';
@@ -145,16 +124,9 @@ class DbPermissionTest extends CakeTestModel {
class DbAcoActionTest extends CakeTestModel {
/**
- * name property
- *
- * @var string 'DbAcoActionTest'
- */
- public $name = 'DbAcoActionTest';
-
-/**
* useTable property
*
- * @var string 'aco_actions'
+ * @var string
*/
public $useTable = 'aco_actions';
@@ -176,14 +148,14 @@ class DbAroUserTest extends CakeTestModel {
/**
* name property
*
- * @var string 'AuthUser'
+ * @var string
*/
public $name = 'AuthUser';
/**
* useTable property
*
- * @var string 'auth_users'
+ * @var string
*/
public $useTable = 'auth_users';
View
7 lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
@@ -34,13 +34,6 @@
class AclPerson extends CakeTestModel {
/**
- * name property
- *
- * @var string
- */
- public $name = 'AclPerson';
-
-/**
* useTable property
*
* @var string
View
75 lib/Cake/Test/Case/Model/CakeSchemaTest.php
@@ -30,16 +30,9 @@
class MyAppSchema extends CakeSchema {
/**
- * name property
- *
- * @var string 'MyApp'
- */
- public $name = 'MyApp';
-
-/**
* connection property
*
- * @var string 'test'
+ * @var string
*/
public $connection = 'test';
@@ -127,7 +120,7 @@ class TestAppSchema extends CakeSchema {
/**
* name property
*
- * @var string 'MyApp'
+ * @var string
*/
public $name = 'MyApp';
@@ -233,16 +226,9 @@ public function teardown($version) {
class SchemaPost extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SchemaPost'
- */
- public $name = 'SchemaPost';
-
-/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'posts';
@@ -269,16 +255,9 @@ class SchemaPost extends CakeTestModel {
class SchemaComment extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SchemaComment'
- */
- public $name = 'SchemaComment';
-
-/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
@@ -298,16 +277,9 @@ class SchemaComment extends CakeTestModel {
class SchemaTag extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SchemaTag'
- */
- public $name = 'SchemaTag';
-
-/**
* useTable property
*
- * @var string 'tags'
+ * @var string
*/
public $useTable = 'tags';
@@ -327,16 +299,9 @@ class SchemaTag extends CakeTestModel {
class SchemaDatatype extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SchemaDatatype'
- */
- public $name = 'SchemaDatatype';
-
-/**
* useTable property
*
- * @var string 'datatypes'
+ * @var string
*/
public $useTable = 'datatypes';
}
@@ -352,13 +317,6 @@ class SchemaDatatype extends CakeTestModel {
* @package Cake.Test.Case.Model
*/
class Testdescribe extends CakeTestModel {
-
-/**
- * name property
- *
- * @var string 'Testdescribe'
- */
- public $name = 'Testdescribe';
}
/**
@@ -369,23 +327,16 @@ class Testdescribe extends CakeTestModel {
class SchemaCrossDatabase extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SchemaCrossDatabase'
- */
- public $name = 'SchemaCrossDatabase';
-
-/**
* useTable property
*
- * @var string 'posts'
+ * @var string
*/
public $useTable = 'cross_database';
/**
* useDbConfig property
*
- * @var string 'test2'
+ * @var string
*/
public $useDbConfig = 'test2';
}
@@ -400,13 +351,14 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
/**
* name property
*
- * @var string 'CrossDatabase'
+ * @var string
*/
public $name = 'CrossDatabase';
/**
* table property
*
+ * @var string
*/
public $table = 'cross_database';
@@ -439,13 +391,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
class SchemaPrefixAuthUser extends CakeTestModel {
/**
- * name property
- *
- * @var string
- */
- public $name = 'SchemaPrefixAuthUser';
-
-/**
* table prefix
*
* @var string
View
14 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
@@ -67,13 +67,6 @@ public function getLastQuery() {
class PostgresTestModel extends Model {
/**
- * name property
- *
- * @var string 'PostgresTestModel'
- */
- public $name = 'PostgresTestModel';
-
-/**
* useTable property
*
* @var bool false
@@ -155,13 +148,6 @@ public function schema($field = false) {
class PostgresClientTestModel extends Model {
/**
- * name property
- *
- * @var string 'PostgresClientTestModel'
- */
- public $name = 'PostgresClientTestModel';
-
-/**
* useTable property
*
* @var bool false
View
14 lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php
@@ -116,13 +116,6 @@ public function describe($model) {
class SqlserverTestModel extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SqlserverTestModel'
- */
- public $name = 'SqlserverTestModel';
-
-/**
* useTable property
*
* @var bool false
@@ -189,13 +182,6 @@ public function find($conditions = null, $fields = null, $order = null, $recursi
class SqlserverClientTestModel extends CakeTestModel {
/**
- * name property
- *
- * @var string 'SqlserverAssociatedTestModel'
- */
- public $name = 'SqlserverClientTestModel';
-
-/**
* useTable property
*
* @var bool false
View
2 lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php
@@ -30,8 +30,6 @@ class_exists('CakeSession');
*/
class SessionTestModel extends Model {
- public $name = 'SessionTestModel';
-
public $useTable = 'sessions';
}
View
375 lib/Cake/Test/Case/Model/models.php
@@ -75,7 +75,7 @@ class Test extends CakeTestModel {
/**
* name property
*
- * @var string 'Test'
+ * @var string
*/
public $name = 'Test';
@@ -112,18 +112,11 @@ class TestAlias extends CakeTestModel {
/**
* name property
*
- * @var string 'TestAlias'
+ * @var string
*/
public $name = 'TestAlias';
/**
- * alias property
- *
- * @var string 'TestAlias'
- */
- public $alias = 'TestAlias';
-
-/**
* schema property
*
* @var array
@@ -155,7 +148,7 @@ class TestValidate extends CakeTestModel {
/**
* name property
*
- * @var string 'TestValidate'
+ * @var string
*/
public $name = 'TestValidate';
@@ -208,7 +201,7 @@ class User extends CakeTestModel {
/**
* name property
*
- * @var string 'User'
+ * @var string
*/
public $name = 'User';
@@ -246,7 +239,7 @@ class Article extends CakeTestModel {
/**
* name property
*
- * @var string 'Article'
+ * @var string
*/
public $name = 'Article';
@@ -343,14 +336,14 @@ class NumericArticle extends CakeTestModel {
/**
* name property
*
- * @var string 'NumericArticle'
+ * @var string
*/
public $name = 'NumericArticle';
/**
* useTable property
*
- * @var string 'numeric_articles'
+ * @var string
*/
public $useTable = 'numeric_articles';
@@ -366,14 +359,14 @@ class Article10 extends CakeTestModel {
/**
* name property
*
- * @var string 'Article10'
+ * @var string
*/
public $name = 'Article10';
/**
* useTable property
*
- * @var string 'articles'
+ * @var string
*/
public $useTable = 'articles';
@@ -396,7 +389,7 @@ class ArticleFeatured extends CakeTestModel {
/**
* name property
*
- * @var string 'ArticleFeatured'
+ * @var string
*/
public $name = 'ArticleFeatured';
@@ -447,7 +440,7 @@ class Featured extends CakeTestModel {
/**
* name property
*
- * @var string 'Featured'
+ * @var string
*/
public $name = 'Featured';
@@ -469,7 +462,7 @@ class Tag extends CakeTestModel {
/**
* name property
*
- * @var string 'Tag'
+ * @var string
*/
public $name = 'Tag';
}
@@ -484,7 +477,7 @@ class ArticlesTag extends CakeTestModel {
/**
* name property
*
- * @var string 'ArticlesTag'
+ * @var string
*/
public $name = 'ArticlesTag';
}
@@ -499,7 +492,7 @@ class ArticleFeaturedsTag extends CakeTestModel {
/**
* name property
*
- * @var string 'ArticleFeaturedsTag'
+ * @var string
*/
public $name = 'ArticleFeaturedsTag';
}
@@ -514,7 +507,7 @@ class Comment extends CakeTestModel {
/**
* name property
*
- * @var string 'Comment'
+ * @var string
*/
public $name = 'Comment';
@@ -543,14 +536,14 @@ class ModifiedComment extends CakeTestModel {
/**
* name property
*
- * @var string 'Comment'
+ * @var string
*/
public $name = 'Comment';
/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
@@ -595,14 +588,14 @@ class AgainModifiedComment extends CakeTestModel {
/**
* name property
*
- * @var string 'Comment'
+ * @var string
*/
public $name = 'Comment';
/**
* useTable property
*
- * @var string 'comments'
+ * @var string
*/
public $useTable = 'comments';
@@ -702,7 +695,7 @@ class Attachment extends CakeTestModel {
/**
* name property
*
- * @var string 'Attachment'
+ * @var string
*/
public $name = 'Attachment';
@@ -724,14 +717,14 @@ class ModifiedAttachment extends CakeTestModel {
/**
* name property
*
- * @var string 'ModifiedAttachment'
+ * @var string
*/
public $name = 'ModifiedAttachment';
/**
* useTable property
*
- * @var string 'attachments'
+ * @var string
*/
public $useTable = 'attachments';
@@ -759,7 +752,7 @@ class Category extends CakeTestModel {
/**
* name property
*
- * @var string 'Category'
+ * @var string
*/
public $name = 'Category';
}
@@ -774,7 +767,7 @@ class CategoryThread extends CakeTestModel {
/**
* name property
*
- * @var string 'CategoryThread'
+ * @var string
*/
public $name = 'CategoryThread';
@@ -796,7 +789,7 @@ class Apple extends CakeTestModel {
/**
* name property
*
- * @var string 'Apple'
+ * @var string
*/
public $name = 'Apple';
@@ -839,14 +832,14 @@ class Sample extends CakeTestModel {
/**
* name property
*
- * @var string 'Sample'
+ * @var string
*/
public $name = 'Sample';
/**
* belongsTo property
*
- * @var string 'Apple'
+ * @var string
*/
public $belongsTo = 'Apple';
}
@@ -861,14 +854,14 @@ class AnotherArticle extends CakeTestModel {
/**
* name property
*
- * @var string 'AnotherArticle'
+ * @var string
*/
public $name = 'AnotherArticle';
/**
* hasMany property
*
- * @var string 'Home'
+ * @var string
*/
public $hasMany = 'Home';
}
@@ -883,14 +876,14 @@ class Advertisement extends CakeTestModel {
/**
* name property
*
- * @var string 'Advertisement'
+ * @var string
*/
public $name = 'Advertisement';
/**
* hasMany property
*
- * @var string 'Home'
+ * @var string
*/
public $hasMany = 'Home';
}
@@ -905,7 +898,7 @@ class Home extends CakeTestModel {
/**
* name property
*
- * @var string 'Home'
+ * @var string
*/
public $name = 'Home';
@@ -927,7 +920,7 @@ class Post extends CakeTestModel {
/**
* name property
*
- * @var string 'Post'
+ * @var string
*/
public $name = 'Post';
@@ -962,7 +955,7 @@ class Author extends CakeTestModel {
/**
* name property
*
- * @var string 'Author'
+ * @var string
*/
public $name = 'Author';
@@ -996,7 +989,7 @@ class ModifiedAuthor extends Author {
/**
* name property
*
- * @var string 'Author'
+ * @var string
*/
public $name = 'Author';
@@ -1025,7 +1018,7 @@ class Project extends CakeTestModel {
/**
* name property
*
- * @var string 'Project'
+ * @var string
*/
public $name = 'Project';
@@ -1047,7 +1040,7 @@ class Thread extends CakeTestModel {
/**
* name property
*
- * @var string 'Thread'
+ * @var string
*/
public $name = 'Thread';
@@ -1076,7 +1069,7 @@ class Message extends CakeTestModel {
/**
* name property
*
- * @var string 'Message'
+ * @var string
*/
public $name = 'Message';
@@ -1098,7 +1091,7 @@ class Bid extends CakeTestModel {
/**
* name property
*
- * @var string 'Bid'
+ * @var string
*/
public $name = 'Bid';
@@ -1120,14 +1113,14 @@ class BiddingMessage extends CakeTestModel {
/**
* name property
*
- * @var string 'BiddingMessage'
+ * @var string
*/
public $name = 'BiddingMessage';
/**
* primaryKey property
*
- * @var string 'bidding'
+ * @var string
*/
public $primaryKey = 'bidding';
@@ -1154,7 +1147,7 @@ class Bidding extends CakeTestModel {
/**
* name property
*
- * @var string 'Bidding'
+ * @var string
*/
public $name = 'Bidding';
@@ -1182,7 +1175,7 @@ class NodeAfterFind extends CakeTestModel {
/**
* name property
*
- * @var string 'NodeAfterFind'
+ * @var string
*/
public $name = 'NodeAfterFind';
@@ -1196,7 +1189,7 @@ class NodeAfterFind extends CakeTestModel {
/**
* useTable property
*
- * @var string 'apples'
+ * @var string
*/
public $useTable = 'apples';
@@ -1243,21 +1236,21 @@ class NodeAfterFindSample extends CakeTestModel {
/**
* name property
*
- * @var string 'NodeAfterFindSample'
+ * @var string
*/
public $name = 'NodeAfterFindSample';
/**
* useTable property
*
- * @var string 'samples'
+ * @var string
*/
public $useTable = 'samples';
/**
* belongsTo property
*
- * @var string 'NodeAfterFind'
+ * @var string
*/
public $belongsTo = 'NodeAfterFind';
}
@@ -1272,7 +1265,7 @@ class NodeNoAfterFind extends CakeTestModel {
/**
* name property
*
- * @var string 'NodeAfterFind'
+ * @var string
*/
public $name = 'NodeAfterFind';
@@ -1286,7 +1279,7 @@ class NodeNoAfterFind extends CakeTestModel {
/**
* useTable property
*
- * @var string 'apples'
+ * @var string
*/
public $useTable = 'apples';
@@ -1322,7 +1315,7 @@ class Node extends CakeTestModel {
/**
* name property
*
- * @var string 'Node'
+ * @var string
*/
public $name = 'Node';
@@ -1352,7 +1345,7 @@ class Dependency extends CakeTestModel {
/**
* name property
*
- * @var string 'Dependency'
+ * @var string
*/
public $name = 'Dependency';
}
@@ -1367,14 +1360,14 @@ class ModelA extends CakeTestModel {
/**
* name property
*
- * @var string 'ModelA'
+ * @var string
*/
public $name = 'ModelA';
/**
* useTable property
*
- * @var string 'apples'
+ * @var string
*/
public $useTable = 'apples';
@@ -1396,14 +1389,14 @@ class ModelB extends CakeTestModel {
/**
* name property
*
- * @var string 'ModelB'
+ * @var string
*/
public $name = 'ModelB';
/**
* useTable property
*
- * @var string 'messages'
+ * @var string
*/
public $useTable = 'messages';
@@ -1425,14 +1418,14 @@ class ModelC extends CakeTestModel {
/**
* name property
*
- * @var string 'ModelC'
+ * @var string
*/
public $name = 'ModelC';
/**
* useTable property
*
- * @var string 'bids'
+ * @var string
*/
public $useTable = 'bids';
@@ -1454,14 +1447,14 @@ class ModelD extends CakeTestModel {
/**
* name property
*
- * @var string 'ModelD'
+ * @var string
*/
public $name = 'ModelD';
/**
* useTable property
*
- * @var string 'threads'
+ * @var string
*/
public $useTable = 'threads';
}
@@ -1476,7 +1469,7 @@ class Something extends CakeTestModel {
/**
* name property
*
- * @var string 'Something'
+ * @var string
*/
public $name = 'Something';
@@ -1498,7 +1491,7 @@ class SomethingElse extends CakeTestModel {
/**
* name property
*
- * @var string 'SomethingElse'
+ * @var string
*/
public $name = 'SomethingElse';
@@ -1520,7 +1513,7 @@ class JoinThing extends CakeTestModel {
/**
* name property
*
- * @var string 'JoinThing'
+ * @var string
*/
public $name = 'JoinThing';
@@ -1542,7 +1535,7 @@ class Portfolio extends CakeTestModel {
/**
* name property
*
- * @var string 'Portfolio'
+ * @var string
*/
public $name = 'Portfolio';
@@ -1564,7 +1557,7 @@ class Item extends CakeTestModel {
/**
* name property
*
- * @var string 'Item'
+ * @var string
*/
public $name = 'Item';
@@ -1593,7 +1586,7 @@ class ItemsPortfolio extends CakeTestModel {
/**
* name property
*
- * @var string 'ItemsPortfolio'
+ * @var string
*/
public $name = 'ItemsPortfolio';
}
@@ -1608,7 +1601,7 @@ class Syfile extends CakeTestModel {
/**
* name property
*
- * @var string 'Syfile'
+ * @var string
*/
public $name = 'Syfile';
@@ -1630,7 +1623,7 @@ class Image extends CakeTestModel {
/**
* name property
*
- * @var string 'Image'
+ * @var string
*/
public $name = 'Image';
}
@@ -1645,7 +1638,7 @@ class DeviceType extends CakeTestModel {
/**
* name property
*
- * @var string 'DeviceType'
+ * @var string
*/
public $name = 'DeviceType';
@@ -1685,7 +1678,7 @@ class DeviceTypeCategory extends CakeTestModel {
/**
* name property
*
- * @var string 'DeviceTypeCategory'
+ * @var string
*/
public $name = 'DeviceTypeCategory';
}
@@ -1700,7 +1693,7 @@ class FeatureSet extends CakeTestModel {
/**
* name property
*
- * @var string 'FeatureSet'
+ * @var string
*/
public $name = 'FeatureSet';
}
@@ -1715,7 +1708,7 @@ class ExteriorTypeCategory extends CakeTestModel {
/**
* name property
*
- * @var string 'ExteriorTypeCategory'
+ * @var string
*/
public $name = 'ExteriorTypeCategory';
@@ -1737,7 +1730,7 @@ class Document extends CakeTestModel {
/**
* name property
*
- * @var string 'Document'
+ * @var string
*/
public $name = 'Document';
@@ -1759,7 +1752,7 @@ class Device extends CakeTestModel {
/**
* name property
*
- * @var string 'Device'
+ * @var string
*/
public $name = 'Device';
}
@@ -1774,7 +1767,7 @@ class DocumentDirectory extends CakeTestModel {
/**
* name property
*
- * @var string 'DocumentDirectory'
+ * @var string
*/
public $name = 'DocumentDirectory';
}
@@ -1789,7 +1782,7 @@ class PrimaryModel extends CakeTestModel {
/**
* name property
*
- * @var string 'PrimaryModel'
+ * @var string
*/
public $name = 'PrimaryModel';
}
@@ -1804,7 +1797,7 @@ class SecondaryModel extends CakeTestModel {
/**
* name property
*
- * @var string 'SecondaryModel'
+ * @var string
*/
public $name = 'SecondaryModel';
}
@@ -1819,7 +1812,7 @@ class JoinA extends CakeTestModel {
/**
* name property
*
- * @var string 'JoinA'
+ * @var string
*/
public $name = 'JoinA';
@@ -1841,7 +1834,7 @@ class JoinB extends CakeTestModel {
/**
* name property
*
- * @var string 'JoinB'
+ * @var string
*/
public $name = 'JoinB';
@@ -1863,7 +1856,7 @@ class JoinC extends CakeTestModel {
/**
* name property
*
- * @var string 'JoinC'
+ * @var string
*/
public $name = 'JoinC';
@@ -1885,14 +1878,14 @@ class ThePaper extends CakeTestModel {
/**
* name property
*
- * @var string 'ThePaper'
+ * @var string
*/
public $name = 'ThePaper';
/**
* useTable property
*
- * @var string 'apples'
+ * @var string
*/
public $useTable = 'apples';
@@ -1921,14 +1914,14 @@ class Monkey extends CakeTestModel {
/**
* name property
*
- * @var string 'Monkey'
+ * @var string
*/
public $name = 'Monkey';
/**
* useTable property
*
- * @var string 'devices'
+ * @var string
*/
public $useTable = 'devices';
}
@@ -1943,14 +1936,14 @@ class AssociationTest1 extends CakeTestModel {
/**
* useTable property
*
- * @var string 'join_as'
+ * @var string
*/
public $useTable = 'join_as';