Commit graph

1292 commits

Author SHA1 Message Date
mark_story
8c2e0815ec Adding Fixture manager overriding.
Refs #1511
2011-02-13 14:56:34 -05:00
mark_story
5a631a6c74 Renaming the runner.
Making the runner extend PHPUnit_TextUi_TestRunner so we can customize the TestSuite classes it uses.
Adding CakeTestSuiteCommand so we can customize the TextUI_Command output.
2011-02-13 14:56:33 -05:00
mark_story
60590de6bc Starting to banish TestManager, and replace it with a more normal PHPUnit test loader. 2011-02-13 14:56:33 -05:00
mark
e16d21eaa3 Add displayField and primaryKey to controller bake. Fixes #1192
Signed-off-by: mark_story <mark@mark-story.com>
2011-02-12 11:47:38 -05:00
mark_story
e149c411fb Merge branch '1.3' into merger
Conflicts:
	cake/VERSION.txt
	cake/config/config.php
	cake/console/shells/tasks/template.php
	cake/dispatcher.php
	cake/libs/controller/component.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/view/helpers/cache.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
	cake/tests/fixtures/datatype_fixture.php
2011-02-05 12:20:09 -05:00
mark_story
304f12d0ed Removing a pointless import in CakeRequest.
Moving inclusion of ObjectCollection to bootstrap.  This avoids repetitive calls to import()
2011-02-05 01:28:41 -05:00
mark_story
8e267f7be2 Fixing bake's unit test detection so it checks for PHPUnit properly.
Fixes #1505
2011-02-04 21:56:24 -05:00
mark_story
b30f40582e Making SchemaShell disable the cache when reading table information for schema generation. Fixes #1490 2011-01-29 09:24:28 -05:00
mark_story
38e286e978 Fixing order of paths so core paths are last in the search array. Fixes #1488 2011-01-27 19:30:21 -05:00
Juan Basso
1debcb9ce6 Replacing deprecated startTest/endTest by setUp/tearDown in bake templates. 2011-01-21 13:27:53 -02:00
Juan Basso
6002f10b3b Generating PHPDoc to baked files. 2011-01-19 22:22:50 -02:00
Juan Basso
40bdcbb44a Removing $name from controller, model and fixtures. 2011-01-19 21:15:33 -02:00
Juan Basso
09fbaaaab4 Removing extra param in internacionalization. 2011-01-19 10:08:35 -02:00
Juan Basso
6181db0ff2 Removing unsupported databases natively. 2011-01-19 00:06:51 -02:00
mark_story
dca3fecfed Merge branch '1.3' into merger
Conflicts:
	cake/console/error.php
	cake/libs/cache/memcache.php
	cake/libs/cake_session.php
	cake/libs/controller/components/request_handler.php
	cake/libs/model/cake_schema.php
	cake/libs/router.php
	cake/libs/set.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/text.php
	cake/libs/view/view.php
	cake/tests/cases/libs/set.test.php
2011-01-18 20:04:30 -05:00
mark_story
a0a87ade5a Adding non-zero exit codes to ErrorHandler in the console. Fixes #1468 2011-01-18 19:40:31 -05:00
mark_story
b94edefb2c Removing the last vestiges of the enable parameter.
Fixing issue where isset() stupidly plods along when doing a string index of a string.
Updating DbAcl to use proper settings array.
Fixes #1467
2011-01-18 19:33:57 -05:00
mark_story
f893e3b63b Applying patch from 'ryandesign' fixing incorrect datetime formats. Fixes #1441 2011-01-11 20:16:42 -05:00
mark_story
443f6d1c5b Merge branch '1.3' into merger
Conflicts:
	cake/console/shells/tasks/test.php
	cake/libs/cake_log.php
	cake/libs/controller/components/email.php
	cake/libs/set.php
	cake/libs/view/helpers/cache.php
	cake/libs/view/helpers/paginator.php
	cake/libs/view/helpers/time.php
	cake/libs/view/view.php
	cake/tests/cases/console/libs/tasks/fixture.test.php
	cake/tests/cases/console/shells/tasks/test.test.php
	cake/tests/cases/libs/controller/components/email.test.php
	cake/tests/cases/libs/model/db_acl.test.php
	cake/tests/cases/libs/set.test.php
