1
0
mirror of synced 2025-01-19 23:11:41 +03:00

353 Commits

Author SHA1 Message Date
Ryan Weaver
75bb3a0de3 Small code change thanks to the comments and adding a test 2015-02-04 13:49:51 -05:00
Marco Pivetta
17a23ea825 Merge pull request #1222 from guiwoda/embeddables-in-metadata-builder
Embeddables in metadata builder
2015-01-28 22:25:10 +00:00
Marco Pivetta
28e0da4321 #1272 DDC-2704 - reverting classmetadata API changes (moved all to reflection property getter API) 2015-01-24 14:32:23 +01:00
Marco Pivetta
1b0a5e38d9 #1272 DDC-2704 - specification for a property getter utility 2015-01-24 14:28:54 +01:00
Marco Pivetta
30dcece125 DDC-2704 - covering code handling class metadata skipping of static properties 2015-01-24 13:22:16 +01:00
Marco Pivetta
bd667b82d9 DDC-2704 - carefully checking defined classes in getAllReflectionProperties 2015-01-24 13:22:16 +01:00
Marco Pivetta
1e6c071bb8 DDC-2704 - trying to get all reflection properties from a partially initialized class metadata instance will result in a failure 2015-01-24 13:22:15 +01:00
Marco Pivetta
4e08c99b86 DDC-2704 - trying to get all reflection properties from an unitialized class metadata instance will result in a failure 2015-01-24 13:22:15 +01:00
Marco Pivetta
369a9934a5 #1252 DDC-3496 - moving stub naming strategy to tests directory 2015-01-18 00:07:54 +01:00
Marco Pivetta
29007e7d79 #1252 DDC-3496 - minor test cleanups (avoiding private static method) 2015-01-18 00:03:49 +01:00
Jack Sleight
04d8f66b72 Tests for new class based join column NamingStrategy 2015-01-17 23:57:52 +01:00
Marco Pivetta
7e4dab17ec #1133 DDC-3305 - test case with embeddable without referenced embeddable class 2015-01-16 19:45:16 +01:00
Marco Pivetta
f799986be1 Reverting BC break in AbstractIdGenerator signature 2015-01-16 18:52:58 +01:00
Marco Pivetta
dd8db1acd2 DDC-3427 - s/EntityManager/EntityManagerInterface in relevant tests about identifier generation 2015-01-16 14:22:03 +01:00
Marco Pivetta
9024c04c72 Removing conditionals checking for PHP 5.4 support 2015-01-14 20:14:39 +01:00
Marco Pivetta
7164e28138 #881 DDC-2825 - renaming table/schema name for clarity and to avoid collisions 2015-01-14 19:16:42 +01:00
Marco Pivetta
04467218a3 #881 DDC-2825 - providing YAML mappings for explicit schema definition 2015-01-14 18:05:58 +01:00
Marco Pivetta
7911beaf1c #881 DDC-2825 - providing YAML mappings for implicit schema definition 2015-01-14 18:05:38 +01:00
Marco Pivetta
0fd51cf852 #881 DDC-2825 - providing PHP mappings for implicit schema definition 2015-01-14 17:53:01 +01:00
Marco Pivetta
d96cd1b690 #881 DDC-2825 - providing PHP mappings for explicit schema definition 2015-01-14 17:52:51 +01:00
Marco Pivetta
53845b79e1 #881 DDC-2825 - providing XML mappings for implicit schema definition 2015-01-14 17:34:44 +01:00
Marco Pivetta
941bfca68c #881 DDC-2825 - providing XML mappings for explicit schema definition 2015-01-14 17:27:53 +01:00
Marco Pivetta
617fd6cfdc #881 DDC-2825 - moving YAML and XML mapping tests to base mapping driver tests. Excluding Static PHP mapping tests 2015-01-14 16:59:01 +01:00
Marco Pivetta
cf641cd0a3 #881 DDC-2825 - testing annotation driver with table name defining schema name as part of the name 2015-01-14 16:47:05 +01:00
Marco Pivetta
c6d839869b #881 DDC-2825 - annotation mapping tests for explicitly defined schema name on mappings 2015-01-14 16:30:20 +01:00
Marco Pivetta
6debf2c909 #385 #1181 DDC-3385 - aligning tests to new OnClassMetadataNotFoundEventArgs API 2015-01-13 20:56:40 +01:00
Marco Pivetta
94a2036d50 #385 #1181 DDC-3385 - adding @group annotation to newly introduced tests 2015-01-13 20:37:28 +01:00
Marco Pivetta
efd4500e6b ClassMetadataFactory should support fallback (event-based) logic for hooking into failed ClassMetadata loading 2015-01-13 19:50:15 +01:00
Marco Pivetta
6fdb100793 #1238 DDC-3293 DDC-3477 - exploding tests with set use-column-prefix="true" and use-column-prefix="false" xml mappings 2015-01-08 13:33:38 +01:00
Marco Pivetta
43db4a4182 #1238 DDC-3293 DDC-3477 - adding @group annotations for newly introduced tests 2015-01-08 13:28:11 +01:00
Andrey Knupp Vital
bacadbf366 Adding tests for the attribute use-column-prefix 2015-01-08 00:11:34 -02:00
Guido Contreras Woda
8fd28fcd8f Added embedded and embeddables to ClassMetadataBuilder 2014-12-16 22:30:28 -03:00
Marco Pivetta
55bcc193ae #1213 - DDC-3437 - removing redundant test method 2014-12-08 01:19:15 +01:00
Marco Pivetta
af0be57538 #1213 - DDC-3437 - integrating new tests into the pre-existing data-provider 2014-12-08 01:18:36 +01:00
Marco Pivetta
d259ba91b3 #1213 - DDC-3437 - refactoring tests to support embeddable class name != embeddable class property declaring class 2014-12-08 01:17:25 +01:00
Austin Morris
d48546d2dd fix instantiation of embedded object in ReflectionEmbeddedProperty 2014-12-08 01:06:11 +01:00
Guilherme Blanco
0059e01936 Merge pull request #1208 from Ocramius/hotfix/DDC-3427-class-metadata-factory-should-accept-entitymanagerinterface-instances
DDC-3427 - class metadata factory should accept `EntityManagerInterface` instances
2014-12-05 12:22:23 -05:00
Marco Pivetta
d20e018081 DDC-3427 - Adding a test to verify that the ClassMetadataFactory supports setting an EntityManagerInterface instance 2014-12-05 13:38:45 +01:00
Marco Pivetta
dcf824688a Verifying that reflection properties that don't contain an embeddable will not crash reading properties, but will return null instead 2014-12-05 13:15:15 +01:00
Marco Pivetta
a8b0ac82b4 Adding a data-provider case for a generic model (non-internal class) 2014-12-05 12:57:48 +01:00
Marco Pivetta
ecf028490f Test to verify that Doctrine\ORM\Mapping\ReflectionEmbeddedProperty is able to interact with internal PHP classes 2014-12-05 12:56:34 +01:00
Marco Pivetta
b3fe0904eb #1196 DDC-3418 DDC-3419 - Minor CS fixes, explicit setExpectedException calls 2014-11-27 19:10:45 +01:00
Marco Pivetta
71135972c6 #1196 DDC-3418 DDC-3419 - Renamed _factory to cmf 2014-11-27 19:08:10 +01:00
Marco Pivetta
291b68634e #1196 DDC-3418 DDC-3419 - Adding missing docblock for test private property 2014-11-27 19:07:16 +01:00
Marco Pivetta
34d2af8a77 #1196 DDC-3418 DDC-3419 - assertArrayHasKey() instead of assertTrue(isset(...)) 2014-11-27 19:06:42 +01:00
Marco Pivetta
084ce7ecc0 #1196 DDC-3418 DDC-3419 - reducing test assets annotations spacing for readability 2014-11-27 18:57:49 +01:00
Dustin Thomson
17ec1aab77 Modified class metadata factory to have entity tables inherit indexes from mapped superclasses 2014-11-27 18:41:33 +01:00
Marco Pivetta
76e1a469ef Merge pull request #1027 from PowerKiKi/feature-partial-indexes
Support for Partial Indexes for PostgreSql and Sqlite
2014-11-05 13:19:29 +01:00
Guilherme Blanco
4b504c9436 Merge pull request #1109 from doctrine/hotfix/DDC-3120-php-5.6-RC3-compat
DDC-3120 - PHP 5.6-RC3 compatibility
2014-08-27 12:27:05 -04:00
Marco Pivetta
f8a8437c95 DDC-3120 - need to wakeup reflection BEFORE using any ClassMetadata API 2014-08-14 15:51:17 +02:00