1
0
Fork 0
mirror of synced 2025-03-29 03:09:50 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Functional
Marco Pivetta 5d12593e70 Rewrote ManyToOne SLC tests to not rely on multi-level auto-generated identifiers
Background:

Test relied on an `A->B->C` association:

 * `A#id` being `B`
 * `B#id` being `C`
 * `C#id` being an auto-generated identifier (post-insert)

This cannot work, because it breaks the UnitOfWork's identity map.
Specifically, no entries for `A` and `B` can exist in the identity map until `C` entries
are persisted (post-insert).

That means that the identifier generator for `A` and `B` should not be an "assigned"
generator, but should instead be a post-insert generator waiting for other entities
to be persisted.

We cannot fix this in ORM 2.x, but we'll need to invent something for 3.x in order to
fix that (directed graph, or caching the order of operations in the metadata graph).
2016-07-07 21:29:10 +02:00
..
Locking Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
SchemaTool Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
Ticket #5867 @group annotations, describing scenario 2016-06-19 12:44:19 +02:00
ValueConversionType Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
AbstractManyToManyAssociationTestCase.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
AdvancedAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
AdvancedDqlQueryTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
BasicFunctionalTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
CascadeRemoveOrderTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ClassTableInheritanceTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ClassTableInheritanceTest2.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ClearEventTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
CompositePrimaryKeyTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
CompositePrimaryKeyWithAssociationsTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
CustomFunctionsTest.php Ability to define custom functions with callback + tests 2014-05-15 12:06:21 +02:00
CustomIdObjectTypeTest.php #1336 DDC-3622 - removing implicit cast from string to CustomIdObject in entity API (confusing) 2015-03-17 21:29:30 +00:00
DatabaseDriverTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
DatabaseDriverTestCase.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
DefaultValuesTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
DetachedEntityTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
EntityListenersTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
EntityRepositoryCriteriaTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
EntityRepositoryTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
ExtraLazyCollectionTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
FlushEventTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
HydrationCacheTest.php Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
IdentityMapTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
IndexByAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
JoinedTableCompositeKeyTest.php Second level cache 2013-12-16 11:05:04 -05:00
LifecycleCallbackTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ManyToManyBasicAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ManyToManyBidirectionalAssociationTest.php Removed all useless occurrence of require_once TestInit.php 2014-04-07 14:43:25 +02:00
ManyToManyEventTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ManyToManySelfReferentialAssociationTest.php Removed all useless occurrence of require_once TestInit.php 2014-04-07 14:43:25 +02:00
ManyToManyUnidirectionalAssociationTest.php Removed all useless occurrence of require_once TestInit.php 2014-04-07 14:43:25 +02:00
MappedSuperclassTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
MergeCompositeToOneKeyTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
MergeProxiesTest.php removed useless line breaks 2015-09-03 17:55:14 +09:00
MergeSharedEntitiesTest.php DDC-2704 - more explicit value checking 2015-01-24 13:22:16 +01:00
MergeVersionedManyToOneTest.php Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
NativeQueryTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
NewOperatorTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
NotifyPolicyTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToManyBidirectionalAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToManyOrphanRemovalTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToManySelfReferentialAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToManyUnidirectionalAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToOneBidirectionalAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToOneEagerLoadingTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToOneOrphanRemovalTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToOneSelfReferentialAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OneToOneSingleTableInheritanceTest.php Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
OneToOneUnidirectionalAssociationTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OrderedCollectionTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
OrderedJoinedTableInheritanceCollectionTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
PaginationTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
PersistentCollectionCriteriaTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
PersistentCollectionTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
PersistentObjectTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
PostFlushEventTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
PostLoadEventTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
ProxiesLikeEntitiesTest.php Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
QueryCacheTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
QueryDqlFunctionTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
QueryTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
ReadOnlyTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ReferenceProxyTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ResultCacheTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
SchemaValidatorTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
SecondLevelCacheAbstractTest.php Fix one to one inverse side cached entity association key generation 2015-11-13 15:58:52 +00:00
SecondLevelCacheCompositePrimaryKeyTest.php Fix CS and update docs 2013-12-16 11:05:04 -05:00
SecondLevelCacheCompositePrimaryKeyWithAssociationsTest.php Tested second level cache with composite primary keys 2015-02-16 00:53:46 +00:00
SecondLevelCacheConcurrentTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
SecondLevelCacheCriteriaTest.php Fix tests by forcing collection initialization 2014-05-15 18:37:41 +02:00
SecondLevelCacheExtraLazyCollectionTest.php Fix CS and update docs 2013-12-16 11:05:04 -05:00
SecondLevelCacheJoinTableInheritanceTest.php Fix CS and update docs 2013-12-16 11:05:04 -05:00
SecondLevelCacheManyToManyTest.php Typo fix on many-to-many assocaition cascade test 2014-02-12 08:18:34 +01:00
SecondLevelCacheManyToOneTest.php Rewrote ManyToOne SLC tests to not rely on multi-level auto-generated identifiers 2016-07-07 21:29:10 +02:00
SecondLevelCacheOneToManyTest.php Fixed support for inverse side second level cache 2015-11-12 05:00:08 +00:00
SecondLevelCacheOneToOneTest.php Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
SecondLevelCacheQueryCacheTest.php #5854 - Fix SLC queries with multiple nested DQL aliases 2016-06-17 00:11:18 -04:00
SecondLevelCacheRepositoryTest.php Fix persister query cache invalidation 2013-12-16 11:05:04 -05:00
SecondLevelCacheSingleTableInheritanceTest.php Fix non initialized association proxy 2013-12-20 10:39:03 -05:00
SecondLevelCacheTest.php #1169 DDC-3343 - when a deletion fails for some reason, related cache entries should be evicted to avoid collisions with DB state 2015-01-27 09:03:36 +01:00
SequenceEmulatedIdentityStrategyTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
SequenceGeneratorTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
SingleTableCompositeKeyTest.php Second level cache 2013-12-16 11:05:04 -05:00
SingleTableInheritanceTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
SQLFilterTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
StandardEntityPersisterTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
TypeTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
TypeValueSqlTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
UnitOfWorkLifecycleTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
UUIDGeneratorTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
ValueObjectsTest.php Make test suite compatible with PHPUnit 5.4. 2016-06-18 13:01:59 +02:00
VersionedOneToOneTest.php Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00