Commit graph

310 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
9f5ab79abc Fixing bake tasks after most recent changes 2011-04-11 23:01:48 -04:30
Jose Lorenzo Rodriguez
000e05b468 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/libs/view/helpers/js.php
	cake/tests/lib/templates/missing_conenction.php
	cake/tests/lib/templates/missing_connection.php
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/TestSuite/templates/missing_conenction.php
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
96baa3015e Making all test groups run again,
small fixes in some tests to make them pass
2011-04-11 22:23:44 -04:30
Jose Lorenzo Rodriguez
75a1481e22 Fixing test loading in cli 2011-04-11 22:23:03 -04:30
Jose Lorenzo Rodriguez
9d90c555eb Fixing constant use 2011-04-11 22:17:59 -04:30
Jose Lorenzo Rodriguez
cbdafb3f3b Fixing TestsuiteShell test 2011-04-11 22:16:19 -04:30
Jose Lorenzo Rodriguez
1bbdefc4ad Fixing some bake tasks 2011-04-11 22:15:51 -04:30
Jose Lorenzo Rodriguez
241a3bf624 Fixing ProjectTask tests and renaming folders in skel directory 2011-04-11 21:43:40 -04:30
Jose Lorenzo Rodriguez
85a7f74f30 Renaming folders in skel dir 2011-04-10 21:04:19 -04:30
Jose Lorenzo Rodriguez
662abd6419 Refactoring FixtureTask so it generates correct file names 2011-04-10 20:56:06 -04:30
Jose Lorenzo Rodriguez
d561460fda Refactoring TestTask so it generates tests according to the new file naming standard 2011-04-10 20:49:16 -04:30
Jose Lorenzo Rodriguez
0263ffc74e Renaming tests folders and making tests runnable again 2011-04-10 20:08:24 -04:30
Jose Lorenzo Rodriguez
7f31cfb173 Renaming all fixtures 2011-04-10 19:46:18 -04:30
Jose Lorenzo Rodriguez
74e50d3d98 Moving Console related tests 2011-04-10 19:36:06 -04:30
Jose Lorenzo Rodriguez
2a9679e5b7 Renaming Test Suites 2011-04-10 19:26:26 -04:30
Jose Lorenzo Rodriguez
37745ab50a Moving all tests one dir up 2011-04-10 19:24:41 -04:30
Jose Lorenzo Rodriguez
cd26ec7a88 Moving TestSuite related tests 2011-04-10 19:23:36 -04:30
Jose Lorenzo Rodriguez
51eba8bd25 Moving View related tests 2011-04-10 17:19:32 -04:30
Jose Lorenzo Rodriguez
b3c4734d75 Moving Session engine tests 2011-04-10 17:08:01 -04:30
Jose Lorenzo Rodriguez
d9da6b00c6 Moving Utility related tests 2011-04-10 17:06:55 -04:30
Jose Lorenzo Rodriguez
063592d628 Moving Routing related tests 2011-04-10 17:01:53 -04:30
Jose Lorenzo Rodriguez
c83a396eb4 Fixing class loading for HttpResponse classes, and making possible to pass plugin HttpResponse classes too 2011-04-10 16:57:44 -04:30
Jose Lorenzo Rodriguez
0a1f9d17c3 Moving Network related tests 2011-04-10 16:50:39 -04:30
Jose Lorenzo Rodriguez
14bbe07a4e renaming abstract class from wich all model tests inherit 2011-04-10 16:40:30 -04:30
Jose Lorenzo Rodriguez
4f1f833aca Moving some of the Model related tests 2011-04-10 16:36:53 -04:30
Jose Lorenzo Rodriguez
6bafbf429d Moving Log related tests 2011-04-10 16:19:19 -04:30
Jose Lorenzo Rodriguez
764b039e58 Moving I18n tests 2011-04-10 16:17:37 -04:30
Jose Lorenzo Rodriguez
c449a7bbf5 Moving Error related tests 2011-04-10 16:15:34 -04:30
Jose Lorenzo Rodriguez
222870a26e Moving Core related tests 2011-04-10 16:10:36 -04:30
Jose Lorenzo Rodriguez
fcdf9ce81f Moving configure related tests 2011-04-10 16:08:16 -04:30
Jose Lorenzo Rodriguez
98bb39f476 Moving cache related tests 2011-04-10 16:06:20 -04:30
Jose Lorenzo Rodriguez
974a153818 Moving tests files to follow the naming schema and to mirror the new internal CakePHP structure 2011-04-10 15:59:26 -04:30
Jose Lorenzo Rodriguez
50b47c8729 Renaming constants and fixing the last error related to folder renaming 2011-04-10 15:32:45 -04:30
Jose Lorenzo Rodriguez
7f2734d053 Starting to migrate internal tests files to the new file schema, and fixing related tests 2011-04-10 15:02:19 -04:30
Jose Lorenzo Rodriguez
6737380deb Partial migration of folders to camelcase in app 2011-03-22 00:46:51 -04:30
Jose Lorenzo Rodriguez
ac0ec44f51 Fixing some extract console tests 2011-03-21 01:26:07 -04:30
Jose Lorenzo Rodriguez
c9ae3c26c4 Removing more code from test app home.ctp file so testing becomes easier 2011-03-21 01:12:32 -04:30
Jose Lorenzo Rodriguez
433e9e7177 Fixing typos in time helper translations 2011-03-21 00:57:37 -04:30
Jose Lorenzo Rodriguez
b68bc7d4aa Removing session helper usage in default layout of test app to avoid haing to mock an additional class 2011-03-21 00:50:43 -04:30
Jose Lorenzo Rodriguez
5c91827c44 Fixing typo in controller task 2011-03-21 00:45:05 -04:30
AD7six
32df3156a7 consolidate cake_error and cake_developer to simply "cake_dev"
it's a lot easier for adding new translations to think:
	is it for the end user?
		use 'cake' as the domain
	is it for the developer
		use 'cake_dev' as the domain
	is it for the console
		use 'cake_console' as the domain

also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
7fa52710f3 correct tests to use correct language domains.
updated test_app default.ctp and home.ctp to be (almost) identical to
the files shipped in the core
2011-03-19 18:52:43 +01:00
AD7six
52f3d75df3 syncronize translations in this test with the class it's testing 2011-03-19 18:48:00 +01:00
AD7six
a90ca69202 remove translation domains from this test.
Baked output will not contain __d('cake' - the output is project
specific
2011-03-19 18:46:00 +01:00
AD7six
d66ad0bc60 remove translation from this test
you can't compare the result of a translation to a fixed string and be
sure it's going to pass.
2011-03-19 18:43:44 +01:00
AD7six
128407fb4a corect a bad habbit
don't request the same thing 3 times - request it once and use 3 times.
removed the almost duplicate translation too.
2011-03-19 18:41:50 +01:00
AD7six
ca254dae98 update language domains used in standard views 2011-03-19 18:40:36 +01:00
AD7six
5725a23a56 use the domain cake_developer and cake_error as appropriate 2011-03-19 18:35:14 +01:00
AD7six
2078dbccaa use the cake_console domain for everything related to the cli
using big po files causes a lot of noise to be loaded whenver the
langauge domain is touched - therefore avoid any cli messages from being
loaded by web requests at all.
2011-03-19 18:32:35 +01:00
AD7six
d2badbeb22 update language domains
no domain - the thing being translated comes from the app - so let the
user handle that
cake - end user
cake_error - error messages
2011-03-19 18:29:31 +01:00