Commit graph

461 commits

Author SHA1 Message Date
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
Mark Story
d990c6ed44 Adding tests for single quoted attributes to assertTags(). Because of the __array_permute works ensuring quotes match is a non-trivial problem. Fixing single quoted attributes not being matchable with assertTags(). Fixes #539 2010-04-04 21:43:29 -04:00
predominant
850ca02bb6 Changed all public 'var' declarations to be 'public $var' 2010-04-04 17:14:00 +10:00
predominant
329a13fe5f Changed all $_ declared variables to protected. 2010-04-04 16:36:12 +10:00
predominant
29dc12dbc2 Changed all $__ declared variables to private. 2010-04-04 16:33:39 +10:00
Mark Story
3883f728fb Adding tests for Fixture importing. Fixing importing fixtures for databases that require custom fields handling like postgresql. Fixes #481 2010-03-22 23:28:58 -04:00
Matt Curry
cc59b04ad3 fixed bad path for css on windows
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 19:01:52 -04:00
Phally
7f7315e6d2 Added alphabetic sorting to the plugin list in the test suite.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 17:48:03 -04:00
Mark Story
af92276ba9 Adding missing reference operators to getInstance methods. 2010-03-05 21:41:48 -05:00
Mark Story
827c65a767 Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3 2010-01-26 17:57:25 -05: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
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
renan.saddam
a318ba43fd Enabling code coverage to run on 'All tests' group. 2010-01-26 17:22:07 -02:00
renan.saddam
81414b7175 Enabling group code coverage on plugins outside APP/plugins path. 2010-01-26 15:00:19 -02:00
renan.saddam
3e4a9631da Fixing notice due by using a non-existent variable. 2010-01-26 12:14:47 -02:00
Juan Basso
473e07a674 Putting __() in strings that missing internationalization.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 01:06:25 -05:00
Mark Story
f11068b831 Trimming trailing whitespace from files. Refs #201 2010-01-15 13:26:47 -05:00
Joël Perras
15b8a3ec71 Updating copyright date on all files. 2010-01-13 23:47:14 -05:00
Joël Perras
88a09cfbb4 Updating CakeTestSuiteDispatcher parsing of .
Better handling of cases where dirname() of PHP_SELF returns only '/'.
2010-01-13 23:19:10 -05:00
Joël Perras
ff3aefe93a Adding missing </p> to Html test reporter template. 2010-01-13 23:19:09 -05:00
Juan Basso
1c542b6ea5 Fixing var name when not have SimpleTest or XDebug installed.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-13 09:35:58 -05:00
Mark Story
0803e2a5a6 Moving CLI code coverage generation into the CliReporter. 2010-01-11 18:04:08 -05:00
Mark Story
07b43be125 Making CLI case code coverage reports include text. 2010-01-11 18:00:45 -05:00
Mark Story
84e70c1db1 Adding linebreak for text/cli output situations. 2010-01-10 15:56:51 -05:00
Mark Story
489958ea48 CakeTextReporter now outputs code coverage. 2010-01-10 15:56:24 -05:00
Mark Story
9989327b5b Fixing constructor of CakeCliReporter to match CakeBaseReporter. 2010-01-10 15:55:49 -05:00
Mark Story
02dbbcdfc6 Fixing CliReporter class name as well as making cli/text output the default if the reporter is unknown. 2010-01-10 15:45:41 -05:00
Mark Story
e7e1a9b15c Further refactoring of code coverage manager. 2010-01-10 15:42:30 -05:00
Mark Story
5a88aaf909 Refactoring loops in CodeCoverageManager 2010-01-10 15:28:29 -05:00
Mark Story
645807211b Adding clear to CodeCoverageManager. 2010-01-10 13:39:41 -05:00
Mark Story
d7164c416e Adding code coverage toggling to CakeBaseReporter.
Updating CodeCoverageManager method use in CakeTestSuiteDispatcher.
2010-01-10 13:24:41 -05:00
Mark Story
da26124add Renaming CodeCoverageManager::start() to init().
Adding a start(), stop(), and clear() methods to CodeCoverageManager.
Making CakeBaseReporter toggle code coverage on and off as needed.
Updating test case for CodeCoverageManager.
2010-01-10 13:23:37 -05:00
Mark Story
b83f3d37c8 Removing unused method. 2010-01-10 13:06:11 -05:00
Mark Story
3dad64c9c0 Moving buffer start in CakeHtmlReporter to fix errors when displaying menus.
Adding paintDocumentStart() to CakeTextReporter::paintHeader() to fix issues with test results not being text/plain.
2010-01-10 13:05:35 -05:00
Mark Story
836c7de7cb Updating CodeCoverageManager test case and CodeCoverageManager 2010-01-10 12:48:40 -05:00
Mark Story
cf5c48ecc5 Making CakeBaseReporter constructor take null for charset, so its easier to type. 2010-01-10 12:48:11 -05:00
Mark Story
a0aca7ee62 Adding output buffering to htmlreporter fixing issues with tests that send headers like Dispatcher test. 2010-01-10 12:34:55 -05:00
Mark Story
f4bda62ea3 Adding doc blocks and correcting constructor of CakeCliReporter
Fixing TestSuite console code coverage output.
2010-01-09 23:00:03 -05:00
Mark Story
bcd7d34023 Refactoring breadcrumb and time generation in the CLI reporter. 2010-01-09 22:51:17 -05:00
Mark Story
d79bacd1ed Making CodeCoverageManager get its settings from the reporter. This
makes code coverage much less reliant on GET parameters.
2010-01-09 22:42:00 -05:00
Mark Story
03da53bb92 Correcting classname used in CodeCoverageManager
Moving CodeCoverageManager::report() to be inside the html document.
2010-01-09 22:35:29 -05:00
Mark Story
f52900f818 Adding time and memory use to CakeCliReporter 2010-01-09 22:04:28 -05:00
Mark Story
7b5addec3e Making CakeCliReporter a subclass of CakeBaseReporter.
Removing duplicated output from reporter message.
Adjusting formatting of output to be more readable.
2010-01-09 22:02:35 -05:00
Mark Story
081509a09c Fixing typos.
Removing useless constant.
Fixing constructor
2010-01-09 21:30:46 -05:00
Mark Story
a8f289349e Letting TestManager::getExtension accept either test or case as a test case type. 2010-01-09 21:29:57 -05:00
Mark Story
6a3152c518 Update file header. 2010-01-09 21:24:27 -05:00
Mark Story
9245719711 Updating TestManager::getExtension to be an instance method only.
Updating doc blocks for TestManager.
Removing CliTestManager as it is no longer used/needed.
2010-01-09 21:22:41 -05:00
Mark Story
b58f03b53f Fixing package string on CakeBaseReporter 2010-01-09 20:20:13 -05:00
Mark Story
6721c4926d Renaming CliReporter to CakeCliReporter, so it name matches the other new refactored reporters. 2010-01-09 20:19:49 -05:00
Mark Story
8a56793368 Correcting doc blocks. 2010-01-09 19:52:52 -05:00
Mark Story
5a10e52d1f Updating package strings for reporters 2010-01-09 19:37:37 -05:00
Mark Story
f567d9aacc Removing unnecessary TestManager subclasses 2010-01-09 19:35:01 -05:00
Mark Story
88f58dfbe8 Fixing missing headers when in plain text reporting. 2010-01-09 19:19:09 -05:00
Mark Story
e061a53358 Removing CakeTestMenu as its been made obsolete.
Removing constant use from reporter.
2010-01-09 11:25:35 -05:00
Mark Story
bdc84cd5d0 Renaming paintDocumentHeader to paintDocumentStart
Renaming paintDocumentFooter to paintDocumentEnd
Moving features from CakeTestMenu, HtmlTestManager, and TextTestManager into the appropriate Reporters.
2010-01-09 11:20:47 -05:00
Mark Story
c529d3c6e9 Refactoring test case list output generation into Reporters. 2010-01-09 10:55:58 -05:00
Mark Story
bc2dd3c987 Removing refactored header and footer. 2010-01-09 09:29:28 -05:00
Mark Story
a0f5d0fc02 Renaming menu template file.
Refactoring logic from CakeTestMenu into the Reporters.
2010-01-06 23:02:37 -05:00
Mark Story
4c0d90c502 Adding paintDocumentFooter and paintDocumentHeader to CakeBaseReporter and CakeHtmlReporter.
Refactoring case list and group lists to use reporter methods.
2010-01-06 22:52:04 -05:00
Mark Story
c01276a470 Moving header and menu display into CakeHtmlReporter.
Updating header.php with new variable.
2010-01-06 22:42:35 -05:00
Mark Story
b6e22704ed Refactoring and updating footer element to use param based basePath.
Moving footer inclusion to CakeHtmlReporter.
2010-01-06 09:50:39 -05:00
Mark Story
6b3e9583bf Moving more direct GET access to params. 2010-01-06 09:46:48 -05:00
Mark Story
98cf758a98 Continuing refactoring of CakeTestMenu. 2010-01-05 23:16:12 -05:00
Mark Story
21afcef7cf Updating CakeTestSuiteDispatcher to get base url and base dir. Refactoring xdebug and simpletest error pages. Starting to phase out CakeTestMenu. 2010-01-05 23:12:28 -05:00
Mark Story
44cacf6dad Adding stub methods for upcoming refactoring of menu generation. 2010-01-05 22:52:25 -05:00
Mark Story
1e5923c75a Moving templates to templates dir. 2010-01-05 22:51:39 -05:00
Mark Story
3c57dbee04 Refactoring methods from CakeTestMenu into CakeHtmlReporter.
Updating CakeTestSuiteDispatcher to reflect removed methods.
2010-01-05 22:20:32 -05:00
Mark Story
f228990c58 Updating doc blocks. 2010-01-05 20:56:25 -05:00
Mark Story
faafe5a0dc Removing use of Set::filter(). Coupling the test suite to Set is not a good idea. 2010-01-05 20:52:22 -05:00
Mark Story
1d63d52d3c Updating @link properties and spacing. 2010-01-05 20:44:15 -05:00
Mark Story
84c2bbdfe2 Making CakeTextReporter use CakeBaseReporter as its base class, moving methods from TextReporter. 2010-01-05 20:44:01 -05:00
Mark Story
0d7875f4ad Extracting methods and features out into CakeBaseReporter. 2010-01-05 20:29:08 -05:00
Mark Story
5bd9734f96 Moving reporters to a directory and updating CakeTestSuiteDispatcher. 2010-01-05 20:10:41 -05:00
Mark Story
34ffa43119 Refactoring hardcoded extensions to use properties. 2010-01-05 00:13:03 -05:00
Mark Story
104086b928 Converting static calls to TestManager to use Manager instance in the TestSuiteDispatcher.
Converting static methods to instance methods.
2010-01-05 00:09:07 -05:00
Mark Story
e60d742c04 Whitespace updates. 2010-01-05 00:03:30 -05:00
Mark Story
48e1c4d08a Removing duplicate method calls, and doing some refactoring of Reporter retrieval. Adding Manager instance var to help make subclassing more flexible in regards to TestManagers. 2010-01-04 23:58:09 -05:00
Mark Story
9a62fd52b3 Fixing occurances of CakeTestsGetReporter and fixing issues loading reporters. 2010-01-04 23:28:04 -05:00
Mark Story
dd5a886f3a Removing CakeTestsGetReporter global function.
Starting to move Reporter/Manager decision making to CakeTestSuiteDispatcher, also affording the ability to use custom reporters/managers for generating test suite output.
2010-01-04 23:28:04 -05:00
Mark Story
33cb8eebfe Renaming CakeHtmlReporter's file. 2010-01-04 23:28:03 -05:00
Mark Story
effc03ca3a Adding CakeTestSuiteDispatcher to handle dispatching of the test suite. 2010-01-04 23:28:03 -05:00
Mark Story
183abfa4a9 Adding Docblocks to TextTestManager 2010-01-04 23:28:03 -05:00
Mark Story
8181acbb0b Adding doc blocks to TestManager. 2010-01-04 23:28:03 -05:00
Mark Story
da19e31188 Refactoring duplicate switch logic to a single method. 2010-01-04 23:28:03 -05:00
Mark Story
a3b0805347 Fixing formatting. 2010-01-04 23:28:03 -05:00
Mark Story
397bdaf3e1 Removing global functions moved to CakeTestMenu 2010-01-04 23:28:03 -05:00
Mark Story
4d74dc6bda Adding CakeTestMenu to clear up some global methods. 2010-01-04 23:28:02 -05:00
Mark Story
3d608d6fd7 Adding doc blocks to CakeHtmlReporter 2010-01-04 23:28:02 -05:00
Mark Story
2aee4b6e43 Adding sql dump back into test suite. Fixes #157 2010-01-04 23:25:23 -05:00
predominant
c64389006d Removing "Long description for file" from /cake/tests tree. 2009-12-08 20:19:42 +11:00
Phally
bb92a47ddb Added support for numeric values in expectation of assertTags().
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-02 09:10:56 -05:00
mark_story
4d37e75f18 Merge branch '1.2' into 1.3-merger
Conflicts:
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/extract.php
	cake/console/libs/tasks/model.php
	cake/libs/configure.php
	cake/libs/controller/components/cookie.php
	cake/libs/debugger.php
	cake/libs/flay.php
	cake/libs/http_socket.php
	cake/libs/inflector.php
	cake/libs/model/cake_schema.php
	cake/libs/model/connection_manager.php
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo_source.php
	cake/libs/router.php
	cake/libs/view/helper.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/js.php
