Permalink
Browse files

Adding 'public' visibility to all public methods.

  • Loading branch information...
renan committed May 30, 2011
1 parent 9f9b368 commit 438050dcaa4675c7d782d8b4d0b66ccca53f9e27
Showing with 2,234 additions and 2,234 deletions.
  1. +1 −1 lib/Cake/Console/Command/AclShell.php
  2. +2 −2 lib/Cake/Console/Command/SchemaShell.php
  3. +1 −1 lib/Cake/Console/Command/Task/PluginTask.php
  4. +1 −1 lib/Cake/Console/Command/Task/ProjectTask.php
  5. +6 −6 lib/Cake/Console/Command/UpgradeShell.php
  6. +1 −1 lib/Cake/Console/ConsoleOutput.php
  7. +1 −1 lib/Cake/Console/Shell.php
  8. +2 −2 lib/Cake/Console/templates/skel/Config/Schema/db_acl.php
  9. +2 −2 lib/Cake/Console/templates/skel/Config/Schema/i18n.php
  10. +2 −2 lib/Cake/Console/templates/skel/Config/Schema/sessions.php
  11. +1 −1 lib/Cake/Controller/Component/Auth/ControllerAuthorize.php
  12. +1 −1 lib/Cake/Controller/Component/RequestHandlerComponent.php
  13. +1 −1 lib/Cake/Controller/Component/SecurityComponent.php
  14. +1 −1 lib/Cake/Test/Case/BasicsTest.php
  15. +18 −18 lib/Cake/Test/Case/Cache/CacheTest.php
  16. +8 −8 lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
  17. +13 −13 lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
  18. +18 −18 lib/Cake/Test/Case/Cache/Engine/MemcacheTest.php
  19. +9 −9 lib/Cake/Test/Case/Cache/Engine/XcacheTest.php
  20. +5 −5 lib/Cake/Test/Case/Configure/IniReaderTest.php
  21. +6 −6 lib/Cake/Test/Case/Configure/PhpReaderTest.php
  22. +1 −1 lib/Cake/Test/Case/Console/Command/AclShellTest.php
  23. +4 −4 lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
  24. +15 −15 lib/Cake/Test/Case/Console/Command/ShellTest.php
  25. +6 −6 lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
  26. +2 −2 lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php
  27. +1 −1 lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
  28. +6 −6 lib/Cake/Test/Case/Console/Command/Task/ModelTaskTest.php
  29. +1 −1 lib/Cake/Test/Case/Console/Command/Task/ProjectTaskTest.php
  30. +2 −2 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
  31. +4 −4 lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php
  32. +7 −7 lib/Cake/Test/Case/Console/ConsoleErrorHandlerTest.php
  33. +30 −30 lib/Cake/Test/Case/Console/ConsoleOptionParserTest.php
  34. +16 −16 lib/Cake/Test/Case/Console/ConsoleOutputTest.php
  35. +12 −12 lib/Cake/Test/Case/Console/HelpFormatterTest.php
  36. +7 −7 lib/Cake/Test/Case/Console/TaskCollectionTest.php
  37. +19 −19 lib/Cake/Test/Case/Controller/Component/AclComponentTest.php
  38. +5 −5 lib/Cake/Test/Case/Controller/Component/Auth/ActionsAuthorizeTest.php
  39. +10 −10 lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php
  40. +5 −5 lib/Cake/Test/Case/Controller/Component/Auth/ControllerAuthorizeTest.php
  41. +7 −7 lib/Cake/Test/Case/Controller/Component/Auth/CrudAuthorizeTest.php
  42. +11 −11 lib/Cake/Test/Case/Controller/Component/Auth/DigestAuthenticateTest.php
  43. +9 −9 lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticateTest.php
  44. +47 −47 lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
  45. +20 −20 lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php
  46. +19 −19 lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
  47. +21 −21 lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
  48. +38 −38 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
  49. +50 −50 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
  50. +11 −11 lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php
  51. +9 −9 lib/Cake/Test/Case/Controller/ComponentCollectionTest.php
  52. +10 −10 lib/Cake/Test/Case/Controller/ComponentTest.php
  53. +6 −6 lib/Cake/Test/Case/Controller/ControllerMergeVarsTest.php
  54. +41 −41 lib/Cake/Test/Case/Controller/ControllerTest.php
  55. +2 −2 lib/Cake/Test/Case/Controller/PagesControllerTest.php
  56. +19 −19 lib/Cake/Test/Case/Controller/ScaffoldTest.php
  57. +18 −18 lib/Cake/Test/Case/Core/AppTest.php
  58. +15 −15 lib/Cake/Test/Case/Core/ConfigureTest.php
  59. +32 −32 lib/Cake/Test/Case/Core/ObjectTest.php
  60. +10 −10 lib/Cake/Test/Case/Error/ErrorHandlerTest.php
  61. +22 −22 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
  62. +46 −46 lib/Cake/Test/Case/I18n/I18nTest.php
  63. +4 −4 lib/Cake/Test/Case/I18n/L10nTest.php
  64. +29 −29 lib/Cake/Test/Case/I18n/MultibyteTest.php
  65. +8 −8 lib/Cake/Test/Case/Log/CakeLogTest.php
  66. +2 −2 lib/Cake/Test/Case/Log/Engine/FileLog.php
  67. +2 −2 lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
  68. +22 −22 lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
  69. +22 −22 lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
  70. +1 −1 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php
  71. +44 −44 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php
  72. +5 −5 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php
  73. +40 −40 lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
  74. +21 −21 lib/Cake/Test/Case/Model/CakeSchemaTest.php
  75. +11 −11 lib/Cake/Test/Case/Model/ConnectionManagerTest.php
  76. +34 −34 lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php
  77. +68 −68 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
  78. +4 −4 lib/Cake/Test/Case/Model/Datasource/Database/OracleTest.php
  79. +24 −24 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
  80. +5 −5 lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
  81. +21 −21 lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
  82. +6 −6 lib/Cake/Test/Case/Model/Datasource/Session/CacheSessionTest.php
  83. +9 −9 lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php
  84. +7 −7 lib/Cake/Test/Case/Model/DbAclTest.php
  85. +16 −16 lib/Cake/Test/Case/Model/ModelDeleteTest.php
  86. +30 −30 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  87. +52 −52 lib/Cake/Test/Case/Model/ModelReadTest.php
  88. +2 −2 lib/Cake/Test/Case/Model/ModelTestBase.php
  89. +8 −8 lib/Cake/Test/Case/Model/ModelValidationTest.php
  90. +63 −63 lib/Cake/Test/Case/Model/ModelWriteTest.php
  91. +26 −26 lib/Cake/Test/Case/Model/models.php
  92. +36 −36 lib/Cake/Test/Case/Network/CakeRequestTest.php
  93. +10 −10 lib/Cake/Test/Case/Network/CakeSocketTest.php
  94. +1 −1 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
  95. +1 −1 lib/Cake/Test/Case/Network/Http/DigestAuthenticationTest.php
  96. +6 −6 lib/Cake/Test/Case/Routing/DispatcherTest.php
  97. +23 −23 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
  98. +3 −3 lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
  99. +2 −2 lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
  100. +50 −50 lib/Cake/Test/Case/Routing/RouterTest.php
  101. +10 −10 lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
  102. +13 −13 lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  103. +12 −12 lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
  104. +5 −5 lib/Cake/Test/Case/TestSuite/HtmlCoverageReportTest.php
  105. +4 −4 lib/Cake/Test/Case/Utility/ClassRegistryTest.php
  106. +11 −11 lib/Cake/Test/Case/Utility/DebuggerTest.php
  107. +19 −19 lib/Cake/Test/Case/Utility/FileTest.php
  108. +25 −25 lib/Cake/Test/Case/Utility/FolderTest.php
  109. +15 −15 lib/Cake/Test/Case/Utility/InflectorTest.php
  110. +14 −14 lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
  111. +10 −10 lib/Cake/Test/Case/Utility/SanitizeTest.php
  112. +5 −5 lib/Cake/Test/Case/Utility/SecurityTest.php
  113. +35 −35 lib/Cake/Test/Case/Utility/SetTest.php
  114. +9 −9 lib/Cake/Test/Case/Utility/StringTest.php
  115. +76 −76 lib/Cake/Test/Case/Utility/ValidationTest.php
  116. +3 −3 lib/Cake/Test/Case/Utility/XmlTest.php
  117. +16 −16 lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
  118. +113 −113 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  119. +28 −28 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
  120. +14 −14 lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
  121. +45 −45 lib/Cake/Test/Case/View/Helper/JsHelperTest.php
  122. +13 −13 lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
  123. +13 −13 lib/Cake/Test/Case/View/Helper/NumberHelperTest.php
  124. +40 −40 lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
  125. +13 −13 lib/Cake/Test/Case/View/Helper/PrototypeEngineHelperTest.php
  126. +11 −11 lib/Cake/Test/Case/View/Helper/RssHelperTest.php
  127. +7 −7 lib/Cake/Test/Case/View/Helper/SessionHelperTest.php
  128. +15 −15 lib/Cake/Test/Case/View/Helper/TextHelperTest.php
  129. +26 −26 lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
  130. +8 −8 lib/Cake/Test/Case/View/HelperCollectionTest.php
  131. +23 −23 lib/Cake/Test/Case/View/HelperTest.php
  132. +8 −8 lib/Cake/Test/Case/View/MediaViewTest.php
  133. +11 −11 lib/Cake/Test/Case/View/ThemeViewTest.php
  134. +45 −45 lib/Cake/Test/Case/View/ViewTest.php
  135. +4 −4 lib/Cake/Test/Fixture/AssertTagsTestCase.php
  136. +1 −1 lib/Cake/Test/test_app/Console/Command/SampleShell.php
  137. +4 −4 lib/Cake/Test/test_app/Controller/TestsAppsController.php
  138. +4 −4 lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
  139. +1 −1 lib/Cake/Test/test_app/Lib/Log/Engine/TestAppLog.php
  140. +6 −6 lib/Cake/Test/test_app/Model/Datasource/Test2OtherSource.php
  141. +6 −6 lib/Cake/Test/test_app/Model/Datasource/Test2Source.php
  142. +1 −1 lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/ExampleShell.php
  143. +2 −2 lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginController.php
  144. +2 −2 lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestsController.php
  145. +1 −1 lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Log/Engine/TestPluginLog.php
  146. +1 −1 lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/DboDummy.php
  147. +6 −6 lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php
  148. +6 −6 lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/test_other_source.php
  149. +1 −1 lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/ExampleShell.php
  150. +1 −1 lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/WelcomeShell.php
  151. +1 −1 lib/Cake/TestSuite/CakeTestCase.php
  152. +1 −1 lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
  153. +1 −1 lib/Cake/TestSuite/ControllerTestCase.php
  154. +2 −2 lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php
  155. +2 −2 lib/Cake/View/Helper/FormHelper.php
  156. +1 −1 lib/Cake/View/Helper/HtmlHelper.php
  157. +7 −7 lib/Cake/View/Helper/JqueryEngineHelper.php
  158. +1 −1 lib/Cake/View/Helper/JsHelper.php
  159. +11 −11 lib/Cake/View/Helper/MootoolsEngineHelper.php
  160. +8 −8 lib/Cake/View/Helper/PrototypeEngineHelper.php
  161. +2 −2 lib/Cake/View/Helper/RssHelper.php
  162. +1 −1 lib/Cake/View/MediaView.php
