Commit graph

340 commits

Author SHA1 Message Date
mark_story
0d7b86fc8b Removing $uses as part of bake. 2009-05-18 22:26:16 -04:00
mark_story
c0f06be65e Adding test case for bake output. 2009-05-17 00:04:33 -04:00
mark_story
08394629c9 Creating confirmController and test case. 2009-05-16 23:17:40 -04:00
mark_story
9eb27f14d7 Adding tests and starting clean up of __interactive. 2009-05-15 00:04:57 -04:00
mark_story
68a858b39a Adding test case for getName 2009-05-14 23:28:27 -04:00
mark_story
9b9b1fbf21 Updating doc block 2009-05-14 23:25:52 -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
305104140c Adding tests for __interactive 2009-05-14 22:36:04 -04:00
mark_story
8a5d6cae77 Removing junk 2009-05-14 22:19:43 -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
3c08369e3a Adding bake model template.
Adding tests for bake model.
2009-05-13 23:36:13 -04:00
mark_story
333713e978 removing whitespace. 2009-05-12 22:01:27 -04:00
mark_story
15fb1a711a Updating TemplateTask adding test case and test object file. 2009-05-12 22:00:30 -04:00
mark_story
3a36979a21 fixing doc block 2009-05-12 21:35:06 -04:00
mark_story
a38233e75d Updating FixtureTask and FixtureTask test to use TemplateTask 2009-05-12 21:26:37 -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
ef519621b4 Adding tests for doAssociations 2009-05-10 12:11:20 -04:00
mark_story
6be70c3cfa Adding test coverage for inOptions. 2009-05-10 11:01:15 -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
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
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
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
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
aad2bd702d Adding test case for Model Task 2009-04-29 22:17:08 -04:00
davidpersson
0ee8889e6d Adding Shell::nl method
Updating out to not use newline feature of SD::stdout
Updating out, err and hr methods to utilize the new method
Rewording parameters of out, err and hr
Changing handling of multiple messages
Adding tests for nl, hr and error
Updating tests for out and err
Updating docblocks
2009-04-24 21:04:07 +02:00
davidpersson
4faa9d3b21 Adding newline param to Shell::err
The signature of ::err is now identical to ::out
Adding tests for ::err
2009-04-16 10:59:53 +02:00
davidpersson
fd7d6718a1 Updating tests to not affect other ones when run from a group
Adding NoCrossContamination group
Shortening group class names
Renaming lib_controller group
Updating test imports to include the core AppController by default
Some cosmetics




git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8123 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-21 23:55:39 +00:00
davidpersson
3c3b852099 Changing package of tests from "cake.tests" to "cake".
Moving tearDown et al. to the top of each test class.
Adding short descriptions to docblocks.
Adding missing docblocks.
Removing unnecessary blank lines and whitespaces.
Updating labels of test groups.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8116 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-18 17:55:58 +00:00
davidpersson
b184d0705d Adding tests for ShellDispatcher, Shell, ExtractTask and TestTask.
Adding console test group.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8096 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-13 16:06:18 +00:00
mark_story
2a36e5f8cd Adding Test case for TestTask
Fixing path appending issues caused by continual baking.
Fixes #6099

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8027 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 14:22:11 +00:00
nate
440c629931 Fixing glob() handling in extract shell, added extract shell test, partial fix for #6044, code formatting changes in CakeTestCase.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8026 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 06:22:34 +00:00
DarkAngelBGE
df4a8bcd32 moving shell.test.php to correct place in order to make code coverage possible for it; changing some whitespaces in shell.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7838 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 10:41:52 +00:00