José Lorenzo Rodríguez
91e2d88900
Moving method back to DboSourceTest, as it was very difficult to adapt it to use mock objects
2010-11-11 00:22:08 -04:30
José Lorenzo Rodríguez
106379b7ef
Removing all methods with mysql syntax or dependent on anyway of this Dbo out form DboSourceTest.
2010-11-10 23:31:54 -04:30
José Lorenzo Rodríguez
d46f953357
Changing test case to reflect that stats option was removed from DboSource::execute and merged into "log" option
2010-11-10 23:10:13 -04:30
José Lorenzo Rodríguez
b20becc0b7
Extracting remaning methods with Mysql specific syntax out of DboSourceTest
2010-11-09 01:43:23 -04:30
José Lorenzo Rodríguez
539b90749a
Moving more methods out of DboSourceTest
2010-11-09 01:38:13 -04:30
José Lorenzo Rodríguez
66779eecfa
Moving some more method out of DboSourceTest
2010-11-09 01:26:15 -04:30
José Lorenzo Rodríguez
47c6132b24
cleaning up some tests, adding missing parameters in DboSource to match declaration on DataSource
2010-11-09 01:25:05 -04:30
José Lorenzo Rodríguez
3a8016b875
Even more methods containing quoting specific to mysql out of DboSource
2010-11-03 19:59:15 -04:30
José Lorenzo Rodríguez
6028705c72
Moving more methods out from DboSourceTest
2010-11-03 19:52:49 -04:30
José Lorenzo Rodríguez
86f1309a54
iMoving a couple of methods out from DboSourceTest
2010-11-03 19:40:09 -04:30
José Lorenzo Rodríguez
f2f378ca73
Moving testGenerateInnerJoinAssociationQuery out from DboSourceTest
2010-11-03 19:35:15 -04:30
José Lorenzo Rodríguez
605a6b17a5
Moving another method out of DboSourceTest
2010-11-03 19:18:51 -04:30
José Lorenzo Rodríguez
146af7faa5
Stating to move quoting test out from dbosource into mysql test
2010-11-03 19:14:22 -04:30
José Lorenzo Rodríguez
eedd823fd8
Merge remote branch 'origin/2.0' into feature/2.0/pdo
2010-11-03 00:23:18 -04:30
Mark Story
08e7bcb7ab
Merge branch '1.3' into integration
...
Conflicts:
app/config/core.php
cake/console/libs/acl.php
cake/console/templates/skel/config/core.php
cake/console/templates/skel/webroot/test.php
cake/dispatcher.php
cake/libs/view/errors/missing_action.ctp
cake/libs/view/helpers/form.php
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/log/file_log.test.php
cake/tests/cases/libs/model/cake_schema.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/groups/bake.group.php
cake/tests/groups/behaviors.group.php
cake/tests/groups/i18n.group.php
cake/tests/groups/javascript.group.php
cake/tests/lib/reporter/cake_cli_reporter.php
2010-10-31 21:56:59 -04:00
José Lorenzo Rodríguez
8d80188c6c
Updating more tests with boolean handling, maybe in the near future fixing this for both mysql and postgres is coming
2010-10-26 21:59:48 -04:30
José Lorenzo Rodríguez
eb49181c48
Bringing more boolean tests up to date in postgres
2010-10-26 21:49:03 -04:30
José Lorenzo Rodríguez
b3d8a619a3
Updating test for booleans in postgres
2010-10-26 21:46:29 -04:30
José Lorenzo Rodríguez
0ffe6de9e4
Allowing multiple sql sentences to be executed only for creting or altering databases
2010-10-20 23:57:00 -04:30
mark_story
498417203b
Making DboSource::fields() use cacheMethod() so it respects $cacheMethods.
...
Test added.
Fixes #1211
2010-10-20 22:28:31 -04:00
José Lorenzo Rodríguez
d0fc2fd171
Fixing describing of table columns for postgres
2010-10-19 00:48:08 -04:30
José Lorenzo Rodríguez
5c87daf083
Implementing listSources for postgres
2010-10-18 00:08:34 -04:30
José Lorenzo Rodríguez
aedf69dee1
More refactoring to DboSource::value()
2010-10-17 23:55:11 -04:30
José Lorenzo Rodríguez
6778d4b565
Updating test case for floats
2010-10-17 23:42:12 -04:30
José Lorenzo Rodríguez
d9c9a32ff3
Refactoring DboSource::value() so postgres and mysq behavior is the same, updating test case
2010-10-17 23:38:55 -04:30
José Lorenzo Rodríguez
ee4add9c32
Fixing test case
2010-10-17 15:53:44 -04:30
José Lorenzo Rodríguez
cbdfb3f76e
Removing all references to mysqli
2010-10-17 11:49:17 -04:30
José Lorenzo Rodríguez
183e9c92df
Removing some asignations by reference
2010-10-17 10:18:46 -04:30
José Lorenzo Rodríguez
082873721c
Changing param order in execute() to maintain compatibility, making all tests pass
2010-10-16 20:28:07 -04:30
José Lorenzo Rodríguez
d83c95cf46
Fixing bug in DboMysql::value()
2010-10-16 14:01:01 -04:30
José Lorenzo Rodríguez
88a2fb5058
Fixing bug in DboMysql::describe()
2010-10-16 13:44:16 -04:30
José Lorenzo Rodríguez
17f24719ee
Replacing reference assignation for normal assignation in test case
2010-10-16 13:32:59 -04:30
José Lorenzo Rodríguez
84283ed6f3
Fixing DboMysql::listDetailedSources()
2010-10-16 13:28:18 -04:30
José Lorenzo Rodríguez
e03cbcb167
Fixing model describing and making pass testBlobSaving
2010-10-16 10:23:13 -04:30
José Lorenzo Rodríguez
526205b546
Fixing test case in DboMysql
2010-10-15 18:41:17 -04:30
José Lorenzo Rodríguez
5e80cf8ff7
Improving DboMysql::index()
2010-10-15 17:27:36 -04:30
José Lorenzo Rodríguez
0fb2ac0285
Chaging implementation of DboMysql::getVersion(), improving connection options
2010-10-15 17:03:59 -04:30
José Lorenzo Rodríguez
70ed9a7b12
Fixing DboMysql::index() method
2010-10-15 17:02:37 -04:30
José Lorenzo Rodríguez
dc362d1a38
Adding test for DboMysql::getEncoding()
2010-10-14 23:18:07 -04:30
José Lorenzo Rodríguez
09e06d52b9
Implementing DboMysql::getVersion()
2010-10-14 23:15:17 -04:30
José Lorenzo Rodríguez
b8479459d6
Inital work for connecting to mysql using PDO and gettng the table list, testing is easier as it now uses mocks
2010-10-14 01:10:51 -04:30
mark_story
3ab77017ae
Fixing OpenTest license mentions to use MIT License
...
Fixing PHP versions 4 and 5 to only be PHP5.
2010-10-03 12:31:21 -04:00
mark_story
b908365f9d
Changing the @license tag on test files, as tests can now be MIT like
...
the rest of CakePHP.
2010-10-03 12:27:27 -04:00
mark_story
92b57d81ee
Moving common setup and teardown functionality in to CakeTestCase.
...
Removing repeated setup/teardown logic from test cases.
Switching tests to use setup/teardown instead of startTest/endTest.
2010-09-25 21:36:49 -04:00
mark_story
843ada240a
Removing AppController from ErrorHandler test as it can make testing harder.
...
Removing broken buffering from tests that trigger errors / exceptions.
Adding a loadHelper() to the test_app layout so the layout always has the required helper.
2010-09-25 10:41:08 -04:00
mark_story
26057c59c4
Fixing issue in DboSource test case where buffer would eat all the output.
...
Removing dead tests from TestManager test.
2010-09-25 01:13:01 -04:00
José Lorenzo Rodríguez
5c3b4cfcc4
Removing all uses of the test_suite connection in the test cases
2010-09-24 23:30:01 -04:00
mark_story
f21161ef46
Merge branch '1.3' into 2.0. Had to fix a number of 1.3 -> 2.0
...
differences upon merging.
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/libs/cache/file.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/i18n.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/model/model_write.test.php
2010-09-24 23:27:22 -04:00
mark_story
729a45703b
Fixing issue where table names with spaces would not be quoted by name(). Fixes #1121
2010-09-21 20:34:27 -04:00
mark_story
d113d7d612
Removing dead code from DboSource::fields()
...
Updating fields() to use implode, so complex virtual fields are better handled. Fixes #1079
2010-09-18 00:04:36 -04:00