2009-11-22 20:38:50 -05:00
Juan Basso
df9e1e0bd1 Replace function join (alias) by implode.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:11 -05:00
predominant
0977b3fe15 Standardising docblock endings throughout. 2009-11-14 23:19:25 +11:00
renan.saddam
8cab87fd8e Fixing fixtures path when using a fixture inside a plugin. 2009-11-11 20:14:24 -02:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +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
1b9b0aae5e Updating Copyright date to include 2009. 2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
predominant
bed9b6e58d Extending TextReporter from SimpleTest to provide memory usage and execution time information for text output test results. 2009-10-31 18:30:59 +11:00
mark_story
2f81c29def Updating $pluginPath loops to use App::pluginPath(). 2009-10-14 09:47:07 -04:00
mark_story
de8f251758 Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath(). 2009-10-14 09:28:06 -04:00
mark_story
b95d9e1060 Fixing time tracking on group test cases. 2009-09-18 00:54:13 -04:00
mark_story
e5083b88c4 Merge branch '1.3-test' into 1.3-misc 2009-09-14 23:57:35 -04:00
mark_story
ea7df4f7ce Adding time and memory output to the test suite results. 2009-09-13 13:29:44 -04:00
mark_story
edf5f2d6e2 Updating doc blocks. 2009-09-13 13:11:37 -04:00
mark_story
e9c747badc Updating all group tests to extend TestSuite instead of the deprecated GroupTest class. Updating the TestManager. 2009-09-11 21:43:53 -04:00
mark_story
c49662e2ca Fixing deprecation error due to changes in API 2009-09-10 22:56:44 -04:00
gwoo
33adb6e40b fixing test header from bad merge 2009-08-03 11:57:39 -07:00
mark_story
83a705f739 Merge branch '1.3' into 1.3-jshelper 2009-08-03 14:39:21 -04:00
AD7six
b9987e1712 whitespace normalization 2009-08-02 16:09:39 -07:00
gwoo
15ed658a27 Revert "Merge branch '1.3-newlines' into 1.3"
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07: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
gwoo
d118c6a764 Merge branch '1.3-newlines' into 1.3 2009-08-02 12:08:55 -07:00
gwoo
1423b0067b Merge branch '1.2' into 1.3 2009-07-30 11:34:33 -07:00
AD7six
bbc2562d3f Correcting use of CONSOLE_LIBS to refer to template files 2009-07-29 10:17:06 +02:00
AD7six
f64f4cbddc whitespace normalization 2009-07-26 11:59:51 +02:00
mark_story
a6f25f5c64 Removing ending html tags, they were being generated before the page ended.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8256 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-25 21:45:30 +00:00
mark_story
def4c98a08 Merge branch '1.3' into 1.3-jshelper
Conflicts:
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/js.php
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/header.php
2009-07-25 17:35:27 -04:00
gwoo
766e12bc2a Merge branch '1.3' into 1.3-newlines 2009-07-25 10:41:40 -07:00
mark_story
4ebf5a4e32 Merge commit 'code/1.3' into 1.3-jshelper
Conflicts:
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/lib/header.php
2009-07-25 01:35:36 -04: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
565cd96120 Fixing issue in CakeTestCase where fixture tables were incorrectly detected and dropped when running tests with no $test config or $test config and $default config on the same database.
Updating TestAppsPostsController to fix compatibility issues with postgres.
Defining $name in CakeTestFixture to remove notice errors, when constructing a nameless Fixture.
Fixes #6518

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8254 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 16:29:18 +00:00
gwoo
f295a21831 updating some code related to Configure/App changes. Fixing issue when cache is not configured 2009-07-22 09:11:38 -07:00
gwoo
025942e354 updating test header for 1.3 2009-07-20 10:06:13 -07:00
mark_story
9c51f720ed Merge branch '1.3' into jshelper-integration
Conflicts:
	cake/tests/cases/libs/view/helpers/js.test.php
