Commit graph

507 commits

Author SHA1 Message Date
mark_story
66699df9a0 Updating Shell.test to use PHPUnit. There may still be some errors with the windows tests as I don't have access to windows at this time. 2010-05-23 14:52:46 -04:00
mark_story
265609dfc1 Moving test to work with PHPUnit.
Fixing incorrect count amount in SchemaShell.
2010-05-23 00:17:22 -04:00
mark_story
81c2169b0b Fixing BakeShell test for PHPUnit. Mock expectation numbers are off due to some oddities in PHPUnit. 2010-05-22 22:40:18 -04:00
mark_story
0436e938cd Fixing typo in class name. 2010-05-22 22:39:46 -04:00
mark_story
89a8ef3871 Updating API shell to use reflection as the regular expression was not working with visibility keywords.
Updating tests for changes in output.
Updating tests to work with PHPUnit.
2010-05-22 22:09:07 -04:00
mark_story
1955b0fb1f Updating Acl cli tool test case to use PHPUnit mock objects. 2010-05-22 20:21:27 -04:00
mark_story
1c36c1f088 Updating ShellDispatcher test case to use PHPUnit mock objects. 2010-05-22 13:10:01 -04:00
predominant
6a18b2bc1d Merge remote branch 'origin/1.3' into 2.0
Conflicts:
	cake/basics.php
	cake/console/libs/shell.php
	cake/console/libs/tasks/controller.php
	cake/libs/controller/components/request_handler.php
	cake/libs/model/model.php
	cake/libs/model/model_behavior.php
	cake/libs/overloadable.php
	cake/libs/overloadable_php4.php
	cake/libs/overloadable_php5.php
	cake/libs/sanitize.php
	cake/libs/validation.php
	cake/libs/view/helpers/ajax.php
	cake/libs/view/helpers/javascript.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/console/libs/tasks/controller.test.php
	cake/tests/cases/libs/overloadable.test.php
	cake/tests/cases/libs/validation.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/test_app/libs/cache/test_app_cache.php
	cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php
	cake/tests/test_app/plugins/test_plugin/models/test_plugin_auth_user.php
	cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
2010-05-20 12:22:04 +10:00
Juan Basso
a94b9ee95b Update various links. Closes #392 2010-05-18 22:15:13 -03:00
predominant
8f880731c6 Removing closing PHP tags. 2010-05-11 08:27:28 +10:00
predominant
1ec220dac2 Removing closing PHP tags. 2010-05-11 08:07:49 +10:00
Mark Story
45d052b55a Fixing failing tests in ViewTask test case, caused by changes in core templates.
Fixing incorrect variable usage where models would be double singularized causing incorrect names.  Fixes #668
2010-05-06 21:38:14 -04:00
Mark Story
fcad9b464c Fixing tests broken by changes in default bake templates.
Fixing issue where admin methods wouldn't be correctly generated.
Fixes #664
2010-05-04 23:27:41 -04:00
Mark Story
0a8aafe3c8 Fixing reference to method name. 2010-04-23 22:03:11 -04:00
predominant
015872445b Merge remote branch 'origin/1.3' into 2.0
Conflicts:
	cake/console/libs/acl.php
	cake/tests/cases/libs/view/helpers/form.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
