1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

714 Commits

Author SHA1 Message Date
zYne
95b5bc1afe 2007-07-06 11:56:12 +00:00
zYne
dbd49e9310 2007-07-05 23:47:48 +00:00
zYne
3d736d32b4 2007-07-05 23:25:36 +00:00
zYne
58f6d356e0 renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation 2007-07-05 23:21:29 +00:00
pookey
3874be57a4 refs #381 2007-07-05 23:02:39 +00:00
zYne
65f0cb8d27 2007-07-05 22:53:51 +00:00
zYne
ec39adcd73 2007-07-05 22:42:32 +00:00
zYne
378ed91ab6 2007-07-05 21:16:28 +00:00
zYne
615dcdb84e 2007-07-05 20:03:38 +00:00
Jonathan.Wage
660f83231b Added new test case for saving blank records 2007-07-05 17:56:11 +00:00
zYne
e4114c47fa fixed literal enum conversion with joins 2007-07-05 17:25:53 +00:00
zYne
fcee65cb86 2007-07-05 16:40:05 +00:00
zYne
20e6b007f7 2007-07-01 12:11:44 +00:00
zYne
cc7b1367fa support for expressional column values 2007-07-01 11:27:45 +00:00
pookey
11f9940db2 Refs #376 2007-06-29 21:52:18 +00:00
pookey
1fcddf7252 Refs #375 2007-06-29 21:27:41 +00:00
Jonathan.Wage
96c1f16c5e Added new test case 2007-06-29 19:23:19 +00:00
Jonathan.Wage
4b6a537c29 Initial entry 2007-06-29 19:22:55 +00:00
zYne
0624cbd867 2007-06-29 10:18:05 +00:00
zYne
6bedbdf3e0 2007-06-29 10:17:05 +00:00
zYne
5b2c57af1f 2007-06-28 21:43:31 +00:00
Jonathan.Wage
72f9c2b324 Fixed coding standard 2007-06-28 19:27:54 +00:00
pookey
d203d1194b CS corrections 2007-06-28 19:24:35 +00:00
zYne
57b4a549f2 2007-06-28 19:19:47 +00:00
Jonathan.Wage
3740f03477 Added new test case 2007-06-28 19:02:55 +00:00
Jonathan.Wage
b3019ccae0 initial entry 2007-06-28 19:02:15 +00:00
romanb
59df6edff9 Addition to the validator tests.
Ticket: 354
2007-06-28 16:14:06 +00:00
zYne
b4ad603841 2007-06-28 11:56:56 +00:00
zYne
ccc51c72bc formatting fix 2007-06-28 11:39:05 +00:00
zYne
501e8e9158 2007-06-27 22:40:17 +00:00
zYne
e1979612c7 2007-06-27 22:29:57 +00:00
zYne
f290439c52 2007-06-27 22:22:04 +00:00
zYne
2a2cb285a0 2007-06-27 18:42:47 +00:00
Jonathan.Wage
8ae8fa7c40 Added new test case for incorrect alias being used 2007-06-27 18:24:11 +00:00
zYne
279f3d69f9 2007-06-27 18:03:16 +00:00
Jonathan.Wage
1242c8e846 added test case for using aggregate functions in the orderby/having 2007-06-27 18:02:08 +00:00
Jonathan.Wage
3cdceb4cea added new test case 2007-06-27 18:01:31 +00:00
zYne
07a710ef0b 2007-06-27 17:51:51 +00:00
zYne
858c1c0767 2007-06-27 17:44:49 +00:00
zYne
57ae92ccaf 2007-06-27 17:43:24 +00:00
zYne
a6139bb381 2007-06-27 17:41:02 +00:00
Jonathan.Wage
c7d5ea096d Fixed error 2007-06-27 16:50:27 +00:00
Jonathan.Wage
1ea58b8392 Added mysql subquery test case 2007-06-27 16:47:06 +00:00
Jonathan.Wage
2e6c45f36b INitial entry 2007-06-27 16:46:46 +00:00
zYne
81d39c5026 2007-06-26 23:12:45 +00:00
zYne
d70e10416b 2007-06-26 23:01:41 +00:00
zYne
625b6a3f82 2007-06-26 22:35:08 +00:00
zYne
c5fc122852 fixes #364, optimized the bulkDelete for composite primary keys, security check for circular references in cascading saves 2007-06-26 13:08:58 +00:00
zYne
a3f2cae863 fixes #360 2007-06-26 10:05:26 +00:00
Tanken
73b9f36ec7 added test case to demonstrate PHP crashing when trying to save circular self-referencing relations (ticket #364) 2007-06-25 21:56:22 +00:00
zYne
4e2418867e 2007-06-25 21:39:49 +00:00
Jonathan.Wage
fae059c8e0 Added failing unit test for count() 2007-06-25 21:00:37 +00:00
zYne
01772f9b9e 2007-06-25 20:59:42 +00:00
zYne
612793d9cb fixes #359 2007-06-25 20:08:16 +00:00
zYne
ad21df553d 2007-06-25 19:25:23 +00:00
zYne
d58b96041e formatting fix 2007-06-25 19:07:14 +00:00
zYne
1273563b31 Export now executes the constraint clauses after the CREATE TABLE clauses 2007-06-25 19:03:58 +00:00
zYne
c45823aa49 new transaction tests 2007-06-25 18:47:36 +00:00
zYne
fb46481ab2 added namespaces for event constants 2007-06-25 17:24:20 +00:00
zYne
e1fbae22a4 EventListener method names updated 2007-06-25 10:08:03 +00:00
zYne
11287992c7 tests for record template methods 2007-06-24 21:37:54 +00:00
zYne
e057ab7d77 added driver tests for Doctrine_Query 2007-06-24 21:05:56 +00:00
zYne
bf4429d69d 2007-06-24 20:35:22 +00:00
zYne
faf7766768 2007-06-24 18:45:21 +00:00
zYne
04bca791bc 2007-06-24 18:40:42 +00:00
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