2009-07-06 23:43:57 -04:00
gwoo
bc359259a2 Merge branch '1.2' into 1.3 2009-07-02 09:27:00 -07:00
gwoo
58b5c0d77d cleaning up some ;; 2009-06-30 19:56:15 -07:00
mark_story
fb6b2aecde Renaming {{{SimpleTestOptions::ignore()}}} to {{{SimpleTest::ignore()}}} Refs #6425
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8207 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:37:33 +00: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
gwoo
6f21c18366 Merge branch '1.3-lib_renames' into 1.3 2009-06-02 10:17:02 -07:00
jperras
a6017e6f6a Updating code coverage manager to work with application-level datasources.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8179 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-28 17:44:41 +00: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
jperras
70e0316cd2 Renaming schema.php to cake_schema.php. Modifying relevant App::import calls. 2009-03-15 22:22:18 -04:00
mark_story
4b690237f0 Merge branch '1.3' of git@thechaw.com:cakephp into 1.3-jshelper
Conflicts:
	cake/libs/view/helpers/html.php
2009-03-15 13:20:43 -04:00
mark_story
133cb91fef Updating test suite header file. 2009-03-04 23:07:40 -05:00
mark_story
a3809d608e Updating doc blocks for CakeTestCase::testAction()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8075 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-04 15:23:08 +00:00
mark_story
5dfa7bf46f Updating CakeTestCase::testAction() to respect $dropTables. Test case added Fixes #6123
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8051 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-21 15:05:17 +00:00
mark_story
55cc02bc08 Fixing other uses of glob() to check for false values. Fixes #6044
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8034 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-16 00:45:50 +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
mark_story
c4fe08415b Removing ob_start() calls from cake_reporter. Significantly reduces memory usage of test suite. Fixes #5972
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7982 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 18:00:18 +00:00
the_undefined
186a87b514 Improved doc comment for greater clarity regarding attribute matching
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7971 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-05 16:15:10 +00:00
mark_story
a88aeef826 Applying patch from 'rafaelbandeira3'. Removes redundant DS in path. Fixes #5902
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7946 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 23:30:13 +00:00
mark_story
211bb2bb81 Changing styles of test suite and adding icon for error messages. Moving code coverage css into test suite.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-13 23:40:36 +00:00
mark_story
3682c9c6ae Fixing missing table errors on model imports. Fixed broken test. Fixes #5877
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-11 19:16:02 +00:00
mariano.iglesias
a194f6a25e Simplifying parameter parsing when importing structure / records from a fixture. Flushing registry after processing import so related models DB config remain unchanged
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 23:04:05 +00:00
mariano.iglesias
910be6e368 Fixing issue where model structure imports on fixture was looking for structure on test_suite connection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7867 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 15:25:07 +00:00
renan.saddam
111b886570 Removed trailing whitespaces from tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:58:37 +00:00
DarkAngelBGE
5bd8dbb3ca adding test manager test to testsuite test group; small refactorings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7841 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 16:17:18 +00:00
DarkAngelBGE
be6c24503d adding test method for testing the running of a testcase (doh!) to the test manager test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7840 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:47:59 +00:00
DarkAngelBGE
e882d990d7 adding test manager test case, some whitespace changes throughout the testsuite and the schema model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:33:13 +00:00
renan.saddam
41fc22a770 Showing App & Plugins tests first and sorting the files. Closes #5692, #5693.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7835 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 23:35:08 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
f875c0098b Updating test_suite header to improve readability of connection names.
Adding test for using CakeTestCase::testAction() with fixturize parameter.
Updating TestsAppPostsController and adding Post Model to test suite.
Refs #5620

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 16:39:39 +00:00
mark_story
342f701e70 Updating CakeTestCase test to fix issue with broken tests if app/models/post.php exists.
Reverting and correcting earlier change on cake_test_fixture, where models and relations that are imported connected to the wrong connection.
Closes #5578

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 19:14:11 +00:00
mark_story
cdc12d9eb8 Changing cake_test_fixture::init() to not alter ClassRegistry::config() settings. Instead model is built with ds parameter. Closes #5578.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 16:50:10 +00:00
mark_story
11a29679e4 Fixing issue in CakeTestFixture, where $import'ing models required connection to be specified, default connection should be automatic.
Caused by changes in ClassRegistry::init().
Closes #5519

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 03:58:04 +00:00
mark_story
08866a90ca Updating tests in cake_test_case test, so they run in group test.
Fixing issue in cakeTestCase when running tests with fixtures. Fixture tables were not being created if $test DB config and $default DB were using the same database. Closes #5519

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 16:35:53 +00:00
DarkAngelBGE
cc425a5e0a adding a couple whitespace corrections (trailing tabs, newlines, ..)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 11:52:29 +00:00
mark_story
05a5eda3d1 Adding CSS for skipped test icon to test suite.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 12:35:39 +00:00
DarkAngelBGE
35a2b466de performance improvements for code coverage analysis
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7603 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 12:14:39 +00:00
phpnut
cb487bd6e6 More optimization refactoring.
Fix cache but causing  object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
nate
8b3a0a8782 Adding $options param to DboSource::execute()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 02:09:38 +00:00
the_undefined
4a5c4b3659 Removing random char
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 22:18:49 +00:00
the_undefined
c7ccc5ae71 Added dropTables option to CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7589 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 21:49:49 +00:00
mark_story
8e6a5a7214 Fixing issue with CakeTestCase::testAction not properly being able to simulate query string parameters.
Added tests for various parameter syntaxes.  
Closes #5400

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 16:48:52 +00:00
gwoo
094e07dc7e closes #4797, constants for test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7566 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 14:21:21 +00:00
mark_story
ba2542ec29 Fixing infinite loop when importing models that have relations that are also fixturized. Closes #5166.
Tests updated and added.
Added documentation concerning use of app_error.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 01:49:29 +00:00
mark_story
91a6508a26 Adding CakeFixture Test Case
Adding TestSuite group test
Fixing documentation and removing unecessary ife() calls from CakeTestFixture.
Made CodeCoverage test run nicely in group tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 14:21:57 +00:00
gwoo
33da4b0e75 fixes #5221, overflow bug in mozilla
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 18:29:22 +00:00
mark_story
a53a08574d Added ClassRegistry::flush() to testAction(). Repairs issue with view vars not being unique between testAction() calls in the same test case. Closes #5273
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7470 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 17:08:00 +00:00
mark_story
fb5a0a6f12 Removed collision with testCase fixtures, causing fixtures to be missing when running testAction() more than once per test case. Closes #5267
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 01:26:24 +00:00
gwoo
0b8d7027ec fixes #5259, undefined variable in CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 16:24:21 +00:00
mariano.iglesias
0b5fbe04f6 Making code PHP4 friendly again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 11:29:33 +00:00
mark_story
fb15d71284 Fixing CakeTestCase::testAction() Now works as expected. Closes #5246
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7459 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 01:22:33 +00:00
gwoo
76f7d6dc43 making changes to all the model group to run. Currently I get 8/8 test cases complete: 1486 passes, 22 fails and 3 exceptions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 15:36:26 +00:00
AD7six
53dcefff53 Modifying dbo_source to refer to $this->fullDebug rather than Configure::read() to determine whether or not to log
queries
modifying fixture loading to not log create, drop, truncate statements
correcting model tests that change fullDebug to reset to the value before the test ran


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:41:53 +00:00
gwoo
565163303c changing ClassRegistry::params() to ClassRegistry::config()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:53:12 +00:00
DarkAngelBGE
501437baa0 introducing ClassRegistry::params() to fix testing of models associations; also removes the need for TestModels that extend the model under test to change the useDbConfig, fixes #5158, #5076 (kudos to nate)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 15:37:26 +00:00
DarkAngelBGE
1fdc76ba1a enabling different paths for plugin tests closes #5105
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:39:17 +00:00
DarkAngelBGE
838ecb8527 doc comments for the test manager class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:37:06 +00:00
gwoo
a764b471f6 closes #5011, target _blank for all html links that open new windows
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +00:00
nate
f6934e3237 Fixing test database checking in CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 16:42:44 +00:00
DarkAngelBGE
8b9aa057dd adding test for #4861
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
DarkAngelBGE
ca0fa7b796 adding a return value to the fixture::truncate() method,
fixing some doc comments in the fixture class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7236 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:15:28 +00:00
DarkAngelBGE
a0ff55926c small formatting issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7235 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 14:28:45 +00:00
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
gwoo
9bc88e5e40 update to test_manager to make sure dispatcher is loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7203 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:11:57 +00:00
DarkAngelBGE
16fa9effb0 closes #4918, allowing multiple calls to testAction() in the same test run with supplied get data without interfering with the get data needed for the testsuite to work and also ignoring the get data used for the previous call to testAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7194 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 10:24:52 +00:00
DarkAngelBGE
ed6caf5d33 closes #4875, fixing uninitialized model group key for fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7193 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:17:23 +00:00
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00