2010-04-23 12:52:56 +10:00
Mark Story
568e9d3a89 Adding tests for and fixing the behavior of cake acl initdb it now correctly delegates to SchemaShell. Fixes #608 2010-04-21 23:28:40 -04:00
predominant
74d7682707 Fix translation shortcut usage through testing console for updates 2010-04-16 02:38:12 +10:00
predominant
ed02b0f54b Fixing access modifier test on Test task. 2010-04-11 09:40:54 +10:00
predominant
4b919382bb Fix Console Model test to correct index changes for validation. 2010-04-11 09:19:30 +10:00
predominant
b22b3b1f41 Fix a bunch of fixture tests testing for access modifiers. 2010-04-09 22:58:06 +10:00
predominant
75c741f5a6 Fix scaffold test on console, replaced 'var' with 'public'. 2010-04-09 22:55:43 +10:00
predominant
50a547167b Changing protected methods to specify protected access. 2010-04-05 13:21:28 +10:00
predominant
1497ec3910 Changed all public methods to specify public access. 2010-04-05 13:19:38 +10:00
predominant
850ca02bb6 Changed all public 'var' declarations to be 'public $var' 2010-04-04 17:14:00 +10:00
Mark Story
78f347afd7 Fixing SchemaShell test, was failing due to a model in the test_app changing. 2010-03-14 13:06:22 -04:00
Mark Story
49c60658b9 Fixing the ability to use regular expressions for validation rules. Fixes #453 2010-03-13 19:44:20 -05:00
Mark Story
8e8acfaccd Fixing notice errors when bogus validation options are selected. Refs #453 2010-03-12 22:58:14 -05:00
Mark Story
220fba9bba Fixing inflection of parameters when using bake. Model, View, Controller, and Fixture tasks all accept either singular or plural forms of the table name. Fixes #425 2010-03-05 21:30:58 -05:00
Mark Story
f8cb20e994 Passing interactive property to inner tasks. Inner tasks now share the parent interactive setting making things more consistent. Fixes #423 2010-03-04 22:02:49 -05:00
Mark Story
d4393e9058 Fixing path generation in BakeTask.
Removing name properties as they were causing troubles.
All BakeTasks are now interactive = false by default.  This makes interfaces more consistent when working with bake.  Refs #423
Tests updated.
2010-03-04 21:57:48 -05:00
Mark Story
a6efda66b8 Adding fixtures to fix errors in schema shell test case. 2010-02-28 12:38:49 -05:00
Mark Story
4256cbc6f8 Fixing fails in apishell test. 2010-02-28 12:28:31 -05:00
Mark Story
75e98387e7 Removing debug() from test case. 2010-02-28 11:39:09 -05:00
Mark Story
b1a3e05374 Fixing failing tests in ControllerTask. 2010-02-21 22:37:18 -05:00
Mark Story
1c7c748a7c Merge branch 'view-all' into 1.3 2010-02-21 22:29:22 -05:00
Mark Story
8615274e7f Fixing issue where baking a model non-interactively would omit hasMany associations. Tests added. 2010-02-20 20:13:42 -05:00
Mark Story
d7dd63de82 Adding the ability to bake all views for one specific action. Tests added. Fixes #251 2010-02-13 19:07:42 -05:00
Mark Story
3f667eb412 Adding skipTables to ModelTask. Allows skipping of predefined tables. Adding i18n table to the default list of skipped tables. Fixes #327 2010-02-13 18:15:11 -05:00
Mark Story
5f5aae71e7 Adding property to signal which actions to skip finding templates for. Fixes #330 2010-02-13 17:51:49 -05:00
Mitchell Amihod
2e8e233f73 Fixing syntax error for baked component test case. Updated relevant
test case.

Fixes #342.