2011-01-08 23:49:19 -05:00
mark_story
a7061510c1 Applying patch from 'rynop'. Fixing FixtureTask so it includes the datasource if its not the default one.
Updating tests.
Fixes #1419
2010-12-31 13:05:04 -05:00
mark_story
2e0f2c75f4 Fixing issue where ClassRegistry would not be loaded when using Models
in shells.  Fixes #1417
2010-12-29 10:44:15 -05:00
mark_story
b6b4f4a3df Fixing deprecated access to $this->data. 2010-12-27 15:34:56 -05:00
mark_story
3d966be1e8 Fixing fatal error caused by Debugger not being loaded when viewing the default home page. 2010-12-27 00:07:47 -05:00
mark_story
4009b6b2c7 Fixing more @package tags, and removing duplicate tags in classes. 2010-12-24 14:33:41 -05:00
mark_story
2385d9c79a Updating console class @package tags. 2010-12-24 14:26:26 -05:00
mark_story
ef77e60cb0 Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
2010-12-24 14:09:57 -05:00
Juan Basso
27477bbac3 Removing extra parameter. 2010-12-23 00:32:53 -02:00
mark_story
1c6b261ff1 Correcting and expanding documentation on console classes. 2010-12-21 23:11:23 -05:00
mark_story
75af48b774 Updating bake templates to let PUT methods through as well. 2010-12-14 22:09:29 -05:00
mark_story
e410509684 Fixing TestTask not being able to find plugin objects when baking test skeletons interactively. Test case added. Fixes #1361 2010-12-13 22:04:55 -05:00
mark_story
f84871ae47 Fixing strict errors that were causing shell tests to fail.
Fixing test case for bake test that has been getting skipped.
2010-12-12 20:55:33 -05:00
mark_story
daffe3adb2 Making baked code throw 404 errors when you try to edit, delete, or view records that do not exist. Updated tests. 2010-12-12 12:37:02 -05:00
mark_story
44c080d5ad Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch.
Adding package specific exceptions.
Replacing generic exceptions in the codebase with CakeException + package exceptions.
2010-12-11 19:26:10 -05:00
mark_story
c096eea664 Fixing failing tests caused by constants changing. 2010-12-05 23:32:34 -05:00
José Lorenzo Rodríguez
c559b9c22d Merge remote branch 'origin/2.0' into 2.0
Conflicts:
	cake/console/templates/skel/config/database.php.default
	cake/libs/model/datasources/dbo/dbo_sqlite.php
2010-12-05 20:51:37 -04:30
mark_story
ad80609841 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2010-12-04 23:55:49 -05:00
Juan Basso
c52d5320c8 Replaced the *printf with i18n aliases by i18n aliases with params. 2010-12-04 23:37:13 -02:00
mark_story
af768c0b6f Removing non-existant databases from comments. 2010-12-04 15:04:21 -05:00
mark_story
0cf02ec2f9 Fixing issues caused by CORE_PATH not being reliable. 2010-12-04 15:00:48 -05:00
mark_story
843f5c6190 Fixing E_STRICT error in ConsoleErrorHandler. 2010-12-04 14:20:50 -05:00
José Lorenzo Rodríguez
7c4ab886e6 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-12-03 14:08:03 -04:30
José Lorenzo Rodríguez
2e04c5260e Fixing some tests to make them run on sqlite 2010-12-02 00:19:43 -04:30
Juan Basso
aa0bad9247 Ignore errorHandler if warning suppressor (@command()) is used. 2010-12-02 01:44:31 -02:00
Mark Story
43c184b2d2 Fixing issues with CLI test runner where the error handler would continue to be cakephp's instead of PHPUnit's. 2010-11-28 21:05:12 -05:00
Mark Story
91b5a5265e Making ConsoleErrorHandler be invoked with the correct error reporting level. 2010-11-28 20:44:28 -05:00
mark_story
7bfdbff377 Adding more documentation to core.php. 2010-11-27 19:39:55 -05:00
mark_story
f08fa52a60 Syncing skel/config/core.php 2010-11-27 14:36:34 -05:00
José Lorenzo Rodríguez
b6731dd9ad Merge remote branch 'origin/2.0' into feature/2.0/pdo
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
2010-11-26 20:26:41 -04:30
mark_story
c717ff2e72 Adding logging of errors when debug = 0 for console applications. Fixes #1311 2010-11-25 23:16:27 -05:00
mark_story
0d5ed014d1 Removing constants and configuration settings that don't are repeated or deprecated/not used. 2010-11-25 23:16:03 -05:00