Commit graph

478 commits

Author SHA1 Message Date
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
mark_story
4b4875e0a9 Renaming methods, fixing issue with habtm bleed through.
Added test cases for all relation generation.
2009-05-09 21:28:51 -04:00
mark_story
0467641469 minor cleanup 2009-05-09 02:22:29 -04:00
mark_story
31a266fc4c Refactoring association generation. 2009-05-09 02:20:46 -04:00
mark_story
11e2912945 Making output fit nicely on 80col display. 2009-05-09 01:00:14 -04:00
mark_story
8775f15375 Updating multiple validation generation.
Adding test coverage for interactive validations.
2009-05-09 00:35:03 -04:00
mark_story
103b97493a Adding test cases for validation generation
Updating validation generation functions.
2009-05-08 01:09:19 -04:00
mark_story
fae7ed5584 Refactoring model task. Starting to refactor
validation generation to enable multiple validation.
2009-05-08 00:49:26 -04:00
mark_story
fd5b422357 Fixing error when no connection is specified and
bake fixture Foo is used.
2009-05-07 23:59:43 -04:00
mark_story
37d81cb92d Adding __()
Refactoring duplicate code, and pulling out separate methods.
2009-05-05 00:43:29 -04:00
mark_story
bb2f6b2ef5 Consolidating $useDbConfig to $this->connection.
Updating test cases.
2009-05-05 00:10:24 -04:00
mark_story
f4dc4bc1ed Adding test cases to FixtureTask.
Removing useless param.
2009-05-04 23:08:15 -04:00
mark_story
e21cc3db72 Adding test cases for bake()
Adding support for -connection param
Adding partial support for -plugin param
Separating file writing and code generation functions.
Updating help()
2009-05-03 21:43:22 -04:00
mark_story
6180ca80c9 Adding common parameter handling for connection
and plugin params.
2009-05-03 20:48:13 -04:00
mark_story
1cc3a6ecfb Removing unused variable. 2009-04-29 22:50:57 -04:00
mark_story
40ebdf8aac Adding fixture all command.
Fixing errors with maxlength and timestamp fields
Adding return for ModelTask::listAll()
2009-04-29 22:50:43 -04:00
mark_story
d3fe3d5959 Adding fixture <name> baking 2009-04-29 22:42:11 -04:00
mark_story
2b87be1d7c Updating FixtureTask help
Adding test case for FixtureTask
2009-04-29 22:40:49 -04:00
mark_story
80287223f1 Additional Test for ModelTask 2009-04-29 22:25:42 -04:00
mark_story
f992406501 Removing fixture generation from ModelTask 2009-04-29 21:18:08 -04:00
mark_story
0b2232d05a Updating fixture task. Refactored methods.
Multiple rows can now be generated.
2009-04-29 20:52:12 -04:00
mark_story
d705e8943a Refactoring table naming interaction into getTable() 2009-04-28 21:20:34 -04:00
mark_story
0b40e5c709 Refactoring out to use DbConfig::getConfig
Continuing fixture bake
2009-04-28 20:45:07 -04:00
mark_story
802ed73c0a Adding getConfig() so other tasks can pick connections more easily. 2009-04-28 20:44:23 -04:00
mark_story
b5cc69c37c Adding Fixture task to bake. 2009-04-28 20:32:15 -04:00
mark_story
f7a7b07740 Turning off interactive for bake all commands. 2009-04-27 23:58:36 -04:00