Signed-off-by: Joël Perras <joel.perras@gmail.com>
2010-02-13 16:40:55 -05:00
renan.saddam
5653c720f0 Fixing an small error with token parsing, tests added. Refs #333. 2010-02-12 11:52:58 -02:00
renan.saddam
d975dc3190 Adding tests for previous commit. Refs #310. 2010-02-12 02:01:54 -02:00
Mark Story
4f67f84ff8 Merge branch '1.2' into 1.3-merger
Conflicts:
	app/config/acl.ini.php
	app/config/bootstrap.php
	app/config/core.php
	app/config/database.php.default
	app/config/inflections.php
	app/config/routes.php
	app/config/schema/db_acl.php
	app/config/schema/i18n.php
	app/config/schema/sessions.php
	app/config/sql/db_acl.sql
	app/config/sql/i18n.sql
	app/index.php
	app/webroot/css.php
	app/webroot/css/cake.generic.css
	app/webroot/index.php
	app/webroot/js/vendors.php
	app/webroot/test.php
	cake/LICENSE.txt
	cake/basics.php
	cake/bootstrap.php
	cake/config/config.php
	cake/config/paths.php
	cake/config/unicode/casefolding/0080_00ff.php
	cake/config/unicode/casefolding/0100_017f.php
	cake/config/unicode/casefolding/0180_024F.php
	cake/config/unicode/casefolding/0250_02af.php
	cake/config/unicode/casefolding/0370_03ff.php
	cake/config/unicode/casefolding/0400_04ff.php
	cake/config/unicode/casefolding/0500_052f.php
	cake/config/unicode/casefolding/0530_058f.php
	cake/config/unicode/casefolding/1e00_1eff.php
	cake/config/unicode/casefolding/1f00_1fff.php
	cake/config/unicode/casefolding/2100_214f.php
	cake/config/unicode/casefolding/2150_218f.php
	cake/config/unicode/casefolding/2460_24ff.php
	cake/config/unicode/casefolding/2c00_2c5f.php
	cake/config/unicode/casefolding/2c60_2c7f.php
	cake/config/unicode/casefolding/2c80_2cff.php
	cake/config/unicode/casefolding/ff00_ffef.php
	cake/console/cake
	cake/console/cake.bat
	cake/console/cake.php
	cake/console/error.php
	cake/console/libs/acl.php
	cake/console/libs/api.php
	cake/console/libs/bake.php
	cake/console/libs/console.php
	cake/console/libs/i18n.php
	cake/console/libs/schema.php
	cake/console/libs/shell.php
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/db_config.php
	cake/console/libs/tasks/extract.php
	cake/console/libs/tasks/model.php
	cake/console/libs/tasks/plugin.php
	cake/console/libs/tasks/project.php
	cake/console/libs/tasks/test.php
	cake/console/libs/tasks/view.php
	cake/console/libs/templates/skel/config/bootstrap.php
	cake/console/libs/templates/skel/config/inflections.php
	cake/console/libs/templates/skel/config/sql/sessions.sql
	cake/console/libs/templates/skel/index.php
	cake/console/libs/templates/skel/views/elements/email/html/default.ctp
	cake/console/libs/templates/skel/views/elements/email/text/default.ctp
	cake/console/libs/templates/skel/views/layouts/ajax.ctp
	cake/console/libs/templates/skel/views/layouts/default.ctp
	cake/console/libs/templates/skel/views/layouts/email/html/default.ctp
	cake/console/libs/templates/skel/views/layouts/email/text/default.ctp
	cake/console/libs/templates/skel/webroot/js/vendors.php
	cake/console/libs/templates/skel/webroot/test.php
	cake/console/libs/templates/views/form.ctp
	cake/console/libs/templates/views/index.ctp
	cake/console/libs/testsuite.php
	cake/console/templates/default/views/view.ctp
	cake/console/templates/skel/app_controller.php
	cake/console/templates/skel/app_helper.php
	cake/console/templates/skel/app_model.php
	cake/console/templates/skel/config/acl.ini.php
	cake/console/templates/skel/config/core.php
	cake/console/templates/skel/config/database.php.default
	cake/console/templates/skel/config/routes.php
	cake/console/templates/skel/config/schema/db_acl.php
	cake/console/templates/skel/config/schema/db_acl.sql
	cake/console/templates/skel/config/schema/i18n.php
	cake/console/templates/skel/config/schema/i18n.sql
	cake/console/templates/skel/config/schema/sessions.php
	cake/console/templates/skel/config/schema/sessions.sql
	cake/console/templates/skel/controllers/pages_controller.php
	cake/console/templates/skel/views/layouts/flash.ctp
	cake/console/templates/skel/webroot/css.php
	cake/console/templates/skel/webroot/css/cake.generic.css
	cake/console/templates/skel/webroot/index.php
	cake/dispatcher.php
	cake/libs/cache.php
	cake/libs/cache/apc.php
	cake/libs/cache/file.php
	cake/libs/cache/memcache.php
	cake/libs/cache/xcache.php
	cake/libs/cake_log.php
	cake/libs/cake_session.php
	cake/libs/cake_socket.php
	cake/libs/class_registry.php
	cake/libs/configure.php
	cake/libs/controller/app_controller.php
	cake/libs/controller/component.php
	cake/libs/controller/components/acl.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/components/cookie.php
	cake/libs/controller/components/email.php
	cake/libs/controller/components/request_handler.php
	cake/libs/controller/components/security.php
	cake/libs/controller/components/session.php
	cake/libs/controller/controller.php
	cake/libs/controller/pages_controller.php
	cake/libs/controller/scaffold.php
	cake/libs/debugger.php
	cake/libs/error.php
	cake/libs/file.php
	cake/libs/flay.php
	cake/libs/folder.php
	cake/libs/http_socket.php
	cake/libs/i18n.php
	cake/libs/inflector.php
	cake/libs/l10n.php
	cake/libs/magic_db.php
	cake/libs/model/app_model.php
	cake/libs/model/behaviors/acl.php
	cake/libs/model/behaviors/containable.php
	cake/libs/model/behaviors/translate.php
	cake/libs/model/behaviors/tree.php
	cake/libs/model/cake_schema.php
	cake/libs/model/connection_manager.php
	cake/libs/model/datasources/datasource.php
	cake/libs/model/datasources/dbo/dbo_adodb.php
	cake/libs/model/datasources/dbo/dbo_db2.php
	cake/libs/model/datasources/dbo/dbo_firebird.php
	cake/libs/model/datasources/dbo/dbo_mssql.php
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/model/datasources/dbo/dbo_odbc.php
	cake/libs/model/datasources/dbo/dbo_oracle.php
	cake/libs/model/datasources/dbo/dbo_postgres.php
	cake/libs/model/datasources/dbo/dbo_sqlite.php
	cake/libs/model/datasources/dbo/dbo_sybase.php
	cake/libs/model/datasources/dbo_source.php
	cake/libs/model/db_acl.php
	cake/libs/model/model.php
	cake/libs/model/model_behavior.php
	cake/libs/multibyte.php
	cake/libs/object.php
	cake/libs/overloadable.php
	cake/libs/overloadable_php4.php
	cake/libs/overloadable_php5.php
	cake/libs/router.php
	cake/libs/sanitize.php
	cake/libs/security.php
	cake/libs/set.php
	cake/libs/string.php
	cake/libs/validation.php
	cake/libs/view/elements/dump.ctp
	cake/libs/view/elements/email/html/default.ctp
	cake/libs/view/elements/email/text/default.ctp
	cake/libs/view/errors/error404.ctp
	cake/libs/view/errors/missing_action.ctp
	cake/libs/view/errors/missing_component_class.ctp
	cake/libs/view/errors/missing_component_file.ctp
	cake/libs/view/errors/missing_connection.ctp
	cake/libs/view/errors/missing_controller.ctp
	cake/libs/view/errors/missing_helper_class.ctp
	cake/libs/view/errors/missing_helper_file.ctp
	cake/libs/view/errors/missing_layout.ctp
	cake/libs/view/errors/missing_model.ctp
	cake/libs/view/errors/missing_scaffolddb.ctp
	cake/libs/view/errors/missing_table.ctp
	cake/libs/view/errors/missing_view.ctp
	cake/libs/view/errors/private_action.ctp
	cake/libs/view/errors/scaffold_error.ctp
	cake/libs/view/helper.php
	cake/libs/view/helpers/ajax.php
	cake/libs/view/helpers/app_helper.php
	cake/libs/view/helpers/cache.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/javascript.php
	cake/libs/view/helpers/js.php
	cake/libs/view/helpers/number.php
	cake/libs/view/helpers/paginator.php
	cake/libs/view/helpers/rss.php
	cake/libs/view/helpers/session.php
	cake/libs/view/helpers/text.php
	cake/libs/view/helpers/time.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/layouts/ajax.ctp
	cake/libs/view/layouts/default.ctp
	cake/libs/view/layouts/email/html/default.ctp
	cake/libs/view/layouts/email/text/default.ctp
	cake/libs/view/layouts/flash.ctp
	cake/libs/view/media.php
	cake/libs/view/pages/home.ctp
	cake/libs/view/scaffolds/edit.ctp
	cake/libs/view/scaffolds/index.ctp
	cake/libs/view/scaffolds/view.ctp
	cake/libs/view/theme.php
	cake/libs/view/view.php
	cake/libs/xml.php
	cake/tests/cases/basics.test.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/console/libs/acl.test.php
	cake/tests/cases/console/libs/api.test.php
	cake/tests/cases/console/libs/schema.test.php
	cake/tests/cases/console/libs/shell.test.php
	cake/tests/cases/console/libs/tasks/extract.test.php
	cake/tests/cases/console/libs/tasks/model.test.php
	cake/tests/cases/console/libs/tasks/test.test.php
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/cache.test.php
	cake/tests/cases/libs/cache/apc.test.php
	cake/tests/cases/libs/cache/file.test.php
	cake/tests/cases/libs/cache/memcache.test.php
	cake/tests/cases/libs/cache/xcache.test.php
	cake/tests/cases/libs/cake_log.test.php
	cake/tests/cases/libs/cake_session.test.php
	cake/tests/cases/libs/cake_socket.test.php
	cake/tests/cases/libs/cake_test_case.test.php
	cake/tests/cases/libs/cake_test_fixture.test.php
	cake/tests/cases/libs/class_registry.test.php
	cake/tests/cases/libs/code_coverage_manager.test.php
	cake/tests/cases/libs/configure.test.php
	cake/tests/cases/libs/controller/component.test.php
	cake/tests/cases/libs/controller/components/acl.test.php
	cake/tests/cases/libs/controller/components/auth.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/controller/components/email.test.php
	cake/tests/cases/libs/controller/components/request_handler.test.php
	cake/tests/cases/libs/controller/components/security.test.php
	cake/tests/cases/libs/controller/components/session.test.php
	cake/tests/cases/libs/controller/controller.test.php
	cake/tests/cases/libs/controller/controller_merge_vars.test.php
	cake/tests/cases/libs/controller/pages_controller.test.php
	cake/tests/cases/libs/controller/scaffold.test.php
	cake/tests/cases/libs/debugger.test.php
	cake/tests/cases/libs/error.test.php
	cake/tests/cases/libs/file.test.php
	cake/tests/cases/libs/flay.test.php
	cake/tests/cases/libs/folder.test.php
	cake/tests/cases/libs/http_socket.test.php
	cake/tests/cases/libs/i18n.test.php
	cake/tests/cases/libs/inflector.test.php
	cake/tests/cases/libs/l10n.test.php
	cake/tests/cases/libs/magic_db.test.php
	cake/tests/cases/libs/model/behaviors/acl.test.php
	cake/tests/cases/libs/model/behaviors/containable.test.php
	cake/tests/cases/libs/model/behaviors/translate.test.php
	cake/tests/cases/libs/model/behaviors/tree.test.php
	cake/tests/cases/libs/model/cake_schema.test.php
	cake/tests/cases/libs/model/connection_manager.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_adodb.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mssql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_oracle.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_sqlite.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/model/db_acl.test.php
	cake/tests/cases/libs/model/model.test.php
	cake/tests/cases/libs/model/model_behavior.test.php
	cake/tests/cases/libs/model/model_delete.test.php
	cake/tests/cases/libs/model/model_integration.test.php
	cake/tests/cases/libs/model/model_read.test.php
	cake/tests/cases/libs/model/model_validation.test.php
	cake/tests/cases/libs/model/model_write.test.php
	cake/tests/cases/libs/model/models.php
	cake/tests/cases/libs/multibyte.test.php
	cake/tests/cases/libs/object.test.php
	cake/tests/cases/libs/overloadable.test.php
	cake/tests/cases/libs/router.test.php
	cake/tests/cases/libs/sanitize.test.php
	cake/tests/cases/libs/security.test.php
	cake/tests/cases/libs/set.test.php
	cake/tests/cases/libs/string.test.php
	cake/tests/cases/libs/test_manager.test.php
	cake/tests/cases/libs/validation.test.php
	cake/tests/cases/libs/view/helper.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/cases/libs/view/helpers/cache.test.php
	cake/tests/cases/libs/view/helpers/form.test.php
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/cases/libs/view/helpers/number.test.php
	cake/tests/cases/libs/view/helpers/paginator.test.php
	cake/tests/cases/libs/view/helpers/rss.test.php
	cake/tests/cases/libs/view/helpers/session.test.php
	cake/tests/cases/libs/view/helpers/text.test.php
	cake/tests/cases/libs/view/helpers/time.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/view/theme.test.php
	cake/tests/cases/libs/view/view.test.php
	cake/tests/cases/libs/xml.test.php
	cake/tests/fixtures/account_fixture.php
	cake/tests/fixtures/aco_action_fixture.php
	cake/tests/fixtures/aco_fixture.php
	cake/tests/fixtures/aco_two_fixture.php
	cake/tests/fixtures/advertisement_fixture.php
	cake/tests/fixtures/another_article_fixture.php
	cake/tests/fixtures/apple_fixture.php
	cake/tests/fixtures/aro_fixture.php
	cake/tests/fixtures/aro_two_fixture.php
	cake/tests/fixtures/aros_aco_fixture.php
	cake/tests/fixtures/aros_aco_two_fixture.php
	cake/tests/fixtures/article_featured_fixture.php
	cake/tests/fixtures/article_featureds_tags_fixture.php
	cake/tests/fixtures/article_fixture.php
	cake/tests/fixtures/articles_tag_fixture.php
	cake/tests/fixtures/attachment_fixture.php
	cake/tests/fixtures/auth_user_custom_field_fixture.php
	cake/tests/fixtures/auth_user_fixture.php
	cake/tests/fixtures/author_fixture.php
	cake/tests/fixtures/basket_fixture.php
	cake/tests/fixtures/bid_fixture.php
	cake/tests/fixtures/binary_test_fixture.php
	cake/tests/fixtures/book_fixture.php
	cake/tests/fixtures/cache_test_model_fixture.php
	cake/tests/fixtures/callback_fixture.php
	cake/tests/fixtures/category_fixture.php
	cake/tests/fixtures/category_thread_fixture.php
	cake/tests/fixtures/cd_fixture.php
	cake/tests/fixtures/comment_fixture.php
	cake/tests/fixtures/content_account_fixture.php
	cake/tests/fixtures/content_fixture.php
	cake/tests/fixtures/counter_cache_post_fixture.php
	cake/tests/fixtures/counter_cache_post_nonstandard_primary_key_fixture.php
	cake/tests/fixtures/counter_cache_user_fixture.php
	cake/tests/fixtures/counter_cache_user_nonstandard_primary_key_fixture.php
	cake/tests/fixtures/data_test_fixture.php
	cake/tests/fixtures/datatype_fixture.php
	cake/tests/fixtures/dependency_fixture.php
	cake/tests/fixtures/device_fixture.php
	cake/tests/fixtures/device_type_category_fixture.php
	cake/tests/fixtures/device_type_fixture.php
	cake/tests/fixtures/document_directory_fixture.php
	cake/tests/fixtures/document_fixture.php
	cake/tests/fixtures/exterior_type_category_fixture.php
	cake/tests/fixtures/feature_set_fixture.php
	cake/tests/fixtures/featured_fixture.php
	cake/tests/fixtures/film_file_fixture.php
	cake/tests/fixtures/flag_tree_fixture.php
	cake/tests/fixtures/fruit_fixture.php
	cake/tests/fixtures/fruits_uuid_tag_fixture.php
	cake/tests/fixtures/home_fixture.php
	cake/tests/fixtures/image_fixture.php
	cake/tests/fixtures/item_fixture.php
	cake/tests/fixtures/items_portfolio_fixture.php
	cake/tests/fixtures/join_a_b_fixture.php
	cake/tests/fixtures/join_a_c_fixture.php
	cake/tests/fixtures/join_a_fixture.php
	cake/tests/fixtures/join_b_fixture.php
	cake/tests/fixtures/join_c_fixture.php
	cake/tests/fixtures/join_thing_fixture.php
	cake/tests/fixtures/message_fixture.php
	cake/tests/fixtures/my_categories_my_products_fixture.php
	cake/tests/fixtures/my_categories_my_users_fixture.php
	cake/tests/fixtures/my_category_fixture.php
	cake/tests/fixtures/my_product_fixture.php
	cake/tests/fixtures/my_user_fixture.php
	cake/tests/fixtures/node_fixture.php
	cake/tests/fixtures/number_tree_fixture.php
	cake/tests/fixtures/number_tree_two_fixture.php
	cake/tests/fixtures/numeric_article_fixture.php
	cake/tests/fixtures/overall_favorite_fixture.php
	cake/tests/fixtures/person_fixture.php
	cake/tests/fixtures/portfolio_fixture.php
	cake/tests/fixtures/post_fixture.php
	cake/tests/fixtures/posts_tag_fixture.php
	cake/tests/fixtures/primary_model_fixture.php
	cake/tests/fixtures/product_fixture.php
	cake/tests/fixtures/project_fixture.php
	cake/tests/fixtures/sample_fixture.php
	cake/tests/fixtures/secondary_model_fixture.php
	cake/tests/fixtures/session_fixture.php
	cake/tests/fixtures/something_else_fixture.php
	cake/tests/fixtures/something_fixture.php
	cake/tests/fixtures/stories_tag_fixture.php
	cake/tests/fixtures/story_fixture.php
	cake/tests/fixtures/syfile_fixture.php
	cake/tests/fixtures/tag_fixture.php
	cake/tests/fixtures/test_plugin_article_fixture.php
	cake/tests/fixtures/test_plugin_comment_fixture.php
	cake/tests/fixtures/the_paper_monkies_fixture.php
	cake/tests/fixtures/thread_fixture.php
	cake/tests/fixtures/translate_article_fixture.php
	cake/tests/fixtures/translate_fixture.php
	cake/tests/fixtures/translate_table_fixture.php
	cake/tests/fixtures/translated_article_fixture.php
	cake/tests/fixtures/translated_item_fixture.php
	cake/tests/fixtures/unconventional_tree_fixture.php
	cake/tests/fixtures/underscore_field_fixture.php
	cake/tests/fixtures/user_fixture.php
	cake/tests/fixtures/uuid_fixture.php
	cake/tests/fixtures/uuid_tag_fixture.php
	cake/tests/fixtures/uuid_tree_fixture.php
	cake/tests/fixtures/uuiditem_fixture.php
	cake/tests/fixtures/uuiditems_uuidportfolio_fixture.php
	cake/tests/fixtures/uuiditems_uuidportfolio_numericid_fixture.php
	cake/tests/fixtures/uuidportfolio_fixture.php
	cake/tests/groups/acl.group.php
	cake/tests/groups/cache.group.php
	cake/tests/groups/components.group.php
	cake/tests/groups/configure.group.php
	cake/tests/groups/console.group.php
	cake/tests/groups/controller.group.php
	cake/tests/groups/database.group.php
	cake/tests/groups/helpers.group.php
	cake/tests/groups/lib.group.php
	cake/tests/groups/model.group.php
	cake/tests/groups/no_cross_contamination.group.php
	cake/tests/groups/routing_system.group.php
	cake/tests/groups/socket.group.php
	cake/tests/groups/test_suite.group.php
	cake/tests/groups/view.group.php
	cake/tests/groups/xml.group.php
	cake/tests/lib/cake_reporter.php
	cake/tests/lib/cake_test_case.php
	cake/tests/lib/cake_test_fixture.php
	cake/tests/lib/cake_test_model.php
	cake/tests/lib/cake_web_test_case.php
	cake/tests/lib/cli_reporter.php
	cake/tests/lib/code_coverage_manager.php
	cake/tests/lib/templates/footer.php
	cake/tests/lib/templates/header.php
	cake/tests/lib/templates/menu.php
	cake/tests/lib/templates/simpletest.php
	cake/tests/lib/test_manager.php
	cake/tests/lib/xdebug.php
	cake/tests/test_app/config/acl.ini.php
	cake/tests/test_app/controllers/tests_apps_controller.php
	cake/tests/test_app/controllers/tests_apps_posts_controller.php
	cake/tests/test_app/models/behaviors/persister_one_behavior.php
	cake/tests/test_app/models/behaviors/persister_two_behavior.php
	cake/tests/test_app/models/comment.php
	cake/tests/test_app/models/persister_one.php
	cake/tests/test_app/models/persister_two.php
	cake/tests/test_app/models/post.php
	cake/tests/test_app/plugins/test_plugin/controllers/components/other_component.php
	cake/tests/test_app/plugins/test_plugin/controllers/components/plugins_component.php
	cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_component.php
	cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_other_component.php
	cake/tests/test_app/plugins/test_plugin/controllers/tests_controller.php
	cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
	cake/tests/test_app/plugins/test_plugin/test_plugin_app_controller.php
	cake/tests/test_app/plugins/test_plugin/test_plugin_app_model.php
	cake/tests/test_app/plugins/test_plugin/vendors/sample/sample_plugin.php
	cake/tests/test_app/plugins/test_plugin/vendors/shells/example.php
	cake/tests/test_app/plugins/test_plugin/vendors/welcome.php
	cake/tests/test_app/plugins/test_plugin/views/helpers/other_helper.php
	cake/tests/test_app/plugins/test_plugin/views/helpers/plugged_helper.php
	cake/tests/test_app/plugins/test_plugin_two/vendors/shells/example.php
	cake/tests/test_app/plugins/test_plugin_two/vendors/shells/welcome.php
	cake/tests/test_app/vendors/Test/MyTest.php
	cake/tests/test_app/vendors/Test/hello.php
	cake/tests/test_app/vendors/sample/configure_test_vendor_sample.php
	cake/tests/test_app/vendors/shells/sample.php
	cake/tests/test_app/vendors/somename/some.name.php
	cake/tests/test_app/vendors/welcome.php
	cake/tests/test_app/views/elements/email/html/default.ctp
	cake/tests/test_app/views/elements/email/text/default.ctp
	cake/tests/test_app/views/elements/email/text/wide.ctp
	cake/tests/test_app/views/layouts/ajax.ctp
	cake/tests/test_app/views/layouts/ajax2.ctp
	cake/tests/test_app/views/layouts/cache_layout.ctp
	cake/tests/test_app/views/layouts/default.ctp
	cake/tests/test_app/views/layouts/email/html/default.ctp
	cake/tests/test_app/views/layouts/email/html/thin.ctp
	cake/tests/test_app/views/layouts/email/text/default.ctp
	cake/tests/test_app/views/layouts/flash.ctp
	cake/tests/test_app/views/layouts/multi_cache.ctp
	cake/tests/test_app/views/posts/sequencial_nocache.ctp
	cake/tests/test_app/views/posts/test_nocache_tags.ctp
	index.php
