1
0
mirror of synced 2024-12-14 15:16:04 +03:00
Commit Graph

307 Commits

Author SHA1 Message Date
zYne
cab5b432a6 Updated transaction drivers 2006-11-30 23:51:44 +00:00
zYne
4a1bff1428 2006-11-30 14:40:50 +00:00
zYne
faa5e603f0 Sqlite datadict driver tests 2006-11-29 22:34:14 +00:00
zYne
fe88258168 Updated classes to use new Transaction module 2006-11-29 21:09:02 +00:00
zYne
2241453570 Lots of small fixes, driver improvments and more tests 2006-11-28 23:26:44 +00:00
zYne
b8257aad63 updated datadict driver test cases 2006-11-28 18:39:31 +00:00
zYne
a4cab6ae91 added missing test cases 2006-11-28 17:56:51 +00:00
zYne
8b969d0398 added tests for oracle datadict driver 2006-11-27 22:49:13 +00:00
zYne
8815624b53 added tests for mysql datadict driver 2006-11-27 21:59:22 +00:00
zYne
9ed1eea1e9 More driver tests 2006-11-27 19:28:27 +00:00
zYne
01efe0ed22 updated driver tests 2006-11-24 23:23:52 +00:00
zYne
41e5b46618 updated datadict driver tests 2006-11-24 23:23:21 +00:00
zYne
b6583680a1 added new datatype tests for sqlite 2006-11-24 16:06:12 +00:00
zYne
b1d5eedb47 Updated test cases 2006-11-23 23:23:24 +00:00
zYne
4a7487567d added new test cases for transaction drivers 2006-11-23 15:30:00 +00:00
zYne
12520b3401 added test case for pgsql transaction module 2006-11-22 23:40:21 +00:00
zYne
ec662f3ee4 added new driver tests 2006-11-22 23:35:34 +00:00
zYne
ee5a7f8c1b Added super class for all export test cases 2006-11-22 00:26:34 +00:00
zYne
f5fc3a6e5b added tests for pgsql export driver 2006-11-22 00:19:23 +00:00
zYne
7e32cde027 added tests for firebird export driver 2006-11-22 00:19:00 +00:00
zYne
d97c78dad8 updated query limit test case, added new tests for mysql export driver 2006-11-22 00:18:33 +00:00
zYne
14075fa7ec Added some tests for new attributes 2006-11-21 23:34:12 +00:00
zYne
ff42bc9f90 2006-11-18 20:27:09 +00:00
zYne
6d4e947eef added UnitOfWork test case 2006-11-16 22:07:13 +00:00
zYne
6daa1e3443 fixed references to deprecated getTransaction() and getUnitOfWork() methods 2006-11-16 20:31:39 +00:00
zYne
02cc9b2f6c Removed cache constants, added portability constants 2006-11-16 12:45:34 +00:00
romanb
799102b280 Enhancements and refactorings for the offline locking manager.
Ticket: 225,226
2006-11-11 20:28:54 +00:00
zYne
cbc157fbae replaced the old Doctrine_Db with new one 2006-11-11 20:00:30 +00:00
zYne
cd80b593f8 Small fixes 2006-11-11 19:51:51 +00:00
pookey
7d7c47070a fixing case in files 2006-11-11 19:35:33 +00:00
pookey
d33e69deb3 fixing case in files 2006-11-11 19:32:34 +00:00
pookey
b3c5aeb225 issues with case sensitivity 2006-11-11 10:54:55 +00:00
zYne
28ea79488a 2006-11-10 23:15:34 +00:00
zYne
34ecd30498 Doctrine_Query::where() now accepts prepared statement parameters 2006-11-08 19:12:16 +00:00
zYne
a0aa16bbea Doctrine_Db updates 2006-11-08 10:18:15 +00:00
zYne
fef149dd62 Doctrine_Db_* updates 2006-11-07 23:12:05 +00:00
zYne
b6ffa045d4 2006-11-06 17:56:14 +00:00
zYne
bd776a680a DQL: support for DISTINCT keyword in aggregate functions, fixes #220 2006-11-05 20:08:34 +00:00
zYne
ba4c83ef3a Total rewrite for DQL alias model: now using short aliases instead of long aliases (needed for Oracle portability). 2006-11-05 19:24:28 +00:00
runa
cdd49b76de removed since the correct file is DBTestCase.php 2006-11-03 19:26:57 +00:00
zYne
00ed2c1956 2006-11-03 10:28:48 +00:00
zYne
76f4bfb90d tmp name for a file 2006-11-01 18:33:51 +00:00
zYne
7ef869ee40 Refactored Doctrine_Connection and Doctrine_Record, fixes #212 2006-10-30 23:00:09 +00:00
zYne
048d7788ce Many-to-Many relation handling fixed, fixes #193 2006-10-29 23:24:50 +00:00
zYne
dd73f6de4a Fixes #205 2006-10-26 23:05:55 +00:00
zYne
53bdc31ad5 added adapter skeletons, fixed wrong limit subquery ordering 2006-10-26 22:12:58 +00:00
zYne
4cd29eaf2c DQL enum handling fixed, fixes #202 2006-10-26 20:53:59 +00:00
zYne
ff85f8c668 Fixes #194, added Doctrine_Relation_ManyToMany_TestCase
Ticket: 194
2006-10-25 21:12:30 +00:00
zYne
0835a57ce1 Fixes #192, added Doctrine_Record_State_TestCase
Ticket: 192
2006-10-25 20:02:40 +00:00
zYne
5ed9eeffd7 Import builder now supports default values and notnull constraints, added missing test case (Doctrine_Query_Update_TestCase), fixes #189
Ticket: 189
2006-10-24 08:56:47 +00:00
zYne
daaab94cfe Developed Doctrine_Import, changed Doctrine_Schema objects to have unified constructor 2006-10-23 19:55:30 +00:00
zYne
7e7a0b879c Fixes #185 2006-10-23 16:19:47 +00:00
zYne
599dc759fb Fixes #180 2006-10-20 18:21:42 +00:00
zYne
20f504253b added Mysql export driver + updated some datadict drivers 2006-10-19 20:56:59 +00:00
zYne
ec8f446fad Fixes #175 2006-10-18 20:17:49 +00:00
zYne
1c8cf0271e DQL: DELETE support added 2006-10-18 17:37:20 +00:00
zYne
cce886dadd Fixes #174 2006-10-17 21:18:57 +00:00
pookey
34a8acba63 adding a test to show a situation where cascading inserts do not work 2006-10-17 19:02:00 +00:00
zYne
bfcfa9f2f2 Aggregate function support added 2006-10-17 17:21:21 +00:00
pookey
5d8ac6d0a0 pookey: adding test cases for Doctrine_Record::copy refs #172 2006-10-16 18:10:38 +00:00
pookey
e3137c70a4 pookey: error with copy, refs #172 2006-10-16 16:17:07 +00:00
pookey
edaf23df2d adding new enum tests ( refs #170 ) 2006-10-15 22:50:46 +00:00
pookey
47d8bd2437 updating tests refs #168 2006-10-15 17:24:35 +00:00
pookey
716a91e511 improving (and breaking) find() test cases, refs #168 2006-10-15 17:15:16 +00:00
zYne
da6f4a3849 Fixes #166 2006-10-14 16:58:59 +00:00
romanb
765c06b7c1 Improved some tests. 2006-10-13 16:28:40 +00:00
zYne
db433c8449 Fixes #163, #162, removed Doctrine_Record::__call() 2006-10-12 21:01:53 +00:00
zYne
3b24837755 added missing test case class 2006-10-12 20:32:16 +00:00
zYne
f40601fefe Fixes #161, DQL : added support for EJB 3 -style JOIN syntax 2006-10-12 19:57:56 +00:00
zYne
8b4bc0f41c Fixes #159, #160, added EXISTS expression support as well as correlated subquery support 2006-10-11 20:44:21 +00:00
romanb
db25f46e52 Finished the validation changes.
Ticket: 150
2006-10-11 16:24:18 +00:00
zYne
5957622575 Fixes #157
Ticket: 157
2006-10-10 18:09:20 +00:00
romanb
171226d532 Continued work on the validation component.
Ticket: 150
2006-10-10 16:15:43 +00:00
romanb
b0f0537071 Necessary changes to the validation components. Further improvements and docs will follow in the next days.
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
499da8f9b8 Fixes #156
Ticket: 156
2006-10-09 16:32:37 +00:00
zYne
cba61cb346 Fixes #155 2006-10-08 19:10:21 +00:00
zYne
67da38b07d Validators updated, *NOTE* this breaks BC:
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
zYne
847bd1ade6 new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support 2006-10-06 16:50:00 +00:00
zYne
4408774100 DQL Component Aliases added! Fixes #142
Ticket: 142
2006-10-03 17:24:13 +00:00
zYne
766aec2c94 added missing test cases 2006-10-03 16:03:19 +00:00
zYne
6210a60611 Fixed a bug when saving a record with null valued boolean column 2006-10-02 20:51:36 +00:00
pookey
9589f486ef pookey: added boolean test cases for setting null values 2006-10-02 01:31:07 +00:00
pookey
04a3cb9f63 pookey: fixed email validator and added more test cases 2006-10-02 01:23:23 +00:00
zYne
8abb979578 Fixes #85 2006-10-01 16:14:26 +00:00
zYne
ab99a5fcc3 Fixed fatal bug in Doctrine_Hydrate resulting in wrong mappings when result set contains rows in 'wrong' order. 2006-10-01 14:35:38 +00:00
romanb
05a23f6a30 Added a test case to track an ugly bug. 2006-10-01 13:54:15 +00:00
zYne
4eb1060b13 added new tests 2006-10-01 11:21:25 +00:00
zYne
00cbc5d18e Fixed many-to-many handling when join table component is accessed before the associated component, fixes #136, #84 2006-10-01 10:10:11 +00:00
zYne
bbc3d3f6be Major change on how transactions are being handled: insert / update queries are now executed immediately and only deletes are being gathered (due to delete optimization strategies). Fixes #138, #135 2006-09-30 12:36:03 +00:00
Tanken
cba5846b6a Added unit test for queries on multiple left join branches [ticket #139]
Ticket: 139
2006-09-30 11:36:14 +00:00
zYne
14b95350d0 Fixes #132, refactored some test cases
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
7b84d15530 Fixes #126, #127
Ticket: 126
2006-09-27 21:21:33 +00:00
jhassine
c57471091f Unit tests' path problem fixed 2006-09-27 21:20:22 +00:00
zYne
c239ff4bba Added exception info in Doctrine_Record doc blocks, fixes #125
Ticket: 125
2006-09-27 18:02:13 +00:00
zYne
bed3a3712d added fetch* methods to new Doctrine_DB 2006-09-27 10:55:02 +00:00
zYne
a1d3e137f2 Fixed enum test case 2006-09-26 21:32:00 +00:00
zYne
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
zYne
2c16937dec Fixed boolean test case 2006-09-26 20:45:29 +00:00
zYne
cec372dfe1 Doctrine_DataDict_Sqlite driver 2006-09-25 21:08:02 +00:00
pookey
70ebe0d9af concept of how we might pass params to the test script 2006-09-25 08:42:15 +00:00