Commit graph

503 commits

Author SHA1 Message Date
mark_story
fb2be781f2 Refactoring to use TemplateTask 2009-05-30 00:32:57 -04:00
mark_story
2b6ea8748c Adding flush so models in registry are always fresh
fixes issues baking model + test
2009-05-26 00:36:25 -04:00
mark_story
fe235f4e94 Tweaking template. 2009-05-26 00:20:17 -04:00
mark_story
79568cc742 Fixing controller test file generation 2009-05-25 23:57:15 -04:00
mark_story
518c318887 Adding tests and code for controller stub generation. 2009-05-25 23:48:41 -04:00
mark_story
877616ad9b Fixing broken comment. 2009-05-25 01:19:54 -04:00
mark_story
66b36ba3b8 Adding tests for other object types. 2009-05-25 01:02:59 -04:00
mark_story
975aab8009 Fixing plugin imports
Adding contstructor generation.
and test case for controller construction.
2009-05-25 00:54:23 -04:00
mark_story
587b0ca07d Test generation for models is partially complete.
fixtures and introspected methods work.
2009-05-24 23:50:21 -04:00
mark_story
eb9f40c6f4 extracting out object type interaction.
test case added.
2009-05-24 20:12:17 -04:00
mark_story
1d6ceffb92 Adding test case and function for generating
fixture lists from controller objects.
2009-05-24 01:30:04 -04:00
mark_story
61191d88cd Adding test cases and ability to pull all
fixtures for a model.
2009-05-24 01:15:31 -04:00
mark_story
f20a7e4f61 Adding method extraction and test case. 2009-05-23 23:48:25 -04:00
mark_story
dee9b6370b Adding test template. 2009-05-23 23:30:41 -04:00
mark_story
4fe3c2efe1 Removing ability to bake $useTable = false models. 2009-05-23 23:25:14 -04:00
mark_story
fe2e3d82fd Removing while() loops wrapping in() with concrete options. 2009-05-20 23:21:36 -04:00
mark_story
5843d5e40a Adding test case for DbConfig task
making DbConfigTask testable.
2009-05-20 23:15:31 -04:00
mark_story
dc01673503 More i18n strings. 2009-05-20 22:28:15 -04:00
mark_story
de1b495afb Adding some i18n strings.
Moving test creation to TestTask.
2009-05-20 00:46:09 -04:00
mark_story
6eada280cf Fixing typo.
Removing newlines
2009-05-20 00:00:36 -04:00
mark_story
a4f6fdc3b9 Refactoring bake action generation into a template
file.
Adding template file for controller actions.
2009-05-19 23:53:41 -04:00
mark_story
2cae04308c Adding tests for interactive mode.
Fixing notice error.
2009-05-19 00:18:59 -04:00
mark_story
0d7b86fc8b Removing $uses as part of bake. 2009-05-18 22:26:16 -04:00
mark_story
9d405faf8f Allowing controller bake all to use
connections other than default.
2009-05-17 00:31:37 -04:00
mark_story
d31c43d409 Refactoring code generation into controller.ctp 2009-05-17 00:05:07 -04:00
mark_story
08394629c9 Creating confirmController and test case. 2009-05-16 23:17:40 -04:00
mark_story
938ba849d2 Refactoring doXX methods
Adding doUses seems to have gotten lost at one point.
2009-05-16 22:41:38 -04:00
mark_story
9eb27f14d7 Adding tests and starting clean up of __interactive. 2009-05-15 00:04:57 -04:00
mark_story
d609a62dc5 Adding welcome message back to model task 2009-05-15 00:03:53 -04:00
mark_story
b1de3166e9 Removing dead options. 2009-05-14 23:33:10 -04:00
mark_story
68a858b39a Adding test case for getName 2009-05-14 23:28:27 -04:00
mark_story
03e231c05d Adding test case for controller task.
Refactoring listAll() to use Model task which has 
the necessary code.
2009-05-14 23:17:42 -04:00
mark_story
e6881cced4 Extracted another method. 2009-05-14 23:00:29 -04:00
mark_story
305104140c Adding tests for __interactive 2009-05-14 22:36:04 -04:00
mark_story
ad930f277d Moving test generation to a temporary home 2009-05-14 22:23:36 -04:00
mark_story
3f7821c258 Adding test cases for bake model all
Adding test cases for bake model MyModel
Fixing all()
Starting refactor into Test task
2009-05-14 21:42:07 -04:00
mark_story
a85bf16560 Cleaning up model template. 2009-05-13 23:50:46 -04:00
mark_story
4a9a5bce69 Removing template code. 2009-05-13 23:37:21 -04:00
mark_story
3c08369e3a Adding bake model template.
Adding tests for bake model.
2009-05-13 23:36:13 -04:00
mark_story
a7f0071c61 Forcing templatePaths to exist. 2009-05-13 23:35:41 -04:00
mark_story
15fb1a711a Updating TemplateTask adding test case and test object file. 2009-05-12 22:00:30 -04:00
mark_story
a38233e75d Updating FixtureTask and FixtureTask test to use TemplateTask 2009-05-12 21:26:37 -04:00
mark_story
dff90e892e Adding Template Task, removing CodeGenerator. 2009-05-12 21:19:15 -04:00
mark_story
3ea2b5a87d Moving CodeGenerator class into bake shell.
Updating FixtureTask and test cases.
Updating template for fixtures.
2009-05-10 22:16:38 -04:00
mark_story
a6d16500a9 Adding CodeGenerator in a temporary place. 2009-05-10 13:33:52 -04:00
mark_story
328756f686 Adding fixture template 2009-05-10 13:33:05 -04:00
mark_story
4b75c6b78e minor cleanup 2009-05-10 12:43:38 -04:00
mark_story
d066a4a0d6 Extracting method out. 2009-05-10 01:35:59 -04:00
mark_story
ec443c4371 Moving method and adding tests. 2009-05-10 01:04:40 -04:00
mark_story
5c48603bd0 Refactoring methods, adding self join association detection.
Test cases updated.
2009-05-09 23:32:22 -04:00