1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Functional
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
..
Locking Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
SchemaTool Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Ticket Merge branch 'master' of github.com:doctrine/doctrine2 2011-07-12 22:47:33 +02:00
AbstractManyToManyAssociationTestCase.php [2.0] Changed Connection::execute() to Connection::executeQuery() as defined as a todo. 2010-03-31 21:13:34 +00:00
AdvancedAssociationTest.php [2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings. 2009-11-08 11:07:49 +00:00
AdvancedDqlQueryTest.php [DDC-619] Removed support to complex PathExpressions. 2010-07-23 01:55:33 -03:00
BasicFunctionalTest.php DDC-1230 - Fix bug where UnitOfWork does not set STATE_REMOVE when calling EntityManager#remove() on an entity 2011-06-28 21:37:53 +02:00
ClassTableInheritanceTest2.php [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
ClassTableInheritanceTest.php [DDC-992] Fix criteria usage of column names clashing with field or associations by prefixing with table names or alias. 2011-03-20 17:07:19 +01:00
ClearEventTest.php Clean up of test case 2011-03-21 23:30:10 -04:00
CompositePrimaryKeyTest.php [2.0] DDC-341 - Added Composite Model-Set and 3 tests, fixed two bugs in SqlWalker with Composite Key support 2010-04-02 21:37:15 +00:00
CustomTreeWalkersTest.php [DDC-619] Removed support to complex PathExpressions. 2010-07-23 01:55:33 -03:00
DatabaseDriverTest.php [DDC-1132] Fix many to many table detection. 2011-04-30 11:15:45 +02:00
DefaultValuesTest.php Fixed pecl/ibm_db2 Driver and Connection to run smoothly against the complete test-suite (depending on a c-patch to the extension though) 2010-04-20 23:20:42 +02:00
DetachedEntityTest.php Fixed some warnings from phpunit. 2011-02-19 19:50:58 -02:00
EntityRepositoryTest.php [DDC-1094] Add support for limit, offset and orderby in EntityRepository::findBy(). 2011-04-30 23:18:24 +02:00
ExtraLazyCollectionTest.php [DDC-952] Make collection loading work with hydrators also. 2011-03-13 00:15:50 +01:00
FlushEventTest.php [2.0][DDC-274] Moved Sql to SQL loggers. Also implemented some todos. 2010-03-31 20:47:35 +00:00
IdentityMapTest.php [2.0][DDC-136] Some fixes to internal UnitOfWork logic. 2009-11-11 16:20:29 +00:00
IndexByAssociationTest.php [DDC-250] Add tests and fix some glitches and finalized index-by patch. 2011-02-05 11:42:10 +01:00
LifecycleCallbackTest.php DDC-958 - Fire postLoad event when calling refresh(). 2011-01-23 17:26:11 +01:00
ManyToManyBasicAssociationTest.php DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading 2011-06-19 09:39:34 +02:00
ManyToManyBidirectionalAssociationTest.php [2.0][DDC-274] Moved Sql to SQL loggers. Also implemented some todos. 2010-03-31 20:47:35 +00:00
ManyToManySelfReferentialAssociationTest.php Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
ManyToManyUnidirectionalAssociationTest.php Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
MappedSuperclassTest.php Fixed Mappedsuperclass Functional Test to work with new modelset and verify that relevant features work 2010-09-22 00:15:45 +02:00
NativeQueryTest.php [PR-39] Throw exception when hydrating joined entity without existing parent alias (NativeQuery problem only) 2011-05-01 00:17:40 +02:00
NotifyPolicyTest.php [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00
OneToManyBidirectionalAssociationTest.php [2.0] Changed Connection::execute() to Connection::executeQuery() as defined as a todo. 2010-03-31 21:13:34 +00:00
OneToManySelfReferentialAssociationTest.php Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
OneToManyUnidirectionalAssociationTest.php [2.0] DDC-289 / DDC-264 - Added a Model and TestCase for OneToMany Unidirectional Assocations using a JoinTable and tested its defining feature (uniqueness). 2010-01-31 14:35:10 +00:00
OneToOneBidirectionalAssociationTest.php Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
OneToOneEagerLoadingTest.php DDC-952 - Fix bug in inverse one-to-one eager loading sql code. 2011-03-12 19:11:37 +01:00
OneToOneSelfReferentialAssociationTest.php 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
OneToOneUnidirectionalAssociationTest.php DDC-762 - Added test for NULL association finding in OneToOne relations 2010-08-29 11:19:23 +02:00
OrderedCollectionTest.php [2.0] DDC-338 - Changed DQL Parser to comply with ordered collections when they are fetch joined (OMG, thanks to roman and guilherme for the detailed discussion on how to implement this) 2010-02-21 00:06:34 +00:00
OrderedJoinedTableInheritanceCollectionTest.php [2.0] DDC-195 - Refactored Mapping Syntax again to be arrays in all annotations, xml and yaml drivers instead of parsing the fields in the AssociationMapping implementations. 2010-02-26 21:26:06 +00:00
PostgreSQLIdentityStrategyTest.php Included new PostgreSQL IDENTITY/SERIAL test in functional suite. 2010-05-08 14:20:44 +02:00
QueryCacheTest.php DDC-510 - Refactored Metadata Driver to be an required option, even for Annotations - allowing to use the specified paths in ORM Tooling Commands 2010-04-10 17:35:18 +02:00
QueryDqlFunctionTest.php Fix some of the problems with Oracle testsuite 2011-06-26 17:20:03 +02:00
QueryTest.php [DDC-1122] Added coverage for bug report. 2011-05-13 00:12:05 -03:00
ReadOnlyTest.php [DDC-692] Add respective metadata mapping possiblities for read-only entities and a test. 2011-03-29 20:17:44 +02:00
ReferenceProxyTest.php DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork 2011-07-09 12:12:44 +02:00
ResultCacheTest.php DDC-1026 - Fix Result Cache Seperate chaining implementation that was wrong since DDC-892 was applied. 2011-02-26 00:39:54 +01:00
SequenceGeneratorTest.php [2.0] DDC-390 Fix SequenceGeneratorTest which wasnt testing anything before :-) Now showing that Sequence Generator works with allocation sizes larger than 1 2010-03-20 17:04:46 +00:00
SingleTableInheritanceTest.php [DDC-952] One last commit with some refactorings, additional comments and two new tests. Also added convenience method Query::setFetchMode($className, $assocName) 2011-03-16 22:51:32 +01:00
SQLFilterTest.php [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
StandardEntityPersisterTest.php [DDC-952] [DDC-1050] Use ObjectHydrator inside Persisters, removing a bunch of duplicate code (step1, more necessary) 2011-03-06 21:26:54 +01:00
TypeTest.php Fixed phpunit tests which was failing due to a duplicate use declaration. 2011-06-21 12:38:08 -03:00