pookey
689469a979
* Adding an orderby test case to aggregate test
2007-06-20 13:09:26 +00:00
pookey
bd3995d80a
* Added failing test case for RawSql.
2007-06-20 12:39:56 +00:00
zYne
113ac3b9e0
1. Merging two event listener APIs
...
2. Merging Doctrine_Db functionality into Doctrine_Connection
3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
5a15afc6cb
2007-06-19 22:26:41 +00:00
zYne
cd08faba45
2007-06-19 21:21:39 +00:00
zYne
ad3f5bb6ff
2007-06-19 19:51:25 +00:00
zYne
a108327d20
2007-06-19 19:02:28 +00:00
zYne
e9c61a566a
2007-06-19 11:19:53 +00:00
zYne
bbd9797da2
2007-06-19 10:54:11 +00:00
zYne
7aa35b7b8e
2007-06-19 10:09:48 +00:00
zYne
4346c9f818
2007-06-18 22:21:19 +00:00
zYne
e40a541b17
2007-06-18 22:13:14 +00:00
zYne
3c678fc5e9
some new export tests
2007-06-18 19:58:11 +00:00
zYne
d938e6a9b0
2007-06-18 18:23:42 +00:00
zYne
e1d295f31b
2007-06-18 18:05:16 +00:00
zYne
0833fc572d
tests for Firebird and Mssql sequence drivers
2007-06-17 17:51:35 +00:00
zYne
41e2eadddd
2007-06-14 21:48:14 +00:00
zYne
5b13dcded9
2007-06-14 21:40:22 +00:00
zYne
12379bda4a
2007-06-14 21:37:32 +00:00
zYne
ea6c4a1889
minor bug fixes
2007-06-14 21:26:45 +00:00
zYne
271b45595d
2007-06-14 21:25:30 +00:00
zYne
053b17df7b
added test case for Nest relations
2007-06-14 21:23:16 +00:00
zYne
2683210c7d
2007-06-14 21:09:01 +00:00
zYne
bb0f0e32ed
added doc blocks
2007-06-14 21:01:57 +00:00
zYne
5006400cf9
2007-06-14 20:42:05 +00:00
zYne
a28c399c1c
Ticket 330 closed.
2007-06-13 20:59:05 +00:00
zYne
3d0e985eeb
tests for multiple aggeragate values with array fetching
2007-06-13 11:02:57 +00:00
pookey
afda33da13
* Removing unneeded echo from Ticket330TestCase
...
* Adding above mentioned test case to the test script
2007-06-13 07:43:24 +00:00
zYne
a8791f6cb4
2007-06-12 22:26:59 +00:00
Jonathan.Wage
9988907e35
Fixed coding standard
2007-06-12 22:20:25 +00:00
Jonathan.Wage
813886a086
Added test for failing getLimitSubquery
2007-06-12 22:09:46 +00:00
Jonathan.Wage
7b2f77a622
Added MultipleAggregateValue test case
2007-06-12 21:35:18 +00:00
zYne
2ddfc0726a
2007-06-12 19:42:27 +00:00
zYne
e21281ae07
fixed formatting
2007-06-12 19:19:37 +00:00
zYne
632f85ba47
renamed test case
2007-06-12 19:15:16 +00:00
zYne
422890ceb0
2007-06-12 18:51:11 +00:00
zYne
69c8531deb
test files for the foreign key support
2007-06-12 18:26:27 +00:00
pookey
445d1f9c62
* Updating the test framework with an assertIdentical() call that uses the === operator rather then the == operator.
...
* Updating BooleanTestCase to use above mentioned function - and they now fail
2007-06-12 17:05:16 +00:00
pookey
fddaa17afb
Adding conditional class definition so that people who use the 'memcache' pecl module can run the tests.
2007-06-12 16:51:20 +00:00
zYne
1b807d8e97
added doc block
2007-06-12 11:22:15 +00:00
alpha1125
8573d33fd9
Testing foreign key reference that is not ID
...
Ticket: 343
2007-06-11 20:23:53 +00:00
zYne
595071f767
added full support for join table self-referencing
2007-06-11 19:27:16 +00:00
zYne
5d9465870d
2007-06-11 15:45:55 +00:00
zYne
a3bc368b50
2007-06-10 19:40:14 +00:00
zYne
70c23e59e3
added doc blocks, changed formatting
2007-06-10 19:35:33 +00:00
zYne
ddad4162ca
added doc block
2007-06-10 19:31:28 +00:00
zYne
8e071b75e3
2007-06-10 19:23:46 +00:00
zYne
15e28efdb4
2007-06-10 19:04:53 +00:00
zYne
b097669fbe
tests for DISTINCT functionality
2007-06-08 20:16:51 +00:00
zYne
d04fa55354
Some new tests for one-to-one relation handling
2007-06-08 20:01:13 +00:00
zYne
f6751a5606
2007-06-08 19:32:27 +00:00
zYne
ad42d14e68
2007-06-08 19:22:18 +00:00
zYne
be34a396d7
2007-06-07 20:46:26 +00:00
zYne
db02c85e57
2007-06-07 18:31:03 +00:00
zYne
a00c6061ab
One-to-one relation fetching fixed
2007-06-07 17:04:56 +00:00
romanb
00399c5636
added a testcase
2007-06-05 20:02:11 +00:00
romanb
cab7c8ea45
New test case for one-one relation fetching.
2007-06-05 19:33:09 +00:00
zYne
dcc3bd8c7d
2007-06-05 18:38:00 +00:00
zYne
b036987973
2007-06-05 18:01:39 +00:00
zYne
240fdee547
2007-06-04 22:35:33 +00:00
zYne
0f10828804
2007-06-04 22:24:32 +00:00
zYne
ae342b43a2
2007-06-04 21:50:12 +00:00
zYne
033d511ce3
2007-06-04 20:23:42 +00:00
zYne
38437492d2
2007-06-04 18:21:36 +00:00
zYne
2efc914cdd
2007-06-04 18:20:32 +00:00
romanb
2e6ed4d02f
Updated 2 test cases to outline two major issues with the new hydration (at least i think that it has to do with the problems):
...
1) When the result set is in a custom order, components may be doubled (this already occured half a year ago though the symptoms were different (items were assigned to the wrong collection).
2) Accessing related components that are already loaded (but empty) results in lots of extra queries. The only way to get around that is do wrap an isset() check around nearly all places before accessing a relation. This was not the case in earlier revisions though at that time an isset() was sometimes needed, too to prevent extra queries. But now it seems to be necessary everywhere.
2007-06-02 11:36:31 +00:00
zYne
2662b46e9a
DQL aggregate value model rewrite
2007-06-01 10:17:50 +00:00
zYne
6c42ff9216
2007-05-31 18:55:44 +00:00
zYne
a1bfac1135
2007-05-31 17:51:16 +00:00
zYne
ccd86ea0f8
2007-05-31 17:49:27 +00:00
zYne
23670ed01b
2007-05-30 22:03:35 +00:00
zYne
f5ae32814a
2007-05-30 21:26:19 +00:00
zYne
6628644e38
2007-05-29 20:09:25 +00:00
zYne
39e46088c5
2007-05-29 19:03:19 +00:00
zYne
95f539567d
2007-05-29 18:41:54 +00:00
zYne
063d0f876d
2007-05-29 18:32:58 +00:00
zYne
7130cb5a38
2007-05-28 19:01:24 +00:00
romanb
782f073ebe
Added a failing test.
2007-05-28 17:02:18 +00:00
zYne
b774c98777
2007-05-28 15:13:11 +00:00
zYne
fed8eac782
2007-05-28 15:06:15 +00:00
zYne
8386d6915e
2007-05-27 18:56:54 +00:00
zYne
5cd993cdcc
2007-05-27 17:51:28 +00:00
zYne
514d67ef05
2007-05-27 09:37:16 +00:00
zYne
f8893f27c2
2007-05-27 09:36:53 +00:00
zYne
58a5ca0c09
2007-05-26 17:13:06 +00:00
zYne
ebdfbcb779
2007-05-26 17:12:55 +00:00
zYne
4ceb4ac5eb
2007-05-24 14:51:35 +00:00
zYne
468e4801cf
2007-05-24 14:36:01 +00:00
zYne
16aba4058e
2007-05-24 14:24:32 +00:00
zYne
82da462265
2007-05-24 14:05:22 +00:00
zYne
b9be106fc5
2007-05-24 13:58:31 +00:00
zYne
134c944bc7
2007-05-24 13:04:57 +00:00
zYne
b3afff2664
2007-05-24 13:02:26 +00:00
zYne
cab55d0d06
2007-05-23 21:02:19 +00:00
zYne
b4edcf34a4
2007-05-22 15:59:44 +00:00
zYne
c06c81dd85
2007-05-21 21:31:52 +00:00
zYne
ad0c3e2c68
some new tests for the new relation parser
2007-05-21 20:28:20 +00:00
zYne
634d2d9834
2007-05-21 17:55:33 +00:00
zYne
17349244b0
2007-05-21 17:35:04 +00:00
zYne
0b9ea73aaf
2007-05-20 21:18:52 +00:00
zYne
d79e4d0b41
new tests for relation parser
2007-05-20 20:55:38 +00:00
zYne
f8549da9e4
2007-05-20 20:35:35 +00:00
zYne
7c2dc1a978
2007-05-20 19:28:21 +00:00
zYne
8fc2028b5b
added alias tests for rawSql component
2007-05-19 17:49:50 +00:00
zYne
68088c16c5
Enum support for placeholders!
2007-05-17 23:13:58 +00:00
zYne
827755afd3
2007-05-16 21:28:33 +00:00
zYne
f26217c87a
DQL core refactored
2007-05-16 19:20:55 +00:00
zYne
b50aceec1d
added TokenizerTestCase
2007-05-16 09:07:22 +00:00
zYne
2592739f2d
2007-05-15 22:13:59 +00:00
zYne
6a7130be55
2007-05-15 20:29:33 +00:00
zYne
4289bdd9ab
new model now supports DQL DELETEs and UPDATEs
2007-05-15 19:59:18 +00:00
zYne
fb29ca0b07
2007-05-15 17:23:07 +00:00
zYne
6cdb8d993b
2007-05-15 17:22:42 +00:00
zYne
a87e418354
2007-05-15 15:14:09 +00:00
zYne
04d0ffb989
2007-05-15 15:11:36 +00:00
zYne
129fa3360a
new DQL model now supports WHERE clauses and subqueries
2007-05-15 15:08:23 +00:00
zYne
dce54885e4
2007-05-15 14:36:07 +00:00
zYne
0f4c09d869
2007-05-12 23:00:25 +00:00
zYne
f4ad789a2d
2007-05-11 18:59:59 +00:00
zYne
2fdc29a368
2007-05-11 18:58:50 +00:00
zYne
c500f71082
2007-05-10 21:31:35 +00:00
zYne
a0beed0ab9
2007-05-10 20:09:32 +00:00
zYne
ac34484c13
2007-05-10 19:49:05 +00:00
zYne
d3a7b438f5
2007-05-10 19:27:20 +00:00
pookey
32b564e742
minor change to test suite making it behave better in cases of exceptions and fatal errors
2007-04-18 19:29:41 +00:00
pookey
772701eaa3
formatting changes to run.php
2007-04-18 19:28:21 +00:00
zYne
2274554e36
2007-04-18 19:03:36 +00:00
zYne
7a9a86a5c6
fixes #310
2007-04-17 17:25:08 +00:00
pookey
659ecb41b0
update to ticket #307
2007-04-16 11:47:34 +00:00
zYne
eaea971fe4
fixes #307
2007-04-14 16:28:09 +00:00
romanb
61dc5e19c2
2007-04-13 18:18:00 +00:00
pookey
eed2a37037
adding a failing test case for ticket #307
2007-04-12 19:20:30 +00:00
romanb
635bc1fa66
Improved the previous fix for the unique validator.
2007-04-12 13:37:45 +00:00
romanb
18766e6579
Fixed an issue with the unique validator.
2007-04-12 08:38:59 +00:00
zYne
7f68e096b1
2007-04-11 19:12:52 +00:00
meus
be9d359937
Fixed indentation and other issues related to coding style
2007-04-11 19:06:13 +00:00
meus
f402f879b2
Added support for fetching a subclass when querying the baseclass if the
...
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
romanb
4652ae5c50
Added a validator test.
2007-03-28 13:31:54 +00:00
romanb
2acb54d679
quick fix.
2007-03-28 11:08:00 +00:00
zYne
a03d7c6cd5
some tests for CHECK constraint parser
2007-03-23 20:26:25 +00:00
zYne
759c23f490
first draft for sqlite cascading delete emulation with triggers
2007-03-22 13:32:43 +00:00
zYne
306dd80312
sqlite foreign key support
2007-03-22 12:47:37 +00:00
zYne
f7a7472cae
Foreign key exporting added
2007-03-21 22:11:18 +00:00
zYne
fecce947ed
fixed the handling of hooked parameters
2007-03-02 18:47:46 +00:00
zYne
1dfbc5b007
fixed the handling of aliases within DQL DELETE and UPDATE queries
2007-03-01 21:48:09 +00:00
zYne
a2016e2e6c
2007-03-01 21:31:49 +00:00
zYne
a2046460b5
Relation model rewrite, draft 2
2007-02-17 12:38:02 +00:00
zYne
94e5ce739a
more tests
2007-02-17 11:09:34 +00:00
zYne
84cf99fbf8
2007-02-16 20:27:05 +00:00
zYne
0c82cfb041
2007-02-16 20:26:47 +00:00
zYne
584c55faac
2007-02-16 19:33:32 +00:00
zYne
04c60c846d
2007-02-16 19:33:11 +00:00
zYne
ccda68ddf5
2007-02-16 19:32:15 +00:00
zYne
d977aee4fa
2007-02-15 22:25:26 +00:00
zYne
097adf5142
Migrating test cases to be PHP 5.2 compliant
2007-02-15 22:21:10 +00:00
zYne
bb1cf022a3
Migrating test cases to be PHP 5.2 compliant
2007-02-15 22:20:44 +00:00
zYne
5a9c72c3ff
index tests
2007-02-11 22:55:19 +00:00
zYne
1f27c65b1a
2007-02-10 21:19:06 +00:00
zYne
a56fd1c73c
new tests
2007-02-10 21:02:26 +00:00
zYne
5ddd15fefc
new tests
2007-02-10 20:55:46 +00:00
zYne
0b9a92b9a8
2007-02-10 20:53:42 +00:00
zYne
12d391fb42
new tests
2007-02-10 20:48:45 +00:00
zYne
a5b31e9521
Some new cache tests
2007-02-09 20:03:58 +00:00
zYne
ddb45098c0
little fix
2007-02-07 15:13:43 +00:00
zYne
5e4d1c3fdf
added ORDER BY RANDOM()
2007-02-07 14:16:07 +00:00
zYne
24d694bf3e
2007-02-07 13:51:09 +00:00
zYne
e43e7d2a5c
2007-02-05 12:06:41 +00:00
zYne
a7d1bc5633
Cache implementation continues
2007-02-05 12:04:56 +00:00
zYne
1132282fee
Doctrine_Db_Statement no longer depends on PDOStatement
2007-02-01 22:46:59 +00:00
zYne
af3e40aef6
cache test case skeletons added
2007-01-29 21:37:51 +00:00
zYne
4319d095f6
little sequence handling fix
2007-01-29 20:10:51 +00:00
zYne
a39199f29d
DQL ORDER BY now supports ordering by an aggregate value
2007-01-27 10:50:03 +00:00
zYne
84a7fb7973
Fixed DQL subquery handling
2007-01-27 10:28:25 +00:00
zYne
5cbed200b6
2007-01-27 10:13:13 +00:00
zYne
871e73fe0e
2007-01-27 10:11:25 +00:00
zYne
25f1d5e8ff
Fixed DQL many-to-many alias handling
2007-01-27 10:08:06 +00:00
zYne
8303cdb908
updated datadict test cases
2007-01-27 10:06:48 +00:00
zYne
b6575631b3
added tests for mssql import driver
2007-01-25 22:27:20 +00:00
zYne
b7ab722920
2007-01-24 22:50:49 +00:00
zYne
4faa6e5442
added tests for the pgsql import driver
2007-01-24 22:13:52 +00:00
zYne
b6e8c40067
column alias support for DQL HAVING part
2007-01-23 16:40:46 +00:00
zYne
d77ffb28c9
added support for column aliases
2007-01-23 16:27:20 +00:00
zYne
ffa7ff54a8
Fixed pgsql and sqlite sequence handlers and test cases
2007-01-21 22:10:45 +00:00
zYne
1eb8b54d81
lots of refactorings
2007-01-21 18:31:51 +00:00
zYne
880ca14f74
added PDO based attributes, fixed DQL aggregate value handling with left joins + added some new tests
...
Ticket: 263
2007-01-17 22:07:09 +00:00
zYne
31da317fcc
added tests for firebird import driver
2007-01-15 21:54:08 +00:00
zYne
7131ab9e95
2007-01-15 18:48:50 +00:00
pookey
bf749ae434
setting execution time to 900 seconds
2007-01-15 18:22:38 +00:00
zYne
b441465ef7
Made the testcase template adhere to new CS
2007-01-14 22:45:08 +00:00
zYne
2f4801fe27
added tests for sqlite import driver
2007-01-14 22:44:23 +00:00
zYne
1f54f672eb
some tests updated
2007-01-12 11:38:03 +00:00
zYne
154d6c4f45
some new tests added
2007-01-11 22:58:28 +00:00
zYne
2efddca0e2
added sequence test case
2007-01-10 20:36:40 +00:00
zYne
e91feeafb7
little fix
2007-01-09 23:14:22 +00:00
zYne
2b7731d7e3
2007-01-09 23:12:17 +00:00
zYne
16c809443f
added query join test case
2007-01-09 23:11:32 +00:00
zYne
05d969515e
2007-01-09 22:59:15 +00:00
zYne
c8d0a378dd
updated sequence driver test cases
2007-01-08 00:12:29 +00:00
zYne
609a228d5f
added some tests for sqlite sequence driver
2007-01-08 00:00:26 +00:00
zYne
bd46df215d
2007-01-07 23:52:15 +00:00
zYne
af0d91fea5
2007-01-07 19:40:06 +00:00
zYne
6e5e5c2141
added some test case skeletons
2007-01-05 22:33:53 +00:00
zYne
1aecd11e34
2007-01-05 22:13:44 +00:00
zYne
b0f3a5d77a
test cases updated
2007-01-05 22:07:50 +00:00
zYne
83d89b766d
TreeStructure bug fixed
2007-01-04 21:08:56 +00:00
zYne
f900a51a7d
Custom join condition support for DQL
2007-01-03 15:34:34 +00:00
david
ececdadf2c
added a test for a self-referential tree structure using only one table
2007-01-03 14:56:03 +00:00
zYne
9f6a652a62
2007-01-01 18:41:24 +00:00
zYne
afb21d1a40
2007-01-01 18:36:37 +00:00
zYne
b18b38da25
added custom join condition support for DQL
2007-01-01 18:29:22 +00:00
zYne
611c65e759
added null key handling for Doctrine_Collection
2006-12-30 00:50:54 +00:00
zYne
1febda1189
Made the datadict driver testcases adhere to new coding standards
2006-12-30 00:08:53 +00:00
zYne
13cd9efaa1
new tests for pgsql datadict driver
2006-12-29 23:56:09 +00:00
zYne
8ab9395606
new tests for the oracle datadict driver
2006-12-29 22:24:32 +00:00
zYne
398c819161
tests for the mssql datadict driver
2006-12-29 22:12:36 +00:00
zYne
abc34cf070
new test for mysql driver
2006-12-29 21:54:52 +00:00
zYne
b4ac430dba
2006-12-29 21:26:56 +00:00
zYne
8c28e735ef
added new tests for firebird datadict driver
2006-12-29 21:26:03 +00:00
zYne
8110cf8e89
Mysql string > 255 now converts to TEXT type
2006-12-29 13:45:41 +00:00
zYne
2c7642a787
added tests for expressions in DQL select part
2006-12-28 11:19:05 +00:00
zYne
816d026d21
added tests for Mysql portable error handling
2006-12-28 00:47:50 +00:00
zYne
ca9abd7374
Added new tests for portable error code handling
2006-12-28 00:33:37 +00:00
zYne
01972591e6
added tests for Pgsql portable error handling
2006-12-28 00:19:38 +00:00
zYne
5d3a9160dc
added test case for Expression module base class
2006-12-28 00:07:32 +00:00
zYne
81bc672eab
2006-12-27 21:34:26 +00:00
zYne
71b218e78e
added Transaction driver test cases
2006-12-27 21:33:16 +00:00
zYne
a0c1692a09
added Import driver test case skeletons
2006-12-27 21:32:09 +00:00
zYne
2f380fa690
added Expression module test case skeletons
2006-12-27 21:31:19 +00:00
zYne
a364b86a10
Moved export test cases
2006-12-27 21:30:25 +00:00
zYne
ff5c84a080
Moved some tests
2006-12-27 21:27:25 +00:00
zYne
13333bcfa0
Refactored relation test cases
2006-12-27 21:25:51 +00:00
zYne
3beff58c8c
Moved query subtests to tests/Query dir
2006-12-27 21:24:28 +00:00
zYne
d1ad19fdd8
Modified the test structure
2006-12-27 21:20:26 +00:00
zYne
393093fea6
added TestCase for Sqlite portable error handling
2006-12-26 21:54:44 +00:00
zYne
0d4a5bb14b
added TestCase for Oracle portable error handling
2006-12-26 21:53:56 +00:00
zYne
f571c61ecf
2006-12-26 20:33:40 +00:00
zYne
cf939c6d3a
Doctrine_Hook first draft + test cases
2006-12-23 22:45:36 +00:00
zYne
7b48189ba5
new DQL aggregate value model
2006-12-21 22:06:08 +00:00
zYne
d8c48da227
added quote identifier support for limit subquery algorithm
2006-12-03 20:13:28 +00:00
zYne
df0511e9dc
Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling
2006-12-03 20:05:09 +00:00
zYne
127ad3a903
2006-12-02 20:51:26 +00:00
zYne
fcce6bd239
Updated transaction drivers, ORM core now uses the new Export API
2006-12-02 14:40:47 +00:00
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
jhassine
6dd9bddc71
If tests are run from command line uses text reporter instead of HTML.
2006-09-25 07:10:37 +00:00
zYne
4bb224a3fc
2006-09-24 19:57:58 +00:00
zYne
617213b8ca
fixed tests
2006-09-24 19:54:55 +00:00
zYne
96177e3e22
Added unit tests to cover all eventlistener events, fixed fatal transaction bug
2006-09-24 19:38:45 +00:00
pookey
0a8123cf7a
the start of a new system to allow a defined DSN to be used for testing
2006-09-24 17:11:05 +00:00
zYne
ddca18a141
Removed InvalidKeyException references from Doctrine_Table
2006-09-24 12:55:25 +00:00
zYne
d46cacf233
2006-09-24 09:28:27 +00:00
zYne
1278934f83
Fixed #108
...
Ticket: 108
2006-09-23 17:02:30 +00:00
Tanken
110a6764e8
Added a unit test for access of one-to-one related object from the foreign side. See ticket #108
2006-09-23 11:56:57 +00:00
zYne
bcbdba0e78
New Doctrine_DB enhancements
2006-09-23 10:44:39 +00:00
zYne
0173d0aaed
Small fix
2006-09-22 22:29:06 +00:00
zYne
10e7d416c3
Doctrine_DB_TestCase, Doctrine_DB_Exception added, enhanced parseDSN method
2006-09-22 21:20:21 +00:00
pookey
a1bed77af2
added boolean test case
2006-09-22 08:07:49 +00:00
pookey
8ea7b0b8b5
boolean test case added (currently fails on selecting when false)
2006-09-21 21:18:30 +00:00
zYne
1862f00fc6
new Doctrine_DB to the draft
2006-09-21 21:09:58 +00:00
pookey
08a4de4889
removing unneeded ini_set
2006-09-21 20:15:41 +00:00
zYne
fcdcb57f4f
Added the missing test case
2006-09-21 19:38:46 +00:00
pookey
3be1d00281
refs #62 - beginning of test case NOT COMPLETE - I haven't got the testing framework running on my machine yet
2006-09-21 15:09:48 +00:00
zYne
0244d3dc4d
Refactored Doctrine_View
2006-09-20 21:40:16 +00:00
zYne
935fbb5520
Removed deprecated constants
2006-09-20 21:18:41 +00:00
zYne
ebad53b79d
Removed object cache and all references to it, ticket #89 fixed
2006-09-20 21:07:13 +00:00
zYne
43980029d4
Gzip datatype added
2006-09-20 15:46:25 +00:00
zYne
9b951928be
UnitOfWork and Transaction under the Doctrine_Connection namespace
2006-09-20 09:55:44 +00:00
zYne
9d4c4216b7
added Doctrine_UnitOfWork, removed unnecessary methods from Connection class
2006-09-20 09:46:52 +00:00
zYne
7b52c80c53
Refactored Doctrine_Connection: separated into two different classes Doctrine_Connection and Doctrine_Transaction
2006-09-20 09:35:29 +00:00
zYne
f2a2d3e51e
Fixed DQL OrderBy parser bug
2006-09-18 17:32:12 +00:00
zYne
41ee9173f1
method name changes for better custom getter/setter compatibility
...
Doctrine_Record::getID() -> obtainIdentifier()
Doctrine_Record::setID() -> assignIdentifier()
2006-09-17 17:59:04 +00:00
zYne
ddbf6c949b
Fixed default value support + camelCase column problems
2006-09-17 15:44:10 +00:00
zYne
1c782a086d
Support for application level default values
2006-09-15 20:56:25 +00:00
zYne
7914695e6a
DQL update: AND an OR as equivalent operators for && and ||
2006-09-15 10:48:59 +00:00
zYne
120d18565c
Tests and implementation for DQL functions contains(), like() and regexp()
2006-09-15 10:04:22 +00:00
zYne
eacb78148e
added new DQL function: contains
2006-09-14 21:10:02 +00:00
zYne
871f3c418d
DQL enum type support (still not working for prepared queries)
2006-09-13 20:47:29 +00:00
zYne
16d964e4ba
Fixed the core get() / set() issue
2006-09-12 21:36:36 +00:00
zYne
e49319f490
New component Doctrine_EventListener_AccessorInvoker for automatic invoking of get* and set* methods
2006-09-12 10:15:58 +00:00
zYne
3dca74f2d2
Association self-referencing fetching now works (still not integrated into DQL)
2006-09-11 21:46:01 +00:00
zYne
bce726d66c
Doctrine_Collection::loadRelated() bug fixed
2006-09-08 23:20:51 +00:00
zYne
7ef7031c37
toArray test cases
2006-09-07 21:30:21 +00:00
zYne
276af65256
Support for passing an array as constraint/validator argument
2006-09-04 06:55:16 +00:00
zYne
7bb07a5be1
Syntax error fix
2006-09-04 06:27:27 +00:00
zYne
087de88f7c
Case insensitive column names
2006-09-03 19:20:02 +00:00
zYne
c5e4f366d4
Tests for covering the Doctrine_Collection::loadRelated functionality for basic many-to-many relations
2006-09-03 17:32:35 +00:00
zYne
da9d179d9f
Support for mapping table column values as collection indexes
2006-09-01 21:30:18 +00:00
zYne
155f5193ec
New fetchmode constants (implementation later)
2006-08-31 22:00:44 +00:00
zYne
c929174385
Doctrine_Table::getForeignKey -> Doctrine_Table::getRelation
2006-08-31 09:04:14 +00:00
zYne
2dd3e9743a
Doctrine::ATTR_QUERY_LIMIT constant added
2006-08-29 20:09:31 +00:00
jhassine
8c294ababa
* Added some test cases for the importing part. The new tests will fail for now because of the lacking implementation.
...
Refs #11
2006-08-27 02:21:20 +00:00
jhassine
fd3bffc7d5
* Added Schema classes and some testcases (refs #11 )
2006-08-26 22:27:16 +00:00
zYne
9bd341d708
Doctrine_Record::countRelated() added
2006-08-25 23:50:55 +00:00
zYne
cfa6a512f3
Fixed ticket #26
2006-08-25 20:13:37 +00:00
zYne
d283fbf1c7
Preliminary support for DQL aggregate value selecting
2006-08-25 18:17:20 +00:00
zYne
70c57c7f08
Firebird LIMIT support updated, severe query parser bug fixed
2006-08-23 10:11:40 +00:00
zYne
5780e3b9b7
removed the compile call from unittestcase
2006-08-22 21:18:06 +00:00
zYne
3adb4338b1
2006-08-22 20:14:29 +00:00
zYne
8e3aead181
Tests updated for classify / tableize
2006-08-22 19:34:40 +00:00
zYne
a0958f7d0e
2006-08-21 23:20:33 +00:00
zYne
6fffa9e68d
Manual codes updated Session -> Connection
2006-08-21 22:51:27 +00:00
zYne
acced2b987
DQL Limit now works with normal many-to-many relations as well as many-to-many relations using column aggregation inheritance
2006-08-21 22:24:09 +00:00
zYne
7ca5397054
Session flushing bug with proxy objects fixed
2006-08-21 22:04:13 +00:00
zYne
bdce1d8d62
little DQL LIMIT fix
2006-08-21 21:04:20 +00:00
zYne
beda312f1c
DQL Limit now works with prepared queries
2006-08-21 20:36:11 +00:00
zYne
f3c0a27d6b
Ability to pass null to rawSql / Query constructor, Doctrine uses then the current connection
2006-08-21 19:48:24 +00:00
zYne
b887ca946f
Transaction introduction updated
2006-08-21 11:18:28 +00:00
zYne
8755e5ab50
DQL - SQL conversion LIMIT clause parsing examples added
2006-08-21 10:43:44 +00:00
zYne
f44cc73215
Minor rawSql fix
2006-08-20 19:25:04 +00:00
zYne
38a4a23c5e
rawSql parser fixed
2006-08-20 19:21:52 +00:00
zYne
5059dbc90d
Sqlite Datadict updated, Doctrine_Record::merge fixed
2006-08-20 18:52:07 +00:00
zYne
c9b9017985
Docs updated, more tests for DQL LIMIT
2006-08-17 09:42:18 +00:00
zYne
75a2dea3b1
Minor testcase fix
2006-08-16 09:21:47 +00:00
zYne
593d5bb847
DQL LIMIT improved
2006-08-16 09:17:43 +00:00
zYne
f7602a3bf5
DQL Limit rewrite
2006-08-15 23:25:53 +00:00
zYne
2e0330bfba
added Query Limit TestCase
2006-08-15 21:45:00 +00:00
pookey
b022675ab7
little refactorings
2006-08-15 21:33:41 +00:00
pookey
e75f3598c3
Relation fetching refactoring
2006-08-15 21:33:18 +00:00
pookey
76081664b5
Empty values now pass email validator
2006-08-15 21:32:59 +00:00
doctrine
bc3c8c2eb8
Docs updated
2006-08-08 09:07:55 +00:00
doctrine
e3df7b6bd0
2006-08-07 22:25:25 +00:00
doctrine
9c34cb2937
Started the building of Doctrine_ValueHolder
2006-08-07 09:55:46 +00:00
doctrine
ae738ccb97
Some new manual code examples
2006-08-06 20:46:12 +00:00
doctrine
7119471b48
Doctrine_Collection::loadRelated() added
2006-07-27 17:51:19 +00:00
doctrine
a20d0544dd
CustomPrimaryKeyTestCase added
2006-07-26 17:09:00 +00:00
doctrine
17b452b2ce
new component: Doctrine_RawSql
2006-07-21 23:22:15 +00:00
doctrine
bb1a39683c
Core changes: getID() now returns array for better composite primary key support
2006-07-10 09:18:09 +00:00
doctrine
5471e9e2ad
DQL: Condition parsing with nested conditions bug fixed
2006-07-04 22:36:22 +00:00
doctrine
143b274964
Query parser refactoring
2006-06-29 23:04:39 +00:00
doctrine
cff3c43017
DQL: improved self-reference handling
2006-06-26 21:18:19 +00:00
doctrine
8c4d8293e5
DQL: self-referencing support
2006-06-26 18:55:42 +00:00
doctrine
0062d9c3ff
Complete DQL rewrite, Fixed : Ticket #13
2006-06-25 23:42:19 +00:00
doctrine
69e3a7112e
Fixed: Sqlite compatibility issues
2006-06-25 18:34:53 +00:00
doctrine
7b37235fcc
little enum fix
2006-06-21 20:02:40 +00:00
doctrine
d3098e3a25
Minor validator fix
2006-06-19 21:31:22 +00:00
doctrine
1fd421d09e
Bug fix : Composite delete with aliases, Bug fix : DQL column aggregation inheritance to ANSI SQL compliant
2006-06-18 22:45:54 +00:00
doctrine
04ca92b094
Enum datatype added
2006-06-17 22:46:03 +00:00
doctrine
aacb279505
DQL: Preliminary support for HAVING + GROUP BY, New component Doctrine_Cache_Query_Sqlite
2006-06-14 19:17:38 +00:00
doctrine
1e0d675759
Preliminary support for database views
2006-06-13 18:04:04 +00:00
doctrine
daeef41b2a
DQL: Many-to-Many fetching with where clause
2006-06-12 08:44:08 +00:00
doctrine
9c16da05bc
Validator type bug fix
2006-06-11 12:02:05 +00:00
doctrine
f58535eba1
Nested many-to-many fetching
2006-06-08 22:11:36 +00:00
doctrine
ffa3a23872
Preliminary support for many-to-many fetching with column aggregation inheritance
2006-06-08 13:17:15 +00:00
doctrine
c3f186c2cf
2006-06-08 10:33:58 +00:00
doctrine
2b01d706d3
Many-to-Many relation fetching, fatal proxy state bug fixed, fatal loaded identity map + multiple component fetching bug fixed
2006-06-08 10:20:30 +00:00
doctrine
abdcd65a15
Removed legacy classes
2006-06-07 20:10:21 +00:00
doctrine
10d6a8ad4f
Added a test case for the first implementation of pessimistic offline locking.
2006-06-07 12:16:00 +00:00
doctrine
a9ccd9dc1e
Validator: support for array and object types, better handling of null valued columns
2006-06-07 09:07:38 +00:00
doctrine
d1ed73c6d9
Doctrine_Table::find now returns false if record is not found (instead of throwing InvalidKeyException)
2006-06-06 20:37:56 +00:00
doctrine
f5f3b0d27a
Support for uppercase columns
2006-06-05 10:24:14 +00:00
doctrine
bcf9ca78e0
Serialization model rewrite
2006-06-05 09:57:53 +00:00
doctrine
02a283f5e9
2006-06-03 09:10:43 +00:00