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
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
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
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
e492bce64f
Merge branch '2.0-translations' of github.com:AD7six/cakephp into 2.0-class-loading
2011-03-16 17:08:15 +01:00
AD7six
64e71de52a
Merge branch '2.0-class-loading' of github.com:cakephp/cakephp into 2.0-class-loading
2011-03-16 17:07:22 +01:00
AD7six
39c7d03319
Merge branch '2.0-class-loading' into 2.0-translations
...
Conflicts:
lib/Cake/Console/Command/Task/ControllerTask.php
lib/Cake/Console/Command/Task/ProjectTask.php
lib/Cake/Core/Configure.php
lib/Cake/View/pages/home.ctp
2011-03-16 12:29:39 +01:00
Jose Lorenzo Rodriguez
3f7928fccc
Changing paths againg form datasources sub packages,
...
Updating database.php.default file
Fixing view generation task
2011-03-16 00:14:37 -04:00
Jose Lorenzo Rodriguez
a1f5fe706a
Udatint TestTask test
2011-03-15 22:59:18 -04:00
Jose Lorenzo Rodriguez
9293361562
Updating ControllerTask to crete files with new naming conventions
2011-03-15 22:23:51 -04:00
Jose Lorenzo Rodriguez
b0a7a109e9
Updating ModelTask to crete files following the new namings
2011-03-15 22:14:10 -04:00
Jose Lorenzo Rodriguez
2e2f5ea2a5
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-15 21:13:45 -04:00
Jose Lorenzo Rodriguez
b6b03cb379
Adding files missing from previous commit
2011-03-15 21:13:33 -04:00
Jose Lorenzo Rodriguez
0cd51de827
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-12 23:49:02 -04:30
AD7six
a204ac7005
translation changes for tests.
...
excludes basics and i18n
2011-03-12 20:08:25 +01:00
Jose Lorenzo Rodriguez
ecc6a22b3b
Adding tests for loading classes from the libs folder
2011-03-12 01:56:34 -04:30
Jose Lorenzo Rodriguez
2bbac9e9b0
Fixing Folder class tests
2011-03-12 00:52:23 -04:30
Jose Lorenzo Rodriguez
d890896777
Updating Lib package usage in App::load()
2011-03-12 00:40:43 -04:30
Jose Lorenzo Rodriguez
c188d1a91c
Fixing Dispatcher tests after recent changes in App::core()
2011-03-12 00:29:44 -04:30
Jose Lorenzo Rodriguez
db089ac220
Implementing vendor loading and refactoring code in App::import()
2011-03-11 23:21:34 -04:30
Jose Lorenzo Rodriguez
5a57f2c3c3
Re-implmenting file loading in App::import(), search it is not longer recursive... if it ever was
2011-03-11 18:57:11 -04:30
Jose Lorenzo Rodriguez
6ac87eef68
Making more App::import() tests pass
2011-03-11 18:18:58 -04:30
Jose Lorenzo Rodriguez
0bf51d92ca
Improving App::import() to make importing from plugins work again
2011-03-11 01:31:01 -04:30
Jose Lorenzo Rodriguez
e6b253ec0f
Starting to write a new App::import() that keeps where possible the backwards compatibility
2011-03-11 00:50:14 -04:30
Jose Lorenzo Rodriguez
90b01b7ec3
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-10 23:17:54 -04:30
Jose Lorenzo Rodriguez
472257c347
Removing unused variables and properly testing more methods in App class
2011-03-09 23:33:03 -04:30
Jose Lorenzo Rodriguez
21286cb8c2
Updating tests for App::objects()
2011-03-09 22:29:52 -04:30
Jose Lorenzo Rodriguez
38d33e4a9a
Improving tests for App::core()
2011-03-09 22:15:20 -04:30
Jose Lorenzo Rodriguez
022702506e
Properly testing the App::build() method and bugfixing some issues
2011-03-09 22:11:13 -04:30
Jose Lorenzo Rodriguez
f05a105dfb
Fixing the HelperCollection test
2011-03-09 21:39:05 -04:30
Jose Lorenzo Rodriguez
75e5496983
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-09 12:58:49 -04:30
Jose Lorenzo Rodriguez
ca32143292
Fixing the ControllerTestCase tests
2011-03-09 01:05:58 -04:30
Jose Lorenzo Rodriguez
7b7dabce48
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-09 00:26:18 -04:30
Jose Lorenzo Rodriguez
a1fe95e072
REverting some changes made to constants
2011-03-08 17:32:22 -04:30
Jose Lorenzo Rodriguez
6dee1277c4
Fixing the AclShell test
2011-03-08 15:13:49 -04:30
Jose Lorenzo Rodriguez
234d781f77
Fixing the ConsoleErrorHandler test
2011-03-08 14:46:21 -04:30
Jose Lorenzo Rodriguez
d2a38787a2
Fixing the ConsoleOptionParser test
2011-03-08 14:45:23 -04:30
Jose Lorenzo Rodriguez
848c9039e5
Fixing ConsoleOutput test
2011-03-08 14:44:03 -04:30
Jose Lorenzo Rodriguez
9f189d39db
Fixing the HelpFormatter test
2011-03-08 14:43:00 -04:30
Jose Lorenzo Rodriguez
ac3caf3154
Fixing the testsuite shell and renaming class for BC
2011-03-08 14:18:46 -04:30
Jose Lorenzo Rodriguez
48b3593a25
Fixing the CommandList shell, renaming the TestSuiteShell to TestsuiteShell for BC
2011-03-08 14:15:44 -04:30
Jose Lorenzo Rodriguez
0c9f4c1935
Fixing schema shell tests
2011-03-08 01:27:52 -04:30
Jose Lorenzo Rodriguez
fd8a7ed6d6
Fixing ControllerTask tests
2011-03-08 01:25:01 -04:30
Jose Lorenzo Rodriguez
0fe22f598a
Fixing DbConfigTask tests
2011-03-08 00:53:06 -04:30
Jose Lorenzo Rodriguez
e46bfff6a0
Fixing FixtureTask tests
2011-03-08 00:51:58 -04:30
Jose Lorenzo Rodriguez
0f993fa767
Fixing ModelTaks tests and starting to work on PluginTask tests
2011-03-08 00:50:07 -04:30
Jose Lorenzo Rodriguez
a56c4bff77
Fxing ProjectTask tests
2011-03-07 01:25:05 -04:30
Jose Lorenzo Rodriguez
0be09cbfb3
Fixing TemplateTask test
2011-03-07 01:01:45 -04:30
Jose Lorenzo Rodriguez
d4b07b6c27
Making TestTask test pass
2011-03-07 00:57:21 -04:30
Jose Lorenzo Rodriguez
2ef02ba29b
Starting to move all console related classes, ViewTask tests passing
2011-03-07 00:45:00 -04:30
Jose Lorenzo Rodriguez
b286ff0523
Fixing cache engine tests
2011-03-06 00:26:31 -04:30
Jose Lorenzo Rodriguez
eb709123a8
Canging view package location form email component test
2011-03-06 00:20:50 -04:30
Jose Lorenzo Rodriguez
3ff41b4f56
Fixing problem in cache helper test
2011-03-06 00:08:49 -04:30
Jose Lorenzo Rodriguez
9c0ab75a03
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-05 23:42:25 -04:30
Jose Lorenzo Rodriguez
13e9a9ef7c
Fixing ActionsAuthorize test
2011-03-05 19:41:33 -04:30
Jose Lorenzo Rodriguez
0696dd9200
Fixing BasicAuthenticate test
2011-03-05 19:37:56 -04:30
Jose Lorenzo Rodriguez
6b46c5cd17
Fixing ControllerAuthorize test
2011-03-05 19:33:36 -04:30
Jose Lorenzo Rodriguez
ec8577a562
Fixing CrudAuthorize test
2011-03-05 19:30:05 -04:30
Jose Lorenzo Rodriguez
6d96c38cd3
Fixing DigestAuthenticate Test
2011-03-05 19:25:33 -04:30
Jose Lorenzo Rodriguez
98c8cda6f5
Fixing FormAuthenticate test
2011-03-05 19:23:52 -04:30
Jose Lorenzo Rodriguez
f844283463
Updating test case with a bad merge to match the original one in branch 2.0
2011-03-05 17:45:52 -04:30
Jose Lorenzo Rodriguez
f1e2f5e949
Starting to migrate AuthComponent to the new class loader
2011-03-05 17:40:42 -04:30
Jose Lorenzo Rodriguez
f8a08432f4
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-05 17:37:31 -04:30
Jose Lorenzo Rodriguez
82834f2ec0
Moving Auth related classes to the new structure
2011-03-01 23:38:39 -04:30
Jose Lorenzo Rodriguez
42b3f993b9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-01 23:04:52 -04:30
Jose Lorenzo Rodriguez
ba694c45c9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-27 22:50:53 -04:30
Jose Lorenzo Rodriguez
08bec291fd
Fixing class importing in paginator test
2011-02-27 22:50:25 -04:30
José Lorenzo Rodríguez
2371ed9f15
Reverting change made in model constructor to lazily initialize the modelClass variable, making remaining controller tests pass
2011-02-22 23:36:53 -04:30
José Lorenzo Rodríguez
ff1942d271
Automatically adding the declaration of the PluginAppModel class in ClassRegistry::init(), making more controller tests pass
2011-02-22 23:03:04 -04:30
José Lorenzo Rodríguez
ffacbd7d27
Fixing pages controller test
2011-02-22 22:49:33 -04:30
José Lorenzo Rodríguez
4e1fcbed61
Fixing ScaffoldView test
2011-02-22 22:47:07 -04:30
José Lorenzo Rodríguez
deae38546b
Fixing App::objects() and App::setObjects() so all dispatcher tests pass
2011-02-22 00:44:33 -04:30
José Lorenzo Rodríguez
688e914381
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-22 00:13:57 -04:30
José Lorenzo Rodríguez
b1e007f231
Correctly importing classes in BasicAuthentication test
2011-02-22 00:06:11 -04:30
José Lorenzo Rodríguez
3e7b85dc34
Correctly importing classes in DigetAuthentication test
2011-02-22 00:04:21 -04:30
José Lorenzo Rodríguez
dbff3b8c58
Correctly importing HttpResponse in test
2011-02-22 00:02:35 -04:30
José Lorenzo Rodríguez
c105899cbc
Removing use of old constant
2011-02-21 22:48:22 -04:30
José Lorenzo Rodríguez
4cebe55a9b
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
app/webroot/index.php
lib/Cake/Controller/Component/AuthComponent.php
lib/Cake/Network/CakeRequest.php
lib/Cake/tests/cases/libs/controller/components/auth.test.php
2011-02-21 22:28:30 -04:30
José Lorenzo Rodríguez
227ed6ef27
Fixing the Js engine helpers
2011-02-14 00:19:06 -04:30
José Lorenzo Rodríguez
396fbeec91
Fixing the HtmlHelper tests
2011-02-14 00:18:10 -04:30
José Lorenzo Rodríguez
c1e81a20cd
Moving more files to the new folder
2011-02-13 23:20:49 -04:30
José Lorenzo Rodríguez
6e4f4efb79
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
lib/Cake/Console/Command/TestSuiteShell.php
lib/Cake/Console/TaskCollection.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Controller/Controller.php
lib/Cake/Core/App.php
lib/Cake/Model/BehaviorCollection.php
lib/Cake/Network/CakeRequest.php
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
lib/Cake/TestSuite/CakeWebTestCase.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/TestSuite/TestRunner.php
lib/Cake/View/HelperCollection.php
lib/Cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
lib/Cake/tests/cases/libs/test_manager.test.php
2011-02-13 23:10:19 -04:30
José Lorenzo Rodríguez
72c6e0cd58
Fixing Cache tests
2011-01-31 00:47:30 -04:30
José Lorenzo Rodríguez
ff5a809b29
Fixing log engines loading
2011-01-31 00:14:20 -04:30
José Lorenzo Rodríguez
bff6343979
Adding the session datasources apth to App::build(), in the future look into registering only the top level packages
...
Fixing CakeSession tests
2011-01-31 00:02:17 -04:30
José Lorenzo Rodríguez
a1fd27741d
Fixing CakeTestFixture test case
2011-01-30 23:41:59 -04:30
José Lorenzo Rodríguez
33cbdefd8c
Moving config tests assets and adding missing view path in View tests case
2011-01-30 23:39:07 -04:30
José Lorenzo Rodríguez
4f01fc79c1
Fixing ComponentCollecction components loading, as with Behaviors and Helpers, thee MissingFileException can not be thrown
2011-01-28 10:49:53 -04:30
José Lorenzo Rodríguez
06fb51f19d
Added some missing App::uses() calls
2011-01-28 02:06:30 -04:30
José Lorenzo Rodríguez
32e0d86976
Fixing sSecurity component tests
2011-01-28 02:02:33 -04:30
José Lorenzo Rodríguez
013f88e5f5
Fixing ExceptionRenderer tests
2011-01-28 01:55:07 -04:30
José Lorenzo Rodríguez
e81ff384c7
Fixing BehaviorCollection test regarding how classes are loaded. with the introduction of App::uses() it is not possible to determine if a file is missing or just the class in the file, so removing the throwing of MissingBehaviorFileException seems the only choice
2011-01-28 01:48:15 -04:30
José Lorenzo Rodríguez
0bde6d35f5
Fixing Acl classes loading for the AclBehavior tests
2011-01-28 01:44:04 -04:30
José Lorenzo Rodríguez
61e7cafe32
Fixing HelperCollection tests after merging 2.0 branch in
2011-01-28 01:33:08 -04:30
José Lorenzo Rodríguez
aa18cca1c3
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/View/Helper.php
2011-01-28 01:14:59 -04:30
José Lorenzo Rodríguez
d9c99b5ef6
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/tests/cases/libs/controller_test_case.test.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/Fixture/CakeTestFixture.php
lib/Cake/View/pages/home.ctp
2011-01-22 01:00:15 -04:30
José Lorenzo Rodríguez
1332561164
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
lib/Cake/Console/Command/Task/FixtureTask.php
2011-01-09 23:32:05 -04:30
José Lorenzo Rodríguez
cd28f19363
Making CakeSchema tests pass
2011-01-08 23:45:07 -04:30
José Lorenzo Rodríguez
be83288806
Fixing App::objects() so it will accept again the plugin syntax fro retreiving plugin objects
2011-01-08 23:44:24 -04:30
José Lorenzo Rodríguez
599a110d6b
Merge remote branch 'origin/2.0' into 2.0-class-loading
2011-01-08 22:59:02 -04:30
José Lorenzo Rodríguez
465330a96d
Fixing some package locations and a parse error
2011-01-08 22:57:27 -04:30
José Lorenzo Rodríguez
3c6f85254c
Fixing translate behavior tests
2011-01-06 00:19:22 -04:30
José Lorenzo Rodríguez
caa29646ce
Fixes for making mpass all ConnectionManager Tests
2011-01-06 00:09:11 -04:30
José Lorenzo Rodríguez
630a3ef223
Renaming test datasources to start making pass ConnectionManager tests
2011-01-06 00:08:39 -04:30
José Lorenzo Rodríguez
406e7b783d
Making all Mysql dbo source tests pass
2011-01-05 23:14:33 -04:30
José Lorenzo Rodríguez
aea5607cdb
Fixing remaining postgres tests
2011-01-05 23:10:08 -04:30
José Lorenzo Rodríguez
e87dca62f1
Fixing postgres dbo source tests
2011-01-05 23:00:33 -04:30
José Lorenzo Rodríguez
296b8dd77b
Fixing ModelDeleTest because of changes on the way datasources handle boolean fields
2011-01-05 22:48:13 -04:30
José Lorenzo Rodríguez
2cc4e0e3cb
Replacing driver type check now that the key "datasource" is to be used instead of "driver"
2011-01-05 22:44:32 -04:30
José Lorenzo Rodríguez
e8a93aef93
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Temporarly commenting code on App class while the transition is made
Conflicts:
lib/Cake/Core/App.php
2011-01-05 22:21:27 -04:30
José Lorenzo Rodríguez
54ecd2e77b
Some changes to ConnectionManager, it is now an static class. the connection objects enumeration will return the stored connections config instead of a cryptic array where only the ekys where useful
2011-01-05 22:15:17 -04:30
José Lorenzo Rodríguez
4c0e06c451
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
cake/libs/view/helpers/js.php
lib/Cake/Model/AclNode.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/bootstrap.php
lib/Cake/tests/cases/libs/controller/controller.test.php
2011-01-02 02:00:03 -04:30
José Lorenzo Rodríguez
8444510bae
Fixing sqlite test case
2010-12-22 00:13:26 -04:30
José Lorenzo Rodríguez
7870fb1ef2
Fixing test in DboSource test case
2010-12-22 00:11:40 -04:30
José Lorenzo Rodríguez
79c6428e49
Fixing DbAcl tests
2010-12-22 00:05:46 -04:30
José Lorenzo Rodríguez
57929c2be7
Fixing some broken model tests
2010-12-21 23:51:47 -04:30
José Lorenzo Rodríguez
f3a5eaf2f7
Fixing CacheSession test
2010-12-21 22:32:49 -04:30
José Lorenzo Rodríguez
9a52cff389
Fixing DatabaseSession test
2010-12-21 22:32:12 -04:30
José Lorenzo Rodríguez
6bd735955d
Fixing CacheHelper test
2010-12-21 22:15:21 -04:30
José Lorenzo Rodríguez
5e6926f01b
Fixing some helper and views related tests
2010-12-21 22:13:22 -04:30
José Lorenzo Rodríguez
9fac0b92c6
Extracting JsBaseEngineHelper to its own file, fixing some JsHelper related test cases
2010-12-21 22:01:38 -04:30