Skip to content
Permalink
Browse files

remove name attribute where not necessary, clean up doc blocks

  • Loading branch information...
dereuromark committed Jun 8, 2013
1 parent b75449d commit 394bf1054d94a1297b81eaa7959420cb34568b19
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
@@ -31,9 +31,6 @@
if (!class_exists('UsersController')) {
class UsersController extends Controller {
public $name = 'Users';
}
}
@@ -32,17 +32,10 @@
*/
class SchemaShellTestSchema extends CakeSchema {
/**
* name property
*
* @var string 'MyApp'
*/
public $name = 'SchemaShellTest';
/**
* connection property
*
* @var string 'test'
* @var string
*/
public $connection = 'test';
@@ -45,8 +45,6 @@
*/
class BakeArticle extends Model {
public $name = 'BakeArticle';
public $hasMany = array('BakeComment');
public $hasAndBelongsToMany = array('BakeTag');
@@ -36,13 +36,6 @@
*/
class TestTaskArticle extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskArticle';
/**
* Table name to use
*
@@ -109,13 +102,6 @@ protected function _innerMethod() {
*/
class TestTaskTag extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskTag';
/**
* Table name
*
@@ -153,13 +139,6 @@ class TestTaskAppModel extends Model {
*/
class TestTaskComment extends TestTaskAppModel {
/**
* Model name
*
* @var string
*/
public $name = 'TestTaskComment';
/**
* Table name
*
@@ -187,13 +166,6 @@ class TestTaskComment extends TestTaskAppModel {
*/
class TestTaskCommentsController extends Controller {
/**
* Controller Name
*
* @var string
*/
public $name = 'TestTaskComments';
/**
* Models to use
*
@@ -39,13 +39,6 @@
*/
class ViewTaskComment extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'ViewTaskComment';
/**
* Table name
*
@@ -73,13 +66,6 @@ class ViewTaskComment extends Model {
*/
class ViewTaskArticle extends Model {
/**
* Model name
*
* @var string
*/
public $name = 'ViewTaskArticle';
/**
* Table name
*
@@ -95,13 +81,6 @@ class ViewTaskArticle extends Model {
*/
class ViewTaskCommentsController extends Controller {
/**
* Controller name
*
* @var string
*/
public $name = 'ViewTaskComments';
/**
* Testing public controller action
*
@@ -127,13 +106,6 @@ public function add() {
*/
class ViewTaskArticlesController extends Controller {
/**
* Controller name
*
* @var string
*/
public $name = 'ViewTaskArticles';
/**
* Test public controller action
*
@@ -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';
@@ -59,17 +59,10 @@ 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';
@@ -82,13 +75,6 @@ class AuthUser extends CakeTestModel {
*/
class AuthTestController extends Controller {
/**
* name property
*
* @var string 'AuthTest'
*/
public $name = 'AuthTest';
/**
* uses property
*
@@ -203,13 +189,6 @@ public function isAuthorized() {
*/
class AjaxAuthController extends Controller {
/**
* name property
*
* @var string 'AjaxAuth'
*/
public $name = 'AjaxAuth';
/**
* components property
*
@@ -278,7 +257,7 @@ class AuthComponentTest extends CakeTestCase {
/**
* name property
*
* @var string 'Auth'
* @var string
*/
public $name = 'Auth';
@@ -93,13 +93,6 @@ public function send(CakeEmail $email) {
*/
class EmailTestController extends Controller {
/**
* name property
*
* @var string 'EmailTest'
*/
public $name = 'EmailTest';
/**
* uses property
*
@@ -133,7 +126,7 @@ class EmailComponentTest extends CakeTestCase {
/**
* name property
*
* @var string 'Email'
* @var string
*/
public $name = 'Email';
@@ -32,13 +32,6 @@
*/
class PaginatorTestController extends Controller {
/**
* name property
*
* @var string 'PaginatorTest'
*/
public $name = 'PaginatorTest';
/**
* components property
*
@@ -54,17 +47,10 @@ 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';
@@ -124,17 +110,10 @@ 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';
}
@@ -195,31 +174,17 @@ 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'
Oops, something went wrong.

0 comments on commit 394bf10

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