From f6a5df913ac2d2ceeb0185fb202f161c8ea05946 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Fri, 29 Apr 2011 12:49:46 -0430 Subject: [PATCH] Moving test plugins to the new naming convention> Now plugin names should be camel cased --- lib/Cake/Core/CakePlugin.php | 9 ++++++++- lib/Cake/tests/Case/Core/CakePluginTest.php | 4 ++-- .../webroot/js/one/plugin_one.js | 0 .../{plugin_js => PluginJs}/webroot/js/plugin_js.js | 0 .../Console/Command/Task/empty | 0 .../Console/Command/Task/other_task.php | 0 .../Console/Command/example.php | 0 .../Console/templates/empty | 0 .../Controller/Component/other_component.php | 0 .../Controller/Component/plugins_component.php | 0 .../Controller/Component/test_plugin_component.php | 0 .../Component/test_plugin_other_component.php | 0 .../Controller/test_plugin_app_controller.php | 0 .../Controller/test_plugin_controller.php | 0 .../Controller/tests_controller.php | 0 .../Lib/Cache/Engine/TestPluginCacheEngine.php | 0 .../Lib/Custom/Package/CustomLibClass.php | 0 .../Lib/Log/Engine/TestPluginLog.php | 0 .../Lib/test_plugin_library.php | 0 .../Model/Behavior/test_plugin_persister_one.php | 0 .../Model/Behavior/test_plugin_persister_two.php | 0 .../Model/Datasource/Database/DboDummy.php | 0 .../Model/Datasource/Database/TestDriver.php | 0 .../Model/Datasource/Session/TestPluginSession.php | 0 .../Model/Datasource/TestSource.php | 0 .../Model/Datasource/test_other_source.php | 0 .../Model/test_plugin_app_model.php | 0 .../Model/test_plugin_auth_user.php | 0 .../Model/test_plugin_authors.php | 0 .../Model/test_plugin_comment.php | 0 .../Model/test_plugin_post.php | 0 .../View/Helper/OtherHelperHelper.php | 0 .../View/Helper/plugged_helper.php | 0 .../View/Helper/test_plugin_app.php | 0 .../View/elements/plugin_element.ctp | 0 .../View/elements/test_plugin_element.ctp | 0 .../View/layouts/default.ctp | 0 .../View/tests/index.ctp | 0 .../View/tests/scaffold.form.ctp | 0 .../config/bootstrap.php | 0 .../config/custom_config.php | 0 .../{test_plugin => TestPlugin}/config/load.php | 0 .../config/more.load.php | 0 .../{test_plugin => TestPlugin}/config/routes.php | 0 .../config/schema/schema.php | 0 .../locale/po/LC_MESSAGES/test_plugin.po | 0 .../locale/po/LC_MONETARY/test_plugin.po | 0 .../vendors/sample/sample_plugin.php | 0 .../{test_plugin => TestPlugin}/vendors/welcome.php | 0 .../webroot/css/test_plugin_asset.css | 0 .../webroot/css/theme_one.htc | 0 .../webroot/css/unknown.extension | 0 .../webroot/flash/plugin_test.swf | 0 .../webroot/img/cake.icon.gif | Bin .../webroot/js/test_plugin/test.js | 0 .../webroot/pdfs/plugin_test.pdf | Bin .../{test_plugin => TestPlugin}/webroot/root.js | 0 .../Console/Command/Task/empty | 0 .../Console/Command/example.php | 0 .../Console/Command/welcome.php | 0 .../Console/templates/empty | 0 .../config/bootstrap.php | 0 62 files changed, 10 insertions(+), 3 deletions(-) rename lib/Cake/tests/test_app/plugins/{plugin_js => PluginJs}/webroot/js/one/plugin_one.js (100%) rename lib/Cake/tests/test_app/plugins/{plugin_js => PluginJs}/webroot/js/plugin_js.js (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Console/Command/Task/empty (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Console/Command/Task/other_task.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Console/Command/example.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Console/templates/empty (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/Component/other_component.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/Component/plugins_component.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/Component/test_plugin_component.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/Component/test_plugin_other_component.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/test_plugin_app_controller.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/test_plugin_controller.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Controller/tests_controller.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Lib/Cache/Engine/TestPluginCacheEngine.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Lib/Custom/Package/CustomLibClass.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Lib/Log/Engine/TestPluginLog.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Lib/test_plugin_library.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Behavior/test_plugin_persister_one.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Behavior/test_plugin_persister_two.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Datasource/Database/DboDummy.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Datasource/Database/TestDriver.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Datasource/Session/TestPluginSession.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Datasource/TestSource.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/Datasource/test_other_source.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/test_plugin_app_model.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/test_plugin_auth_user.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/test_plugin_authors.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/test_plugin_comment.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/Model/test_plugin_post.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/Helper/OtherHelperHelper.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/Helper/plugged_helper.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/Helper/test_plugin_app.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/elements/plugin_element.ctp (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/elements/test_plugin_element.ctp (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/layouts/default.ctp (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/tests/index.ctp (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/View/tests/scaffold.form.ctp (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/bootstrap.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/custom_config.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/load.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/more.load.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/routes.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/config/schema/schema.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/locale/po/LC_MESSAGES/test_plugin.po (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/locale/po/LC_MONETARY/test_plugin.po (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/vendors/sample/sample_plugin.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/vendors/welcome.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/css/test_plugin_asset.css (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/css/theme_one.htc (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/css/unknown.extension (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/flash/plugin_test.swf (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/img/cake.icon.gif (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/js/test_plugin/test.js (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/pdfs/plugin_test.pdf (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin => TestPlugin}/webroot/root.js (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin_two => TestPluginTwo}/Console/Command/Task/empty (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin_two => TestPluginTwo}/Console/Command/example.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin_two => TestPluginTwo}/Console/Command/welcome.php (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin_two => TestPluginTwo}/Console/templates/empty (100%) rename lib/Cake/tests/test_app/plugins/{test_plugin_two => TestPluginTwo}/config/bootstrap.php (100%) diff --git a/lib/Cake/Core/CakePlugin.php b/lib/Cake/Core/CakePlugin.php index 4e2c5ab81..22d8161a0 100644 --- a/lib/Cake/Core/CakePlugin.php +++ b/lib/Cake/Core/CakePlugin.php @@ -50,11 +50,18 @@ class CakePlugin { return; } $config += array('bootstrap' => false, 'routes' => false); - $underscored = Inflector::underscore($plugin); if (empty($config['path'])) { foreach (App::path('plugins') as $path) { + if (is_dir($path . $plugin)) { + self::$_plugins[$plugin] = $config + array('path' => $path . $plugin . DS); + break; + } + + //Backwards compatibility to make easier to migrate to 2.0 + $underscored = Inflector::underscore($plugin); if (is_dir($path . $underscored)) { self::$_plugins[$plugin] = $config + array('path' => $path . $underscored . DS); + break; } } } else { diff --git a/lib/Cake/tests/Case/Core/CakePluginTest.php b/lib/Cake/tests/Case/Core/CakePluginTest.php index 753ac481e..779e006a7 100644 --- a/lib/Cake/tests/Case/Core/CakePluginTest.php +++ b/lib/Cake/tests/Case/Core/CakePluginTest.php @@ -181,10 +181,10 @@ class CakePluginTest extends CakeTestCase { */ public function testPath() { CakePlugin::load(array('TestPlugin', 'TestPluginTwo')); - $expected = CAKE_TESTS . 'test_app' . DS . 'plugins' . DS . 'test_plugin' . DS; + $expected = CAKE_TESTS . 'test_app' . DS . 'plugins' . DS . 'TestPlugin' . DS; $this->assertEquals(CakePlugin::path('TestPlugin'), $expected); - $expected = CAKE_TESTS . 'test_app' . DS . 'plugins' . DS . 'test_plugin_two' . DS; + $expected = CAKE_TESTS . 'test_app' . DS . 'plugins' . DS . 'TestPluginTwo' . DS; $this->assertEquals(CakePlugin::path('TestPluginTwo'), $expected); } diff --git a/lib/Cake/tests/test_app/plugins/plugin_js/webroot/js/one/plugin_one.js b/lib/Cake/tests/test_app/plugins/PluginJs/webroot/js/one/plugin_one.js similarity index 100% rename from lib/Cake/tests/test_app/plugins/plugin_js/webroot/js/one/plugin_one.js rename to lib/Cake/tests/test_app/plugins/PluginJs/webroot/js/one/plugin_one.js diff --git a/lib/Cake/tests/test_app/plugins/plugin_js/webroot/js/plugin_js.js b/lib/Cake/tests/test_app/plugins/PluginJs/webroot/js/plugin_js.js similarity index 100% rename from lib/Cake/tests/test_app/plugins/plugin_js/webroot/js/plugin_js.js rename to lib/Cake/tests/test_app/plugins/PluginJs/webroot/js/plugin_js.js diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/Task/empty b/lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/Task/empty similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/Task/empty rename to lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/Task/empty diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/Task/other_task.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/Task/other_task.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/Task/other_task.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/Task/other_task.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/example.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/example.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Console/Command/example.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Console/Command/example.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Console/templates/empty b/lib/Cake/tests/test_app/plugins/TestPlugin/Console/templates/empty similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Console/templates/empty rename to lib/Cake/tests/test_app/plugins/TestPlugin/Console/templates/empty diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/other_component.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/other_component.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/other_component.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/other_component.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/plugins_component.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/plugins_component.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/plugins_component.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/plugins_component.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/test_plugin_component.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/test_plugin_component.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/test_plugin_component.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/test_plugin_component.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/test_plugin_other_component.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/test_plugin_other_component.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/Component/test_plugin_other_component.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/Component/test_plugin_other_component.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/test_plugin_app_controller.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/test_plugin_app_controller.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/test_plugin_app_controller.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/test_plugin_app_controller.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/test_plugin_controller.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/test_plugin_controller.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/test_plugin_controller.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/test_plugin_controller.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Controller/tests_controller.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Controller/tests_controller.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Controller/tests_controller.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Controller/tests_controller.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Lib/Cache/Engine/TestPluginCacheEngine.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Cache/Engine/TestPluginCacheEngine.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Lib/Cache/Engine/TestPluginCacheEngine.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Cache/Engine/TestPluginCacheEngine.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Lib/Custom/Package/CustomLibClass.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Custom/Package/CustomLibClass.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Lib/Custom/Package/CustomLibClass.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Custom/Package/CustomLibClass.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Lib/Log/Engine/TestPluginLog.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Log/Engine/TestPluginLog.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Lib/Log/Engine/TestPluginLog.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Lib/Log/Engine/TestPluginLog.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Lib/test_plugin_library.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Lib/test_plugin_library.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Lib/test_plugin_library.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Lib/test_plugin_library.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Behavior/test_plugin_persister_one.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Behavior/test_plugin_persister_one.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Behavior/test_plugin_persister_one.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Behavior/test_plugin_persister_one.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Behavior/test_plugin_persister_two.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Behavior/test_plugin_persister_two.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Behavior/test_plugin_persister_two.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Behavior/test_plugin_persister_two.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Database/DboDummy.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Database/DboDummy.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Database/DboDummy.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Database/DboDummy.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Database/TestDriver.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Database/TestDriver.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Database/TestDriver.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Database/TestDriver.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Session/TestPluginSession.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Session/TestPluginSession.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/Session/TestPluginSession.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/Session/TestPluginSession.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/TestSource.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/TestSource.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/TestSource.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/TestSource.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/test_other_source.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/test_other_source.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/Datasource/test_other_source.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/Datasource/test_other_source.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_app_model.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_app_model.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_app_model.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_app_model.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_auth_user.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_auth_user.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_auth_user.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_auth_user.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_authors.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_authors.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_authors.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_authors.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_comment.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_comment.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_comment.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_comment.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_post.php b/lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_post.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_post.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_post.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/OtherHelperHelper.php b/lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/OtherHelperHelper.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/OtherHelperHelper.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/OtherHelperHelper.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php b/lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/plugged_helper.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/plugged_helper.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php b/lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/test_plugin_app.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/Helper/test_plugin_app.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/elements/plugin_element.ctp b/lib/Cake/tests/test_app/plugins/TestPlugin/View/elements/plugin_element.ctp similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/elements/plugin_element.ctp rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/elements/plugin_element.ctp diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/elements/test_plugin_element.ctp b/lib/Cake/tests/test_app/plugins/TestPlugin/View/elements/test_plugin_element.ctp similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/elements/test_plugin_element.ctp rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/elements/test_plugin_element.ctp diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/layouts/default.ctp b/lib/Cake/tests/test_app/plugins/TestPlugin/View/layouts/default.ctp similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/layouts/default.ctp rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/layouts/default.ctp diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/tests/index.ctp b/lib/Cake/tests/test_app/plugins/TestPlugin/View/tests/index.ctp similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/tests/index.ctp rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/tests/index.ctp diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/View/tests/scaffold.form.ctp b/lib/Cake/tests/test_app/plugins/TestPlugin/View/tests/scaffold.form.ctp similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/View/tests/scaffold.form.ctp rename to lib/Cake/tests/test_app/plugins/TestPlugin/View/tests/scaffold.form.ctp diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/bootstrap.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/bootstrap.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/bootstrap.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/bootstrap.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/custom_config.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/custom_config.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/custom_config.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/custom_config.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/load.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/load.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/load.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/load.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/more.load.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/more.load.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/more.load.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/more.load.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/routes.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/routes.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/routes.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/routes.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/config/schema/schema.php b/lib/Cake/tests/test_app/plugins/TestPlugin/config/schema/schema.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/config/schema/schema.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/config/schema/schema.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/locale/po/LC_MESSAGES/test_plugin.po b/lib/Cake/tests/test_app/plugins/TestPlugin/locale/po/LC_MESSAGES/test_plugin.po similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/locale/po/LC_MESSAGES/test_plugin.po rename to lib/Cake/tests/test_app/plugins/TestPlugin/locale/po/LC_MESSAGES/test_plugin.po diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/locale/po/LC_MONETARY/test_plugin.po b/lib/Cake/tests/test_app/plugins/TestPlugin/locale/po/LC_MONETARY/test_plugin.po similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/locale/po/LC_MONETARY/test_plugin.po rename to lib/Cake/tests/test_app/plugins/TestPlugin/locale/po/LC_MONETARY/test_plugin.po diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/vendors/sample/sample_plugin.php b/lib/Cake/tests/test_app/plugins/TestPlugin/vendors/sample/sample_plugin.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/vendors/sample/sample_plugin.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/vendors/sample/sample_plugin.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/vendors/welcome.php b/lib/Cake/tests/test_app/plugins/TestPlugin/vendors/welcome.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/vendors/welcome.php rename to lib/Cake/tests/test_app/plugins/TestPlugin/vendors/welcome.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/test_plugin_asset.css b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/test_plugin_asset.css similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/test_plugin_asset.css rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/test_plugin_asset.css diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/theme_one.htc b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/theme_one.htc similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/theme_one.htc rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/theme_one.htc diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/unknown.extension b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/unknown.extension similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/css/unknown.extension rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/css/unknown.extension diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/flash/plugin_test.swf b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/flash/plugin_test.swf similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/flash/plugin_test.swf rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/flash/plugin_test.swf diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/img/cake.icon.gif b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/img/cake.icon.gif similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/img/cake.icon.gif rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/img/cake.icon.gif diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/js/test_plugin/test.js b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/js/test_plugin/test.js similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/js/test_plugin/test.js rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/js/test_plugin/test.js diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/pdfs/plugin_test.pdf b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/pdfs/plugin_test.pdf similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/pdfs/plugin_test.pdf rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/pdfs/plugin_test.pdf diff --git a/lib/Cake/tests/test_app/plugins/test_plugin/webroot/root.js b/lib/Cake/tests/test_app/plugins/TestPlugin/webroot/root.js similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin/webroot/root.js rename to lib/Cake/tests/test_app/plugins/TestPlugin/webroot/root.js diff --git a/lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/Task/empty b/lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/Task/empty similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/Task/empty rename to lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/Task/empty diff --git a/lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/example.php b/lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/example.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/example.php rename to lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/example.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/welcome.php b/lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/welcome.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin_two/Console/Command/welcome.php rename to lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/Command/welcome.php diff --git a/lib/Cake/tests/test_app/plugins/test_plugin_two/Console/templates/empty b/lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/templates/empty similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin_two/Console/templates/empty rename to lib/Cake/tests/test_app/plugins/TestPluginTwo/Console/templates/empty diff --git a/lib/Cake/tests/test_app/plugins/test_plugin_two/config/bootstrap.php b/lib/Cake/tests/test_app/plugins/TestPluginTwo/config/bootstrap.php similarity index 100% rename from lib/Cake/tests/test_app/plugins/test_plugin_two/config/bootstrap.php rename to lib/Cake/tests/test_app/plugins/TestPluginTwo/config/bootstrap.php