Skip to content
Permalink
Browse files

Fixing doc blocks in Test suite and some visibility keywords.

  • Loading branch information...
majna committed Oct 10, 2011
1 parent 788d38c commit 8c3f64be52efa36dcdf2ca06f97140b12ccaaaa2
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
@@ -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
*/
@@ -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
*/
@@ -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
*/
@@ -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
*/
@@ -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
*/
@@ -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
*/
@@ -25,7 +25,7 @@ class IniReaderTest extends CakeTestCase {
*
* @var string
*/
var $file;
public $file;
/**
* setup
@@ -1,6 +1,6 @@
<?php
/**
* CommandList file
* CommandListShellTest file
*
* PHP 5
*
@@ -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');
}
/**
@@ -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');
@@ -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)
*
@@ -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)
*
@@ -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)
*
@@ -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)
*
@@ -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)
*
@@ -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)
*
@@ -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');
@@ -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');
@@ -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
@@ -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');
@@ -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.
*
@@ -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.
*
@@ -166,7 +166,7 @@ class AclPost extends CakeTestModel {
*
* @var array
*/
var $actsAs = array('Acl' => 'Controlled');
public $actsAs = array('Acl' => 'Controlled');
/**
* parentNode
@@ -2,7 +2,6 @@
/**
* Connection Manager tests
*
*
* PHP 5
*
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
@@ -1,6 +1,4 @@
<?php
/* SVN FILE: $Id: model.test.php 8225 2009-07-08 03:25:30Z mark_story $ */
/**
* ModelIntegrationTest file
*
@@ -1,6 +1,4 @@
<?php
/* SVN FILE: $Id: model.test.php 8225 2009-07-08 03:25:30Z mark_story $ */
/**
* ModelValidationTest file
*
@@ -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';
}
/**
@@ -1,6 +1,6 @@
<?php
/**
* BasicMethodTest file
* BasicAuthenticationTest file
*
* PHP 5
*
@@ -1,6 +1,6 @@
<?php
/**
* HttpSocketTest file
* HttpResponseTest file
*
* PHP 5
*
@@ -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');
Oops, something went wrong.

0 comments on commit 8c3f64b

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