mark_story
102f10365f
Implementing -records flag to enable quick access to building fixtures off of live data. Refs #196
2009-10-24 14:32:56 -04:00
mark_story
857b7c2399
Merge branch '1.3' into fixture-task
2009-10-24 14:08:16 -04:00
mark_story
f0fdd257cf
Adding tests for -count and -records params
2009-10-24 14:08:08 -04:00
mark_story
72830cb125
Adding test case for model task
...
Fixing missing case for float datatypes when generating fixtures.
Fixes #204
2009-10-24 11:26:06 -04:00
mark_story
6847d34d80
Updating fixture test to fix issues caused by refactoring in CakeSchema.
2009-10-22 13:11:30 -04:00
mark_story
a3f38c77dd
Merge branch '1.3-console' into 1.3
2009-10-11 21:51:02 -04:00
mark_story
382488a9a7
Updating tests to reflect changes in default bake templates.
2009-10-11 21:39:41 -04:00
mark_story
c5ec87e577
Adding tests for SchemaShell::generate() with plugins, testing that plugin schema files do not include non plugin models.
2009-10-08 22:40:17 -04:00
mark_story
4b862de085
Fixing interactions with Routing.prefixes in Controller and View task.
2009-10-07 01:35:29 -04:00
mark_story
651a3f16b2
Updating ProjectTask::getAdmin(). Renamed to ProjectTask::getPrefix(). Now returns the user selected prefix to use for baking.
...
Test cases updated. Use of method updated.
2009-10-07 00:46:13 -04:00
mark_story
2dc0fbf3b3
Making schema dump work with plugins.
...
Adding tests.
Making output of dump file more flexible.
2009-10-04 14:47:35 -04:00
mark_story
75f2106420
Made SchemaShell::view() work better with plugins. Tests added.
2009-10-04 14:06:07 -04:00
mark_story
05f6099def
Enabling plugin.name schema file creation and addition.
...
Making CakeSchema::load() use plugin parameter, tests added.
Plugin schema file added to test_app.
2009-10-04 13:32:33 -04:00
mark_story
c2a53d3c69
Removing cake schema run
. Replacing it with cake schema create
and cake schema update
. Removes extra typing and simplifies schema shell commands.
...
Updating test cases.
2009-10-04 11:16:23 -04:00
mark_story
bc90f0aa01
Merge branch '1.3-console' into 1.3
...
Conflicts:
cake/console/libs/tasks/fixture.php
2009-09-27 16:26:45 -04:00
davidpersson
3de2f6b671
Fixing test for Shell::err().
2009-09-27 16:25:18 +02:00
davidpersson
0f6bca7496
Making first parameter of Shell::out() and err() optional.
2009-09-26 23:02:54 +02:00
mark_story
c330934b93
Adding test cases for view task.
2009-09-23 13:27:47 -04:00
davidpersson
5ac7361a76
Removing support for string input in Shell::nl().
...
Updating Shell::out() and Shell::err() parameter usage.
Updating method to always return strings, renaming parameter.
Updating docblocks.
Updating test.
2009-09-21 22:39:45 +02:00
mark_story
42017e95c6
Merge branch '1.3-console' into 1.3
...
Conflicts:
cake/tests/cases/console/libs/schema.test.php
2009-09-20 19:05:03 -04:00
mark_story
37b575496c
Fixing capitalization in ControllerTask & test cases.
2009-09-20 18:13:53 -04:00
mark_story
a3cd80bf52
Merge branch '1.3-bake' into 1.3
2009-09-20 17:42:43 -04:00
mark_story
99095daf5c
Adding drop statements so tables aren't left in the test db.
2009-09-16 02:02:40 -04:00
mark_story
5717e3b59c
Merge branch '1.2' into 1.2-merger
...
Conflicts:
app/webroot/test.php
cake/VERSION.txt
cake/bootstrap.php
cake/config/config.php
cake/console/cake.php
cake/console/libs/schema.php
cake/console/templates/skel/webroot/test.php
cake/libs/configure.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/fixtures/aco_fixture.php
2009-09-16 01:23:49 -04:00
renan.saddam
78e01cdb47
Refactoring ExtractTask to support extraction from multi-directories and splitting domain in different files.
2009-09-15 00:43:59 -03:00
mark_story
91503f8f8a
Adding patch from jperras to fix issues with non 'app' APP_DIR values.
2009-09-07 18:33:16 -04:00
jperras
24351b5a21
Backporting bugfix for #22 from 1.3-console to 1.2. Adds schema shell test cases, fixes for schema object references, i18n of schema schell output strings.
2009-09-07 12:24:38 -04:00
mark_story
ae715ef882
Adding in fallback for sql & schema dirs.
...
Starting to add plugin support for schema shell.
tests added.
2009-08-20 01:07:21 -04:00
AD7six
7c4dfed299
Updating view and controller tasks to use (_singluar|_plural)HumanName functions
...
Modifying the test case to expect humanized forms
2009-08-19 10:17:10 +02:00
AD7six
ce8dd039da
If there are is more than one theme, the test will hang waiting for the user to select the theme to use
2009-08-18 10:14:39 +02:00
mark_story
a7499be154
Adding missing & operators.
...
Adding tests for run update.
Adding -f param to schema run update to allow for testing and forcing of table comparison. Skips model checks and uses tables only instead.
2009-08-14 20:06:27 -04:00
gwoo
368c7556d4
Merge branch '1.3-console' into 1.3
2009-08-14 12:32:54 -04:00
AD7six
9d1e556486
Revert "mend"
...
This reverts commit a0f42640cc10342f96effe4d08be188bb51bd0db.
2009-08-12 09:46:18 -04:00
mark_story
ae628f7f72
Applying patch from 'savant' Fixes usage of deprecated methods. Fixes #11
2009-08-12 09:46:18 -04:00
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