mark_story
0a1d8ca92a
Updating test cases to reflect changes in default templates.
2009-08-12 09:46:17 -04:00
AD7six
b53c7339c4
mend
2009-08-12 09:46:17 -04:00
mark_story
31d136ca67
Making constructClasses() call run against the correct object. test cases updated.
...
Fixes #4
2009-08-12 09:46:17 -04:00
mark_story
74448e4dee
Adding test cases for run create in Schema shell.
2009-08-10 21:54:29 -04:00
AD7six
98b04dc0e7
Merge branch '1.3-console' of dev@code.cakephp.org:cakephp into 1.3-console
2009-08-09 22:32:28 +02:00
AD7six
de87fbd484
updating console output to use a more concise format
...
typing "cake" on the command line will now output
...
Available Shells:
acl [CORE] bake [CORE] i18n [CORE] testsuite [CORE]
api [CORE] console [CORE] schema [CORE]
To run a command, type 'cake shell_name [args]'
...
Auto adjusting the width on *nix systems
2009-08-09 12:54:41 +02:00
mark_story
f70b97f4cb
Adding more tests for generate().
2009-08-08 23:46:00 -04:00
mark_story
a27575382b
Adding tests for generate() from jperras
2009-08-08 23:21:24 -04:00
mark_story
4965551084
Adding test cases for dump()
2009-08-08 23:00:40 -04:00
mark_story
12b94756d0
Adding tests for view()
2009-08-07 22:28:28 -04:00
mark_story
3c46b51b7f
Adding test cases for startup()
2009-08-07 22:19:40 -04:00
mark_story
32754c4261
Adding test case for SchemaShell
2009-08-07 22:10:39 -04:00
mark_story
c305b7a410
Adding tests to AclShell::view()
2009-08-07 08:37:31 -04:00
renan.saddam
ae89e709d2
Refactoring extract shell. Supporting use of $foo['bar'] as $count.
2009-08-06 18:14:25 -03:00
renan.saddam
ff04c7668a
Fixing DS for Windows
2009-08-06 15:59:47 -03:00
mark_story
8d351d90b3
Updating file headers.
2009-08-05 23:43:01 -04:00
mark_story
eda74d08b4
Updating view() to use node references.
...
updating test cases to use new formating.
2009-08-05 23:41:25 -04:00
mark_story
e6b32e21ad
Adding tests for getPath and inherit.
...
Refactoring the output of getPath
2009-08-05 23:13:48 -04:00
mark_story
3aa56e82c9
Fixing typo.
2009-08-05 12:20:12 -04:00
mark_story
cd9dd97eff
Adding test cases for AclShell
2009-08-05 00:37:53 -04:00
mark_story
9e36d1bedc
Fixing whitespacing on aco_fixture.
...
Adding tests to AclShell::grant()
Refactoring __getParams()
2009-08-05 00:23:59 -04:00
gwoo
6775e0997e
Merge branch '1.2' into 1.3
2009-08-03 13:13:18 -07:00
gwoo
57552c25fc
updating some tests for php4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8280 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:14:12 +00:00
mark_story
4583873379
Fixing issues in PluginTask test due to addition of cake/plugins. Fixing undefined variable.
2009-08-02 20:42:08 -04:00
mark_story
48a483e5ce
Fixing bake and bake related task test cases for PHP4.
2009-08-02 18:17:31 -04:00
AD7six
593bec85b7
adding tests for plugin file structure changes
2009-08-02 23:41:56 +02:00
AD7six
20b1dd795d
Revert "Changing the Plugin task to take the dirs to create from the App skeleton"
...
This reverts commit fe8b641cd3257b4aa82ce93ac8a2e8f624e4ec58.
Conflicts:
cake/console/libs/tasks/plugin.php
2009-08-02 23:39:59 +02:00
AD7six
d61e8736e4
Merge branch '1.3' into 1.3-bake
2009-08-02 22:44:28 +02:00
AD7six
7eb150b49a
Merge branch '1.3' into 1.3-bake
...
Conflicts:
cake/console/libs/tasks/model.php
2009-08-02 22:31:01 +02:00
AD7six
6d6f97de59
This will be implemented in the Folder class itself
...
Revert "preventing the possibility of trying to delete / if the test dir wasn't created correctly"
This reverts commit 61c9771e7d163d8e7131a07a304b5a8dd6a3696a.
2009-08-02 22:00:57 +02:00
gwoo
292b37c6e8
Merge branch '1.3-console' into 1.3
2009-08-02 12:31:12 -07:00
gwoo
d118c6a764
Merge branch '1.3-newlines' into 1.3
2009-08-02 12:08:55 -07:00
mark_story
ca8744c8b9
Updating setParent() to use either Model.key or alias. Tests added.
2009-08-01 20:56:58 -04:00
mark_story
acaba022c6
Updating delete() and adding test cases. Refactoring out common methods.
2009-08-01 20:17:44 -04:00
mark_story
449c390d48
Refactoring out Model.fk parsing. Updating create(). Adding tests.
2009-08-01 18:57:54 -04:00
gwoo
1423b0067b
Merge branch '1.2' into 1.3
2009-07-30 11:34:33 -07:00
gwoo
6cb70f0929
Merge branch '1.3-console' into 1.3
2009-07-30 11:26:23 -07:00
mark_story
189480e499
Correcting parameter names for ControllerTask. Updating tests in Controller and ViewTask.
2009-07-29 12:47:25 -04:00
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
gwoo
f53181bc96
fixes #6467 , cake bake on windows drive. thanks burzum
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8257 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-27 16:57:58 +00:00
AD7six
59317fb5a0
Merge branch '1.3' into 1.3-bake
2009-07-27 13:10:11 +02:00
AD7six
f64f4cbddc
whitespace normalization
2009-07-26 11:59:51 +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
mark_story
88f95bc0c4
Making plugin task find plugins on $pluginPaths
...
Fixing i18n.
Adding tests for execute with 2 params.
2009-06-11 00:04:22 -04:00
mark_story
701d93c61c
Adding test cases for execute()
...
Adding more i18n
Fixing issues with folders being left behind by tests.
2009-06-10 23:21:42 -04:00
mark_story
62199dba59
Adding $pluginPaths support to PluginTask
2009-06-10 22:52:38 -04:00
mark_story
8ca30f2d22
Adding test folder structure to PluginTask creation
2009-06-10 22:22:06 -04:00
mark_story
5eae9fcba5
Adding test case for PluginTask::bake()
2009-06-10 22:19:14 -04:00
mark_story
2f5711c095
Adding test case for PluginTask
2009-06-10 21:43:55 -04:00
gwoo
c3643767bf
some more updates to path handling
2009-06-10 16:13:39 -07:00
gwoo
24d78dd671
moving path configuration to App class
2009-06-07 15:24:10 -07:00
mark_story
d810b43e80
Adding tests so no empty helpers/components
...
can be added. Refs #6383
2009-06-07 12:22:43 -04:00
mark_story
5e5293a866
Adding redirect() if deletion fails.
...
Fixing formatting.
2009-06-06 21:38:22 -04:00