Skip to content

Loading…

Fixing doc blocks in Test suite and some visibility keywords. #237

Merged
merged 1 commit into from

2 participants

@majna

fixed now that @since

@lorenzo
CakePHP member

Thanks a lot for taking the time to do this!

@lorenzo lorenzo merged commit 838d4a8 into cakephp:2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 217 additions and 78 deletions.
  1. +1 −1 lib/Cake/Test/Case/AllBehaviorsTest.php
  2. +1 −1 lib/Cake/Test/Case/AllControllerTest.php
  3. +1 −1 lib/Cake/Test/Case/AllHelpersTest.php
  4. +1 −1 lib/Cake/Test/Case/AllRoutingTest.php
  5. +1 −1 lib/Cake/Test/Case/AllTestSuiteTest.php
  6. +1 −1 lib/Cake/Test/Case/AllTestsTest.php
  7. +1 −1 lib/Cake/Test/Case/Configure/IniReaderTest.php
  8. +1 −1 lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
  9. +2 −2 lib/Cake/Test/Case/Console/Command/ShellTest.php
  10. +17 −0 lib/Cake/Test/Case/Console/HelpFormatterTest.php
  11. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/ActionsAuthorizeTest.php
  12. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php
  13. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/ControllerAuthorizeTest.php
  14. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/CrudAuthorizeTest.php
  15. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/DigestAuthenticateTest.php
  16. +3 −0 lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticateTest.php
  17. +18 −0 lib/Cake/Test/Case/Controller/Component/DbAclTest.php
  18. +18 −0 lib/Cake/Test/Case/Controller/Component/IniAclTest.php
  19. +17 −0 lib/Cake/Test/Case/Core/AppTest.php
  20. +17 −1 lib/Cake/Test/Case/Core/CakePluginTest.php
  21. +1 −1 lib/Cake/Test/Case/Error/ErrorHandlerTest.php
  22. +1 −1 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
  23. +1 −1 lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
  24. +0 −1 lib/Cake/Test/Case/Model/ConnectionManagerTest.php
  25. +0 −2 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  26. +0 −2 lib/Cake/Test/Case/Model/ModelValidationTest.php
  27. +8 −8 lib/Cake/Test/Case/Model/models.php
  28. +1 −1 lib/Cake/Test/Case/Network/Http/BasicAuthenticationTest.php
  29. +1 −1 lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
  30. +17 −0 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
  31. +18 −0 lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
  32. +17 −0 lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
  33. +11 −11 lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  34. +0 −1 lib/Cake/Test/Case/Utility/InflectorTest.php
  35. +1 −1 lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
  36. +3 −6 lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
  37. +2 −7 lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
  38. +2 −5 lib/Cake/Test/Case/View/Helper/PrototypeEngineHelperTest.php
  39. +2 −2 lib/Cake/Test/Case/View/HelperTest.php
  40. +1 −1 lib/Cake/Test/Case/View/MediaViewTest.php
  41. +5 −5 lib/Cake/Test/Fixture/DataTestFixture.php
  42. +4 −4 lib/Cake/Test/Fixture/DatatypeFixture.php
  43. +3 −3 lib/Cake/Test/Fixture/PrefixTestFixture.php
  44. +1 −1 lib/Cake/Test/test_app/Console/Command/SampleShell.php
  45. +1 −1 lib/Cake/Test/test_app/Controller/TestsAppsController.php
  46. +1 −1 lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