2010-01-26 17:54:34 -05:00
Mark Story
66a8910810 Fixing cakephp domain name. 2010-01-26 17:15:15 -05:00
Mark Story
cdd87849cc Fixing @link tags to ease merging. 2010-01-26 17:03:03 -05:00
Mark Story
527eec1a54 Fixing doc tags to make merge easier. 2010-01-26 16:51:53 -05:00
José Lorenzo Rodríguez
b24b43b848 Fixing docblock 2010-01-25 14:12:41 -04:30
Mark Story
98749a5a2b Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
Conflicts:
	cake/libs/folder.php
2010-01-25 11:18:44 -05:00
Mark Story
c4ef429004 Changing require to require_once to make tests less order dependent. 2010-01-16 19:41:52 -05:00
Joël Perras
15b8a3ec71 Updating copyright date on all files. 2010-01-13 23:47:14 -05:00
predominant
e4fa475998 Test cases for model bake updates, refs #147 2010-01-01 20:19:15 +11:00
Mark Story
79cd856e19 Updating ExtractTask test case to reflect changes made in df8895a266. Domain strings are no longer default merged into default.pot. 2009-12-19 20:18:18 -05:00
Mark Story
e95186d5cc Fixing failing test in ApiShell test. 2009-12-19 20:08:31 -05:00
Mark Story
3edb84d77c Adding skip for BakeShell test, if a User class exists bake all cannot be tested. 2009-12-19 20:01:59 -05:00
Mark Story
6615094350 Merge branch '1.3' into 1.3-misc 2009-12-10 23:42:55 -05:00
predominant
c64389006d Removing "Long description for file" from /cake/tests tree. 2009-12-08 20:19:42 +11:00
ADmad
e2c4c0d4de Removed adding of Html and Form helper by default to baked controllers as its not DRY and they are alrady inherited from Controller class. If var helpers is declared in AppController, Html and Form should be included there. 2009-12-08 01:41:52 +05:30
mark_story
bbb61b28f7 Merge branch '1.3-misc' into mergers 2009-12-06 21:11:26 -05:00
mark_story
3907893263 Adding tests for incorrect function used in form.ctp.
Fixing mistyped function name. Fixes #364
2009-11-26 09:52:15 -05:00
mark_story
dc769041f3 Updating project task test case to reflect changes in skel dir. 2009-11-25 22:52:33 -05:00
mark_story
dd4fbbab45 Updating PluginTask to create webroot dir and no longer create vendors/css, vendors/js and vendors/img 2009-11-25 22:50:50 -05:00
ceeram
cd6fd74caf Added -empty flag for ProjectTask to bake with empty dir files, tests included
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-22 18:18:14 -05:00
predominant
ac86ad05ac Moving access modifier doc tag. 2009-11-14 23:38:52 +11:00
predominant
5092262d4d Reformatting and adding missing documentation blocks. 2009-11-14 23:18:31 +11:00
mark_story
b39b38aac9 Adding missing variable.
Adding Test case for previous commit.
2009-11-10 09:17:54 -05:00
mark_story
adaa2b689c Adding test case for previous commit.
Fixing function for non-windows paths.
2009-11-09 20:10:24 -05:00
mark_story
c4b493c934 Manually merging changes from ModelTask in 1.2 to FixtureTask
Adding test cases for FixtureTask.
2009-11-08 22:22:08 -05:00
predominant
62810fb4f4 Updating more Copyright dates. 2009-11-06 18:04:38 +11:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
384bb7a0e0 Update license lines throughout. 2009-11-06 17:51:51 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +11:00
predominant
8ff6505fe8 Removing excess whitespace 2009-11-06 17:08:23 +11:00
predominant
6782cb019c Update CakePHP Project link. 2009-11-06 17:00:11 +11:00
predominant
5dfe1777af Removing Subversion file headers. 2009-11-06 16:51:09 +11:00
predominant
ceee56013c Remove Subversion $Date$ lines. 2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe Remove Subversion $LastChangedBy$ lines. 2009-11-06 16:11:16 +11:00
predominant
42f3f16d60 Remove subversion $Revision$ lines. 2009-11-06 16:08:02 +11:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
mark_story
b4f6dd9c6e Adding tests and support for binary columns in model task. Fixes #241 2009-11-04 22:57:43 -05:00
mark_story
d956378d48 Improving console group test suite.
Still getting intermittant fails from controller task.
2009-11-01 12:31:41 -05:00
mark_story
ac97dfd70d Fixing api shell test case. 2009-11-01 12:25:40 -05:00
mark_story
a3bb77c4f3 Merge branch '1.2' into 1.3-merger
Conflicts:
	cake/console/libs/acl.php
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/db_config.php
	cake/console/libs/tasks/model.php
	cake/console/libs/templates/skel/views/layouts/xml/default.ctp
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/validation.php
	cake/libs/view/helpers/form.php
	cake/tests/cases/basics.test.php
	cake/tests/cases/console/libs/tasks/model.test.php
	cake/tests/cases/libs/cake_test_case.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/cases/libs/view/helpers/session.test.php
	cake/tests/groups/controller.group.php
	cake/tests/groups/lib.group.php
	cake/tests/groups/no_database.group.php
