1
0
mirror of synced 2025-01-09 18:47:10 +03:00
Commit Graph

1961 Commits

Author SHA1 Message Date
Andreas Flack
a5cf6417b3 Add failing test for DDC-3160 2014-06-12 17:28:13 +02:00
Marco Pivetta
32b24ba155 Fixed mismatch in expected exception message, see doctrine/doctrine2#1048 2014-06-07 14:55:59 +02:00
Steve Müller
dcf8d6a86e ignore case when checking for existing methods to avoid redeclaration on update 2014-06-05 15:58:54 +02:00
Marco Pivetta
c68ed4c204 Verifying that the persister is used only once when matching on a lazy criteria collection 2014-05-17 19:06:16 +02:00
Marco Pivetta
d2174a893a Verifying that count is not called on the persister when the collection is initialized 2014-05-17 18:56:42 +02:00
Marco Pivetta
546bb53ef9 Verifying that count on the lazy criteria collection is cached even with 0 count 2014-05-17 18:51:33 +02:00
Marco Pivetta
c46b63f6b4 Verifying that count on the lazy criteria collection is cached 2014-05-17 18:51:01 +02:00
Marco Pivetta
81fbb049a5 LazyCriteriaCollection test setUp 2014-05-17 18:48:25 +02:00
Marco Pivetta
7cb40ed915 Mocking up tests for the lazy-criteria-collection 2014-05-17 18:45:33 +02:00
Guilherme Blanco
47ca10076b Merge pull request #991 from mnapoli/custom-functions-callback
Ability to define custom functions with callback instead of class name
2014-05-16 00:27:30 -04:00
Michaël Gallego
92a2b01c77 Fix tests by forcing collection initialization 2014-05-15 18:37:41 +02:00
Michaël Gallego
172df22281 Fix inconsistent mapping 2014-05-15 18:22:57 +02:00
Michaël Gallego
0a6c2027f5 Update tests 2014-05-15 18:22:57 +02:00
Michaël Gallego
45e9d6ed5a Fix test on some RDBMS 2014-05-15 18:22:57 +02:00
Michaël Gallego
11de4c2e72 Only create lazy collection for EXTRA_LAZY 2014-05-15 18:22:57 +02:00
Michaël Gallego
50832fd3bc Add tests for PersistentCollection 2014-05-15 18:22:57 +02:00
Michaël Gallego
876643e83e Add test for Entity Repository 2014-05-15 18:22:57 +02:00
Michaël Gallego
ac15b184b6 Fix tests for inheritance support 2014-05-15 18:22:56 +02:00
Michaël Gallego
632382b069 Add missing methods to the mock 2014-05-15 18:22:56 +02:00
Michaël Gallego
9813c2d5f1 Add tests 2014-05-15 18:22:56 +02:00
Marco Pivetta
65e55a0c49 DDC-3123 - using assertAttributeEmpty (with message) instead of explicit reflection 2014-05-15 17:37:41 +02:00
Matthieu Napoli
c7eb42b04f Ability to define custom functions with callback + tests 2014-05-15 12:06:21 +02:00
Guilherme Blanco
5c828fc6c8 Merge pull request #1023 from coma/DDC-3027
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-05-14 22:37:24 -04:00
Guilherme Blanco
4874070b3f Merge branch 'feature/default-query-hints' of https://github.com/Strate/doctrine2 into Strate-default-query-hints 2014-05-15 01:15:34 +00:00
Marco Pivetta
9cdcba3fbc DDC-3123 - verifying that the UoW is not clearing extra inserts 2014-05-15 00:18:22 +02:00
Eduardo García Sanz
8a3def097f [DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass 2014-04-30 11:46:54 +02:00
Marco Pivetta
7a305475e3 The proxy factory always expects non-null identifier values 2014-04-29 13:25:17 +02:00
Marco Pivetta
677cea4748 DDC-3103 - minor CS fixes/adjustments 2014-04-29 13:12:17 +02:00
Marco Jantke
cf84183c18 created test case to reproduce error 2014-04-29 09:30:10 +02:00
Guilherme Blanco
9692fc8c5b Fixed issue if aliases were specific names, you would either get completely misleading results (dql alias: scalars) or a fatal error (dql alias: newObjects). 2014-04-24 04:47:13 +00:00
Guilherme Blanco
29de3e00ff Added support for NEW operator when using ArrayHydration if user desires to benefit from this funcionality. 2014-04-23 05:10:23 +00:00
Guilherme Blanco
63d21ca4b2 DDC-3085 Verify ResultVariable works in combination with NullComparisonExpression wihle in HAVING clause. 2014-04-21 04:01:32 +00:00
Guilherme Blanco
4185a9ce4b Merge pull request #999 from doctrine/hotfix/DDC-3065-null-value-in-in-criteria-support
DDC-3065 null value in in criteria support
2014-04-20 23:30:14 -04:00
Guilherme Blanco
6a8ee87268 Made DQL and EBNF in sync. 2014-04-20 20:27:57 +00:00
Guilherme Blanco
a3f95d919b DDC-3075 Added support for subqueries in NEW operator. 2014-04-20 14:40:51 +00:00
Guilherme Blanco
38b6838386 DDC-2575 Fixed issue with associations when parent is not yet loaded, but child is being created and no link happens. 2014-04-18 05:21:27 +00:00
Guilherme Blanco
10a0daf620 DDC-3068 DDC-3069 EntityManager::find accept array of object as id. 2014-04-18 02:03:47 +00:00
Marco Pivetta
e1259098f5 Fixed whitespace around imported classes 2014-04-17 15:37:24 -04:00
Marco Pivetta
9ab6ef723a Removing too eager cache tests 2014-04-17 15:37:24 -04:00
Marco Pivetta
abb4671bfc Removing usage of memcache cache in tests (HHVM gets stuck on them on local setups) 2014-04-17 15:37:23 -04:00
Marco Pivetta
e263426cdf Removing eager assertion on error suppression when generating schema via tools 2014-04-17 15:37:23 -04:00
Guilherme Blanco
6af3236ba6 Merge pull request #1012 from FabioBatSilva/DDC-3078-slc-cache-interface-ctor-removal
Ddc 3078 slc cache interface ctor removal
2014-04-17 15:34:36 -04:00
Guilherme Blanco
be1cc14a9c DDC-2890 Fixed pagination with association order by. 2014-04-17 19:29:18 +00:00
fabios
1dc3396ad4 DDC-3078 - Use CacheFactory instead of cache instantiator 2014-04-17 15:20:31 -04:00
Marco Pivetta
d57d4b71f9 DDC-3078 - default cache instantiator class name was misstyped 2014-04-17 15:16:59 -04:00
Marco Pivetta
df6a411365 DDC-3078 - cache instantiator is used in the ORM instead of callables 2014-04-17 15:16:59 -04:00
Marco Pivetta
4b388b2ce8 DDC-3078 - coverage for the default cache instantiator 2014-04-17 15:16:58 -04:00
Marco Pivetta
cd0f94dd6c DDC-3078 - removing tests for cache class setter/getter on cache configuration 2014-04-17 15:16:57 -04:00
Marco Pivetta
68f489ecbb DDC-3078 - cache configuration tests for the newly introduced API for cache instantiators 2014-04-17 15:16:56 -04:00
Guilherme Blanco
841bdd5ca5 DDC-2827 Added support for AggregateExpressions in NullComparisonExpression. 2014-04-17 04:39:26 +00:00