@@ -523,7 +523,7 @@ public function nodeExists() {
* @param string $identifier Identifier to parse
* @return mixed a string for aliases, and an array for model.foreignKey
*/
- function parseIdentifier($identifier) {
+ public function parseIdentifier($identifier) {
if (preg_match('/^([\w]+)\.(.*)$/', $identifier, $matches)) {
return array(
'model' => $matches[1],
@@ -245,7 +245,7 @@ public function dump() {
*
* @return void
*/
- function create() {
+ public function create() {
list($Schema, $table) = $this->_loadSchema();
$this->__create($Schema, $table);
}
@@ -255,7 +255,7 @@ function create() {
*
* @return void
*/
- function update() {
+ public function update() {
list($Schema, $table) = $this->_loadSchema();
$this->__update($Schema, $table);
}
@@ -40,7 +40,7 @@ class PluginTask extends Shell {
*
* @return void
*/
- function initialize() {
+ public function initialize() {
$this->path = current(App::path('plugins'));
}
@@ -132,7 +132,7 @@ public function execute() {
* @param string $skip array of directories to skip when copying
* @access private
*/
- function bake($path, $skel = null, $skip = array('empty')) {
+ public function bake($path, $skel = null, $skip = array('empty')) {
if (!$skel && !empty($this->params['skel'])) {
$skel = $this->params['skel'];
}
@@ -34,7 +34,7 @@ class UpgradeShell extends Shell {
*
* @return void
*/
- function startup() {
+ public function startup() {
parent::startup();
if ($this->params['dry-run']) {
$this->out('<warning>Dry-run mode enabled!</warning>', 1, Shell::QUIET);
@@ -50,7 +50,7 @@ function startup() {
* @access public
* @return void
*/
- function all() {
+ public function all() {
foreach($this->OptionParser->subcommands() as $command) {
$name = $command->name();
if ($name === 'all') {
@@ -71,7 +71,7 @@ function all() {
* @access public
* @return void
*/
- function locations() {
+ public function locations() {
$cwd = getcwd();
if (is_dir('plugins')) {
@@ -137,7 +137,7 @@ function locations() {
*
* @return void
*/
- function helpers() {
+ public function helpers() {
$this->_paths = array_diff(App::path('views'), App::core('views'));
if (!empty($this->params['plugin'])) {
@@ -175,7 +175,7 @@ function helpers() {
*
* @return void
*/
- function i18n() {
+ public function i18n() {
$this->_paths = array(
APP
);
@@ -578,7 +578,7 @@ protected function _updateFile($file, $patterns) {
*
* @return ConsoleOptionParser
*/
- function getOptionParser() {
+ public function getOptionParser() {
$subcommandParser = array(
'options' => array(
'plugin' => array(
@@ -249,7 +249,7 @@ protected function _write($message) {
* @return mixed If you are getting styles, the style or null will be returned. If you are creating/modifying
* styles true will be returned.
*/
- function styles($style = null, $definition = null) {
+ public function styles($style = null, $definition = null) {
if ($style === null && $definition === null) {
return self::$_styles;
}
@@ -539,7 +539,7 @@ public function err($message = null, $newlines = 1) {
* @access public
* @return string
*/
- function nl($multiplier = 1) {
+ public function nl($multiplier = 1) {
return str_repeat(ConsoleOutput::LF, $multiplier);
}
@@ -31,11 +31,11 @@ class DbAclSchema extends CakeSchema {
public $name = 'DbAcl';
- function before($event = array()) {
+ public function before($event = array()) {
return true;
}
- function after($event = array()) {
+ public function after($event = array()) {
}
public $acos = array(
@@ -31,11 +31,11 @@ class i18nSchema extends CakeSchema {
public $name = 'i18n';
- function before($event = array()) {
+ public function before($event = array()) {
return true;
}
- function after($event = array()) {
+ public function after($event = array()) {
}
public $i18n = array(
@@ -31,11 +31,11 @@ class SessionsSchema extends CakeSchema {
public $name = 'Sessions';
- function before($event = array()) {
+ public function before($event = array()) {
return true;
}
- function after($event = array()) {
+ public function after($event = array()) {
}
public $cake_sessions = array(
@@ -20,7 +20,7 @@
* Your controller's isAuthorized() method should return a boolean to indicate whether or not the user is authorized.
*
* {{{
- * function isAuthorized($user) {
+ * public function isAuthorized($user) {
* if (!empty($this->request->params['admin'])) {
* return $user['role'] == 'admin';
* }
@@ -278,7 +278,7 @@ public function isAtom() {
*
* @return boolean True if user agent is a mobile web browser
*/
- function isMobile() {
+ public function isMobile() {
return $this->request->is('mobile') || $this->accepts('wap');
}
@@ -284,7 +284,7 @@ public function requireAuth() {
* @see SecurityComponent::$blackHoleCallback
* @link http://book.cakephp.org/view/1307/blackHole-object-controller-string-error
*/
- function blackHole($controller, $error = '') {
+ public function blackHole($controller, $error = '') {
if ($this->blackHoleCallback == null) {
$code = 404;
if ($error == 'login') {
@@ -794,7 +794,7 @@ public function testStripslashesDeepSybase() {
*
* @return void
*/
- function testPluginSplit() {
+ public function testPluginSplit() {
$result = pluginSplit('Something.else');
$this->assertEqual($result, array('Something', 'else'));
@@ -32,7 +32,7 @@ class CacheTest extends CakeTestCase {
* @access public
* @return void
*/
- function setUp() {
+ public function setUp() {
$this->_cacheDisable = Configure::read('Cache.disable');
Configure::write('Cache.disable', false);
@@ -46,7 +46,7 @@ function setUp() {
* @access public
* @return void
*/
- function tearDown() {
+ public function tearDown() {
Configure::write('Cache.disable', $this->_cacheDisable);
Cache::config('default', $this->_defaultCacheConfig['settings']);
}
@@ -57,7 +57,7 @@ function tearDown() {
* @access public
* @return void
*/
- function testConfig() {
+ public function testConfig() {
$settings = array('engine' => 'File', 'path' => TMP . 'tests', 'prefix' => 'cake_test_');
$results = Cache::config('new', $settings);
$this->assertEqual($results, Cache::config('new'));
@@ -70,7 +70,7 @@ function testConfig() {
*
* @return void
*/
- function testNonFatalErrorsWithCachedisable() {
+ public function testNonFatalErrorsWithCachedisable() {
Configure::write('Cache.disable', true);
Cache::config('test', array('engine' => 'File', 'path' => TMP, 'prefix' => 'error_test_'));
@@ -87,7 +87,7 @@ function testNonFatalErrorsWithCachedisable() {
*
* @return void
*/
- function testConfigWithLibAndPluginEngines() {
+ public function testConfigWithLibAndPluginEngines() {
App::build(array(
'Lib' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -117,7 +117,7 @@ function testConfigWithLibAndPluginEngines() {
* @access public
* @return void
*/
- function testInvaidConfig() {
+ public function testInvaidConfig() {
$this->expectError();
Cache::config('invalid', array(
'engine' => 'File',
@@ -136,7 +136,7 @@ function testInvaidConfig() {
*
* @return void
*/
- function testAttemptingToConfigureANonCacheEngineClass() {
+ public function testAttemptingToConfigureANonCacheEngineClass() {
$this->getMock('StdClass', array(), array(), 'RubbishEngine');
$this->expectException();
Cache::config('Garbage', array(
@@ -150,7 +150,7 @@ function testAttemptingToConfigureANonCacheEngineClass() {
* @access public
* @return void
*/
- function testConfigChange() {
+ public function testConfigChange() {
$_cacheConfigSessions = Cache::config('sessions');
$_cacheConfigTests = Cache::config('tests');
@@ -169,7 +169,7 @@ function testConfigChange() {
*
* @return void
*/
- function testConfigSettingDefaultConfigKey() {
+ public function testConfigSettingDefaultConfigKey() {
Cache::config('test_name', array('engine' => 'File', 'prefix' => 'test_name_'));
Cache::write('value_one', 'I am cached', 'test_name');
@@ -196,7 +196,7 @@ function testConfigSettingDefaultConfigKey() {
* @access public
* @return void
*/
- function testWritingWithConfig() {
+ public function testWritingWithConfig() {
$_cacheConfigSessions = Cache::config('sessions');
Cache::write('test_somthing', 'this is the test data', 'tests');
@@ -222,7 +222,7 @@ function testWritingWithConfig() {
*
* @return void
*/
- function testConfigured() {
+ public function testConfigured() {
$result = Cache::configured();
$this->assertTrue(in_array('_cake_core_', $result));
$this->assertTrue(in_array('default', $result));
@@ -234,7 +234,7 @@ function testConfigured() {
* @access public
* @return void
*/
- function testInitSettings() {
+ public function testInitSettings() {
$initial = Cache::settings();
$override = array('engine' => 'File', 'path' => TMP . 'tests');
Cache::config('for_test', $override);
@@ -250,7 +250,7 @@ function testInitSettings() {
*
* @return void
*/
- function testDrop() {
+ public function testDrop() {
App::build(array(
'libs' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -281,7 +281,7 @@ function testDrop() {
* @access public
* @return void
*/
- function testWriteEmptyValues() {
+ public function testWriteEmptyValues() {
Cache::write('App.falseTest', false);
$this->assertIdentical(Cache::read('App.falseTest'), false);
@@ -303,7 +303,7 @@ function testWriteEmptyValues() {
*
* @return void
*/
- function testWriteTriggerError() {
+ public function testWriteTriggerError() {
App::build(array(
'libs' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -329,7 +329,7 @@ function testWriteTriggerError() {
* @access public
* @return void
*/
- function testCacheDisable() {
+ public function testCacheDisable() {
Configure::write('Cache.disable', false);
Cache::config('test_cache_disable_1', array('engine'=> 'File', 'path' => TMP . 'tests'));
@@ -369,7 +369,7 @@ function testCacheDisable() {
* @access public
* @return void
*/
- function testSet() {
+ public function testSet() {
$_cacheSet = Cache::set();
Cache::set(array('duration' => '+1 year'));
@@ -396,7 +396,7 @@ function testSet() {
*
* @return void
*/
- function testSetOnAlternateConfigs() {
+ public function testSetOnAlternateConfigs() {
Cache::config('file_config', array('engine' => 'File', 'prefix' => 'test_file_'));
Cache::set(array('duration' => '+1 year'), 'file_config');
$settings = Cache::settings('file_config');
Oops, something went wrong.

1 comment on commit 438050d

@renan

This comment has been minimized.

Show comment Hide comment
@renan

renan May 30, 2011

Member

'public' keyword, actually.

Member

renan commented on 438050d May 30, 2011

'public' keyword, actually.

Please sign in to comment.