1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/tests/Doctrine/Tests
Alexander 2653d735e2 [DDC-551] Added state of the complete filter collection to the EM
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.

In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.

This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +02:00
..
Mocks Make ORM forward compatible with new Doctrine Annotations library version 2.1 2011-05-25 00:26:20 +02:00
Models DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios 2011-07-09 22:11:49 +02:00
ORM [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
DbalFunctionalTestCase.php Added a bunch of functional tests for the public read, write and transactional public DBAL API, passing all the current drivers 2010-05-15 19:54:56 +02:00
DbalTestCase.php Enabling namespaces. Final restructurings. 2009-01-22 19:38:10 +00:00
DoctrineTestCase.php [2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update. 2009-10-31 22:23:36 +00:00
OrmFunctionalTestCase.php DDC-1258 - Add Debug UnitOfWork Listener 2011-07-08 14:27:59 +02:00
OrmPerformanceTestCase.php [2.0] Adding insert performance tests. 2009-05-19 16:11:08 +00:00
OrmTestCase.php Make ORM forward compatible with new Doctrine Annotations library version 2.1 2011-05-25 00:26:20 +02:00
TestInit.php Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist 2011-06-18 22:47:21 +02:00
TestUtil.php Fix some of the problems with Oracle testsuite 2011-06-26 17:20:03 +02:00