View
2 lib/Cake/Test/Case/AllBehaviorsTest.php
@@ -19,7 +19,7 @@
/**
* AllBehaviorsTest class
*
- * This test group will run all test in the cases/libs/models/behaviors directory
+ * This test group will run all test in the Case/Model/Behavior directory
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/AllControllerTest.php
@@ -20,7 +20,7 @@
/**
* AllControllersTest class
*
- * This test group will run cache engine tests.
+ * This test group will run Controller related tests.
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/AllHelpersTest.php
@@ -20,7 +20,7 @@
/**
* HelpersGroupTest class
*
- * This test group will run all test in the cases/libs/view/helpers directory.
+ * This test group will run all Helper related tests.
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/AllRoutingTest.php
@@ -20,7 +20,7 @@
/**
* AllRoutingTest class
*
- * This test group will run view class tests (view, theme)
+ * This test group will routing related tests.
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/AllTestSuiteTest.php
@@ -20,7 +20,7 @@
/**
* AllTestSuiteTest class
*
- * This test group will run socket class tests
+ * This test group will run all test suite tests.
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/AllTestsTest.php
@@ -19,7 +19,7 @@
/**
* AllTests class
*
- * This test group will run all test in the cases/libs/models/behaviors directory
+ * This test group will run all tests.
*
* @package Cake.Test.Case
*/
View
2 lib/Cake/Test/Case/Configure/IniReaderTest.php
@@ -25,7 +25,7 @@ class IniReaderTest extends CakeTestCase {
*
* @var string
*/
- var $file;
+ public $file;
/**
* setup
View
2 lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * CommandList file
+ * CommandListShellTest file
*
* PHP 5
*
View
4 lib/Cake/Test/Case/Console/Command/ShellTest.php
@@ -77,8 +77,8 @@ public function mergeVars($properties, $class, $normalize = true) {
* @package Cake.Test.Case.Console.Command
*/
class TestMergeShell extends Shell {
- var $tasks = array('DbConfig', 'Fixture');
- var $uses = array('Comment');
+ public $tasks = array('DbConfig', 'Fixture');
+ public $uses = array('Comment');
}
/**
View
17 lib/Cake/Test/Case/Console/HelpFormatterTest.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * HelpFormatterTest file
+ *
+ * PHP 5
+ *
+ * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
+ * Copyright 2005-2011, Cake Software Foundation, Inc.
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice
+ *
+ * @copyright Copyright 2005-2011, Cake Software Foundation, Inc.
+ * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
+ * @package Cake.Test.Case.Console
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
App::uses('ConsoleOptionParser', 'Console');
App::uses('HelpFormatter', 'Console');
View
3 lib/Cake/Test/Case/Controller/Component/Auth/ActionsAuthorizeTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * ActionsAuthorizeTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
3 lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * BasicAuthenticateTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
3 lib/Cake/Test/Case/Controller/Component/Auth/ControllerAuthorizeTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * ControllerAuthorizeTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
3 lib/Cake/Test/Case/Controller/Component/Auth/CrudAuthorizeTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * CrudAuthorizeTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
3 lib/Cake/Test/Case/Controller/Component/Auth/DigestAuthenticateTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * DigestAuthenticateTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
3 lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticateTest.php
@@ -1,6 +1,9 @@
<?php
/**
+ * FormAuthenticateTest file
*
+ * PHP 5
+ *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
View
18 lib/Cake/Test/Case/Controller/Component/DbAclTest.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * DbAclTest 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.Controller.Component
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
+
App::uses('AclComponent', 'Controller/Component');
App::uses('AclNode', 'Model');
class_exists('AclComponent');
View
18 lib/Cake/Test/Case/Controller/Component/IniAclTest.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * IniAclTest 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.Controller.Component
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
+
App::uses('AclComponent', 'Controller/Component');
class_exists('AclComponent');
View
17 lib/Cake/Test/Case/Core/AppTest.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * AppTest 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.Core
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
/**
* AppTest class
View
18 lib/Cake/Test/Case/Core/CakePluginTest.php
@@ -1,5 +1,21 @@
<?php
-
+/**
+ * CakePluginTest 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.Core
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
App::uses('CakePlugin', 'Core');
View
2 lib/Cake/Test/Case/Error/ErrorHandlerTest.php
@@ -28,7 +28,7 @@
*/
class ErrorHandlerTest extends CakeTestCase {
- var $_restoreError = false;
+ public $_restoreError = false;
/**
* setup create a request object to get out of router later.
*
View
2 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
@@ -141,7 +141,7 @@ class MissingWidgetThingException extends NotFoundException { }
*/
class ExceptionRendererTest extends CakeTestCase {
- var $_restoreError = false;
+ public $_restoreError = false;
/**
* setup create a request object to get out of router later.
*
View
2 lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
@@ -166,7 +166,7 @@ class AclPost extends CakeTestModel {
*
* @var array
*/
- var $actsAs = array('Acl' => 'Controlled');
+ public $actsAs = array('Acl' => 'Controlled');
/**
* parentNode
View
1 lib/Cake/Test/Case/Model/ConnectionManagerTest.php
@@ -2,7 +2,6 @@
/**
* Connection Manager tests
*
- *
* PHP 5
*
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
View
2 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
@@ -1,6 +1,4 @@
<?php
-/* SVN FILE: $Id: model.test.php 8225 2009-07-08 03:25:30Z mark_story $ */
-
/**
* ModelIntegrationTest file
*
View
2 lib/Cake/Test/Case/Model/ModelValidationTest.php
@@ -1,6 +1,4 @@
<?php
-/* SVN FILE: $Id: model.test.php 8225 2009-07-08 03:25:30Z mark_story $ */
-
/**
* ModelValidationTest file
*
View
16 lib/Cake/Test/Case/Model/models.php
@@ -260,9 +260,9 @@ static function titleDuplicate ($title) {
* @package Cake.Test.Case.Model
*/
class BeforeDeleteComment extends CakeTestModel {
- var $name = 'BeforeDeleteComment';
+ public $name = 'BeforeDeleteComment';
- var $useTable = 'comments';
+ public $useTable = 'comments';
public function beforeDelete($cascade = true) {
$db = $this->getDataSource();
@@ -3180,8 +3180,8 @@ class GroupUpdateAll extends CakeTestModel {
}
class TransactionTestModel extends CakeTestModel {
- var $name = 'TransactionTestModel';
- var $useTable = 'samples';
+ public $name = 'TransactionTestModel';
+ public $useTable = 'samples';
public function afterSave($created) {
$data = array(
@@ -3192,8 +3192,8 @@ public function afterSave($created) {
}
class TransactionManyTestModel extends CakeTestModel {
- var $name = 'TransactionManyTestModel';
- var $useTable = 'samples';
+ public $name = 'TransactionManyTestModel';
+ public $useTable = 'samples';
public function afterSave($created) {
$data = array(
@@ -4397,8 +4397,8 @@ public function schema($field = false) {
class PrefixTestModel extends CakeTestModel {
}
class PrefixTestUseTableModel extends CakeTestModel {
- var $name = 'PrefixTest';
- var $useTable = 'prefix_tests';
+ public $name = 'PrefixTest';
+ public $useTable = 'prefix_tests';
}
/**
View
2 lib/Cake/Test/Case/Network/Http/BasicAuthenticationTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * BasicMethodTest file
+ * BasicAuthenticationTest file
*
* PHP 5
*
View
2 lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * HttpSocketTest file
+ * HttpResponseTest file
*
* PHP 5
*
View
17 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * CakeRequest 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.Routing.Route
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
App::uses('CakeRoute', 'Routing/Route');
App::uses('Router', 'Routing');
View
18 lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * CakeRequest 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.Routing.Route
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
+
App::uses('PluginShortRoute', 'Routing/Route');
App::uses('Router', 'Routing');
/**
View
17 lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
@@ -1,4 +1,21 @@
<?php
+/**
+ * CakeRequest 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.Routing.Route
+ * @since CakePHP(tm) v 2.0
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
App::uses('RedirectRoute', 'Routing/Route');
App::uses('CakeResponse', 'Network');
View
22 lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
@@ -28,14 +28,14 @@
class CakeTestFixtureTestFixture extends CakeTestFixture {
/**
- * name Property
+ * Name property
*
* @var string
*/
public $name = 'FixtureTest';
/**
- * table property
+ * Table property
*
* @var string
*/
@@ -73,29 +73,29 @@ class CakeTestFixtureTestFixture extends CakeTestFixture {
class StringsTestFixture extends CakeTestFixture {
/**
- * name Property
+ * Name property
*
* @var string
*/
- var $name = 'Strings';
+ public $name = 'Strings';
/**
- * table property
+ * Table property
*
* @var string
*/
- var $table = 'strings';
+ public $table = 'strings';
/**
* Fields array
*
* @var array
*/
- var $fields = array(
+ public $fields = array(
'id' => array('type' => 'integer', 'key' => 'primary'),
'name' => array('type' => 'string', 'length' => '255'),
'email' => array('type' => 'string', 'length' => '255'),
- 'age' => array('type' => 'integer', 'default' => 10)
+ 'age' => array('type' => 'integer', 'default' => 10)
);
/**
@@ -103,10 +103,10 @@ class StringsTestFixture extends CakeTestFixture {
*
* @var array
*/
- var $records = array(
+ public $records = array(
array('name' => 'Mark Doe', 'email' => 'mark.doe@email.com'),
- array('name' => 'John Doe', 'email' => 'john.doe@email.com', 'age' => 20),
- array('email' => 'jane.doe@email.com', 'name' => 'Jane Doe', 'age' => 30)
+ array('name' => 'John Doe', 'email' => 'john.doe@email.com', 'age' => 20),
+ array('email' => 'jane.doe@email.com', 'name' => 'Jane Doe', 'age' => 30)
);
}
View
1 lib/Cake/Test/Case/Utility/InflectorTest.php
@@ -15,7 +15,6 @@
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://book.cakephp.org/view/1196/Testing
* @package Cake.Test.Case.Utility
- * @package Cake.Test.Case.Utility
* @since CakePHP(tm) v 1.2.0.4206
* @license Open Group Test Suite License (http://www.opensource.org/licenses/opengroup.php)
*/
View
2 lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * ComponentCollectionTest file
+ * ObjectCollectionTest file
*
* PHP 5
*
View
9 lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
@@ -4,18 +4,15 @@
*
* PHP 5
*
- * CakePHP : Rapid Development Framework <http://www.cakephp.org/>
- * Copyright 2005-2011, Cake Software Foundation, Inc.
- * 1785 E. Sahara Avenue, Suite 490-204
- * Las Vegas, Nevada 89104
+ * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
+ * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
+ * Redistributions of files must retain the above copyright notice
*
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc.
* @link http://cakephp.org CakePHP Project
* @package Cake.Test.Case.View.Helper
- * @package Cake.Test.Case.View.Helper
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
View
9 lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
@@ -2,14 +2,10 @@
/**
* MooEngineTestCase
*
- *
- *
* PHP 5
*
- * CakePHP : Rapid Development Framework <http://www.cakephp.org/>
- * Copyright 2005-2011, Cake Software Foundation, Inc.
- * 1785 E. Sahara Avenue, Suite 490-204
- * Las Vegas, Nevada 89104
+ * 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.
@@ -17,7 +13,6 @@
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc.
* @link http://cakephp.org CakePHP Project
* @package Cake.Test.Case.View.Helper
- * @package Cake.Test.Case.View.Helper
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
View
7 lib/Cake/Test/Case/View/Helper/PrototypeEngineHelperTest.php
@@ -4,10 +4,8 @@
*
* PHP 5
*
- * CakePHP : Rapid Development Framework <http://www.cakephp.org/>
- * Copyright 2005-2011, Cake Software Foundation, Inc.
- * 1785 E. Sahara Avenue, Suite 490-204
- * Las Vegas, Nevada 89104
+ * 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.
@@ -15,7 +13,6 @@
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc.
* @link http://cakephp.org CakePHP Project
* @package Cake.Test.Case.View.Helper
- * @package Cake.Test.Case.View.Helper
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
View
4 lib/Cake/Test/Case/View/HelperTest.php
@@ -155,11 +155,11 @@ public function schema($field = false) {
class TestHelper extends Helper {
/**
- * helpers for this helper.
+ * Helpers for this helper.
*
* @var string
*/
- var $helpers = array('Html', 'TestPlugin.OtherHelper');
+ public $helpers = array('Html', 'TestPlugin.OtherHelper');
/**
* expose a method as public
View
2 lib/Cake/Test/Case/View/MediaViewTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * ThemeViewTest file
+ * MediaViewTest file
*
* PHP 5
*
View
10 lib/Cake/Test/Fixture/DataTestFixture.php
@@ -25,14 +25,14 @@
class DataTestFixture extends CakeTestFixture {
/**
- * name property
+ * Name property
*
* @var string 'DataTest'
*/
- var $name = 'DataTest';
+ public $name = 'DataTest';
/**
- * fields property
+ * Fields property
*
* @var array
*/
@@ -46,11 +46,11 @@ class DataTestFixture extends CakeTestFixture {
);
/**
- * records property
+ * Records property
*
* @var array
*/
- var $records = array(
+ public $records = array(
array(
'count' => 2,
'float' => 2.4,
View
8 lib/Cake/Test/Fixture/DatatypeFixture.php
@@ -25,14 +25,14 @@
class DatatypeFixture extends CakeTestFixture {
/**
- * name property
+ * Name property
*
* @var string 'Datatype'
*/
public $name = 'Datatype';
/**
- * fields property
+ * Fields property
*
* @var array
*/
@@ -43,11 +43,11 @@ class DatatypeFixture extends CakeTestFixture {
);
/**
- * records property
+ * Records property
*
* @var array
*/
- var $records = array(
+ public $records = array(
array('id' => 1, 'float_field' => 42.23, 'bool' => 0),
);
}
View
6 lib/Cake/Test/Fixture/PrefixTestFixture.php
@@ -26,10 +26,10 @@
*/
class PrefixTestFixture extends CakeTestFixture {
- var $name = 'PrefixTest';
- var $table = 'prefix_prefix_tests';
+ public $name = 'PrefixTest';
+ public $table = 'prefix_prefix_tests';
- var $fields = array(
+ public $fields = array(
'id' => array('type' => 'integer', 'key' => 'primary'),
);
}
View
2 lib/Cake/Test/test_app/Console/Command/SampleShell.php
@@ -1,6 +1,6 @@
<?php
/**
- * Short description for file.
+ * SampleShell file
*
* PHP 5
*
View
2 lib/Cake/Test/test_app/Controller/TestsAppsController.php
@@ -1,6 +1,6 @@
<?php
/**
- * Short description for file.
+ * TestsAppsController file
*
* PHP 5
*
View
2 lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
@@ -1,6 +1,6 @@
<?php
/**
- * Short description for file.
+ * TestsAppsPostsController file
*
* PHP 5
*
Something went wrong with that request. Please try again.