Commit graph

128 commits

Author SHA1 Message Date
AD7six
bbc2562d3f Correcting use of CONSOLE_LIBS to refer to template files 2009-07-29 10:17:06 +02:00
AD7six
d54369e29e CONSOLE_LIBS isn't an absolute path
Adding app vendor folders

Correcting plugin test to match changes to the task
2009-07-29 10:12:54 +02:00
AD7six
803d19c80e preventing the possibility of trying to delete / if the test dir wasn't created correctly
And the ensuing exception if permission is denied
2009-07-29 09:58:35 +02:00
mark_story
9092b25004 Fixing how scaffold arg works, now generates scaffolds.
Making admin arg only make admin methods and new both arg make both admin and non admin methods.
Adding test cases.
Adding new line to template.
2009-07-28 22:53:29 -04:00
AD7six
59317fb5a0 Merge branch '1.3' into 1.3-bake 2009-07-27 13:10:11 +02:00
mark_story
478e90240d Updating paths in ProjectTask and PluginTask to reflect changed dirs.
Updating tests.
2009-07-26 01:52:05 -04:00
mark_story
b4f4aeeec7 Moving shell templates dirs.
Updating TemplateTask to reflect changes in directories.
Updating test cases to use App::build()/App::path()
2009-07-26 01:29:08 -04:00
gwoo
062f471b7f updating App::import usage. ran each test and everything seems ok. 2009-07-25 18:27:02 -07:00
gwoo
766e12bc2a Merge branch '1.3' into 1.3-newlines 2009-07-25 10:41:40 -07:00
gwoo
986af28de0 Merge branch '1.2' into 1.3 2009-07-24 15:57:30 -07:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
mark_story
e382f53ead Fixing duplicated test case class name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8249 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 13:31:16 +00:00
gwoo
8dc777a2b7 Merge branch '1.3-bake' into 1.3 2009-07-22 08:56:00 -07:00
DarkAngelBGE
ecd001547d fixing error in api.test.php from #8203 so it can run again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8244 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 08:41:35 +00:00
mark_story
def848f198 removing debug(); 2009-07-21 00:02:08 -04:00
mark_story
19eca9003d Adding ability to generate fixtures from data in app tables, with custom conditions. Test cases added. 2009-07-21 00:00:39 -04:00
gwoo
f14a223f1d Merge branch '1.3-bake' into 1.3 2009-07-20 09:37:18 -07:00
gwoo
a2f0ab8b27 Merge branch '1.2' into 1.3 2009-07-20 09:31:56 -07:00
mark_story
10f5ae22a9 Adding prompt for supplying custom conditions for fixture. 2009-07-20 00:59:18 -04:00
mark_story
de51d880fb Adding prompts for PluginTask with no args.
Test cases added.
2009-07-20 00:20:58 -04:00
mark_story
ad3e5f43e0 Removing newlines in files.
Adding and update bake.test to bake group test.
Fixing doc blocks.
2009-07-16 23:55:41 -04:00
mark_story
7b06ba2b3d Adding support for -admin flag when baking a controller's views. Using -admin will only bake admin methods. Refactoring some methods, removing newlines. 2009-07-16 23:12:47 -04:00
mark_story
22c98cc712 Adding empty files to baked plugins. 2009-07-16 21:49:26 -04:00
mark_story
2e3a311b0d Adding config/sql to plugin baking. 2009-07-16 21:34:14 -04:00
mark_story
9f3a9e6d78 Adding test case for BakeShell and bake all 2009-07-16 08:51:06 -04:00
mark_story
1e8d01992e Adding test generation for controllers baked with ControllerTask::all() 2009-07-15 10:14:16 -04:00
mark_story
80b9692856 Adding test and fixture generation to ModelTask::all 2009-07-15 10:00:35 -04:00
mark_story
7e1f9eeebd Updating tests for ModelTask. Making it impossible to bake a model which does not have a table on the active connection. Fixes #6035 2009-07-08 23:30:29 -04:00
mark_story
9bbb33ef2f Fixing Configure::read() use in PluginTask. Adding PluginTask to the bake group test. Adding vendors directory generation to baked plugins. Fixes #5200. 2009-07-08 22:25:27 -04:00
mark_story
41eecdaa91 Adding the ability to set $displayField from bake. Refactoring ModelTask::bake() Fixes #4438. 2009-07-08 22:06:42 -04:00
mark_story
d671056044 Adding displayField detection and interaction to ModelTask. Test Cases added. 2009-07-08 09:10:18 -04:00
mark_story
dc98184086 Updating Shell and Bake tasks to use App::path() instead of Configure::read(). 2009-07-06 23:11:57 -04:00
mark_story
5c9b5febdf Merge branch '1.3' into 1.3-bake-integration
Conflicts:
	cake/console/libs/tasks/controller.php
2009-07-06 23:03:04 -04:00
mark_story
8d1457e048 Merge branch '1.3' into 1.3-bake-integration
Conflicts:
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/model.php
2009-07-06 22:20:03 -04:00
gwoo
bc359259a2 Merge branch '1.2' into 1.3 2009-07-02 09:27:00 -07:00
mark_story
1a7965fde0 Adding output to getThemePath()
Adding param setting to getThemePath() as well so template choice is saved between file generations in the same session. Test cases added.
2009-07-01 23:49:50 -04:00
mark_story
4cb70580a2 Expanding test cases for ViewTask to be more specific and finer tests for admin_ methods. 2009-07-01 23:21:41 -04:00
mark_story
ad98139e35 Moving bake templates into templates/default.
Adding 'console template themes' to TemplateTask.
Adding test cases for console themes.
Moving files around.
2009-07-01 00:24:20 -04:00
mark_story
9627af2050 Adding tests for ProjectTask::execute(). 2009-06-30 22:23:48 -04:00
mark_story
f2031385c1 Fixing ViewTask test case in Group context.
Adding Group test for bake tasks
2009-06-30 21:59:37 -04:00
mark_story
11ecde194d Updating ViewTask to use the ProjectTask.
Adding tests for previously missed code branch.
2009-06-30 21:50:28 -04:00
mark_story
0eef6577e2 Fixing test that failed when no models were found in app. 2009-06-30 21:22:10 -04:00
mark_story
ddc341e4de Updating ControllerTask to use ProjectTask. 2009-06-30 20:49:58 -04:00
mark_story
da99aa1c6a Moved Shell::getAdmin() to ProjectTask 2009-06-30 20:44:09 -04:00
mark_story
198511f639 Adding tests for security salt generation. 2009-06-30 18:30:39 -04:00
mark_story
285fdc22c6 Adding test case for api console.
Fixing issue where methods with no parameters were omitted from api method lists.
Fixes #6474

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8203 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-25 13:34:28 +00:00
mark_story
8c2a027842 Pointing test directory creation to TMP/tests/
Adding tests for ProjectTask::bake()
2009-06-16 23:05:48 -04:00
mark_story
bf7fcdfd37 Updating dates in PluginTask headers
Adding ProjectTask test case.
2009-06-16 22:34:16 -04:00
mark_story
981503755e Fixing camelCasing of plugin name for single word plugin names.
tests added.
2009-06-16 22:29:48 -04:00
gwoo
f9339e3c81 simplified App::path(). Changed App::build() to handle all paths.
tests passing.
2009-06-11 09:13:16 -07:00