2009-11-01 12:11:49 -05:00
mark_story
1e7c2bbfde Adding libs dir generation to PluginTask. Baked plugins now come with a libs dir. 2009-10-28 09:21:42 -04:00
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
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
mark_story
4d7f00504a Making -plugin function with ViewTask
Adding tests for -plugin parameter
Removing extra Folder calls.
2009-06-06 21:18:34 -04:00
mark_story
4141158f30 Additional tests for filename generation. 2009-06-06 21:09:56 -04:00
mark_story
44bffc5bae Adding support for -plugin parameter to TestTask
Test cases for plugin path generation added.
2009-06-06 21:03:26 -04:00
mark_story
21818460a2 Additional tests for fixture baking to ensure
parameters are passed from model to fixture task
Adding -plugin support to ModelTask
2009-06-06 20:37:01 -04:00
mark_story
4d89086146 Adding -plugin support to Controller Task
Test cases added.
2009-06-06 20:25:57 -04:00
mark_story
84a496083f Adding proper -plugin parameter handling
Fixtures can now be baked into plugins.
Adding test cases.
2009-06-06 20:03:04 -04:00
mark_story
bb566c3841 Adding test cases for various permutations of execute()
Allowing admin methods to be baked separately of regular methods.
2009-06-04 23:35:36 -04:00
mark_story
8040cc31e5 Adding connection prompts.
Fixing hard coded $ds
Adding i18n
Extracting customAction()
Test cases added.
2009-06-03 23:18:14 -04:00
mark_story
3c5e4a68fb Fixing notice errors. 2009-06-03 22:03:57 -04:00
mark_story
0a3af5b792 Refactoring out bakeActions
Adding tests for bake()
2009-06-03 21:59:46 -04:00
mark_story
91f90b5c05 Fixing minor issues with tests. 2009-06-03 21:35:11 -04:00
mark_story
f1821f5631 Adding test case for ViewTask 2009-05-30 00:28:18 -04:00
mark_story
b301654b96 Adding test cases for execute() 2009-05-30 00:14: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
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
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
2cc00ac3e1 Adding test case for acl shell.
Fixing display of nodes with no alias when using 'cake acl view aro'
Fixes #6393

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8177 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-24 16:37:54 +00: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
838af5862e Making test bail if any of the required models exist. 2009-05-23 22:56:54 -04:00
mark_story
5843d5e40a Adding test case for DbConfig task
making DbConfigTask testable.
2009-05-20 23:15:31 -04:00
mark_story
e8eaf97dcf Additional tests for execute 2009-05-20 00:31:59 -04:00
mark_story
2cae04308c Adding tests for interactive mode.
Fixing notice error.
2009-05-19 00:18:59 -04:00
mark_story
8bcd8ff890 Adding skipIf's
Fixing typo, adding assertions.
2009-05-18 23:49:44 -04:00
mark_story
4f6d3219ef Adding test cases for bakeActions 2009-05-18 23:46:20 -04:00
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