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

9221 Commits

Author SHA1 Message Date
Marco Pivetta
80ce601eae #881 DDC-2825 - refactoring test logic to use data-provider instead of code repetitions 2015-01-14 19:02:44 +01:00
Marco Pivetta
f874189456 #881 DDC-2825 - refactoring tests for clarity/readability and ease of use 2015-01-14 18:56:37 +01:00
Marco Pivetta
9d6890e6ca #881 DDC-2825 - expectations are the first parameter in an assertion 2015-01-14 18:50:17 +01:00
Marco Pivetta
67788d89b5 #881 DDC-2825 - simplifying/extracting test logic: moved verifying metadata into separate test method 2015-01-14 18:47:17 +01:00
Marco Pivetta
0a91b83e27 #881 DDC-2825 - exploding test case into smaller units 2015-01-14 18:34:58 +01:00
Marco Pivetta
6f85ca3356 #881 DDC-2825 - exploding test case into smaller units 2015-01-14 18:31:11 +01:00
Marco Pivetta
3ba9689448 #881 DDC-2825 - aligning assignments 2015-01-14 18:19:22 +01:00
Marco Pivetta
f0102a69f9 #881 DDC-2825 - refactoring mapping driver to use ClassMetadata#setPrimaryTable() instead of duplicating explode() logic 2015-01-14 18:12:12 +01:00
Marco Pivetta
eefa3b2e53 #881 DDC-2825 - correcting YAML driver implementation (wasn't using extracted schema) 2015-01-14 18:06:29 +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
51bf82b7e7 #881 DDC-2825 - correcting PHP mapping behavior when using implicit schema in table name 2015-01-14 17:54:00 +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
3820fa57d3 #881 DDC-2825 - XML mappings should handle explicitly defined schema name 2015-01-14 17:33:17 +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
8b2b54c033 #881 DDC-2825 - typo fix (causing test failure) 2015-01-14 16:32:02 +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
Michaël Perrin
0dbc6a12ee Update mapping documentation for schema support
Updated documentation:

* Annotations
* XML
* Yaml
* PHP
2015-01-14 15:48:49 +01:00
Michaël Perrin
54b3c0548d Fix persistence exception on a table with a schema on a platform without schema support 2015-01-14 15:48:49 +01:00
Marco Pivetta
c571f6f6a9 Correctly dealing with emulated cascades in ExtraLazyCollectionTest 2015-01-14 14:36:01 +01:00
Steve Müller
00a8265fb9 Merge pull request #1181 from Ocramius/feature/#385-support-fetching-entities-by-aliased-name
Support fetching entities by aliased name
2015-01-14 13:54:33 +01:00
Marco Pivetta
ba5378fecc #385 #1181 DDC-3385 - fixing Events docblocks as per @deeky666's review 2015-01-13 21:15:34 +01:00
Marco Pivetta
ae8ab0812e #385 #1181 DDC-3385 - fixing OnClassMetadataNotFoundEventArgs docblocks as per @deeky666's review 2015-01-13 21:14:32 +01:00
Marco Pivetta
d712ad97a5 #385 #1181 DDC-3385 - test coverage for OnClassMetadataNotFoundEventArgs impl 2015-01-13 21:04:50 +01:00
Marco Pivetta
662b49608c #385 #1181 DDC-3385 - aligning tests and implementation to new OnClassMetadataNotFoundEventArgs API 2015-01-13 20:56:57 +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
762e798d22 #385 #1181 DDC-3385 - extending OnClassMetadataNotFoundEventArgs from ManagerEventArgs instead of generic EventArgs 2015-01-13 20:56:21 +01:00
Marco Pivetta
6021e3a1b8 #385 #1181 DDC-3385 - Updating docblock of OnClassMetadataNotFoundEventArgs 2015-01-13 20:49:08 +01:00
Marco Pivetta
06f256b410 #385 #1181 DDC-3385 - documenting onClassMetadataNotFound event 2015-01-13 20:45:00 +01:00
Marco Pivetta
f14063def5 #385 #1181 DDC-3385 - splitting test case to verify interface-first fetching of metadata (via fallback logic) 2015-01-13 20:38:01 +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
eaa9187dd8 #385 #1181 DDC-3385 - minor CS fix (spacing) 2015-01-13 20:33:30 +01:00
Marco Pivetta
8ea394e778 #385 #1181 DDC-3385 - removing @todo that was discussed/cleared 2015-01-13 20:33:10 +01:00
Marco Pivetta
a710706c81 #385 #1181 DDC-3385 - optimized imports, removing duplicate imports (caused by rebase conflicts) 2015-01-13 20:00:40 +01:00
Marco Pivetta
ce4df761df Explicitly requiring doctrine/common with at least version 2.5 2015-01-13 19:51:35 +01:00
Marco Pivetta
e4cbdb57ad Enabling fallback logic in metadata loading 2015-01-13 19:50:55 +01:00
Marco Pivetta
d91b0b4938 Minor CS fixes in the ResolveTargetEntityListener 2015-01-13 19:50:17 +01:00
Marco Pivetta
f5eb20b63d OnClassMetadataNotFoundEventArgs should support setting the actually resolved ClassMetadata as a mutable event result vector 2015-01-13 19:50:17 +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
Bart van den Burg
d66356542d added use statement 2015-01-13 19:49:58 +01:00
Bart van den Burg
3be43a1def Rebased and renamed PreLoadClassMetadata to OnClassMetadataNotFound 2015-01-13 19:49:57 +01:00
Bart van den Burg
437f812718 Added new event to allow actions to be done before trying to load class metadata 2015-01-13 19:49:57 +01:00
Bart van den Burg
19c52e4ae1 added failing test 2015-01-13 19:49:57 +01:00
Bart van den Burg
51528fbdea set metadata for interface to be able to fetch entites by interface name 2015-01-13 19:49:57 +01:00
Marco Pivetta
9c3cb57931 Merge branch 'optimize-persisters'
Close #1246
2015-01-13 15:05:45 +01:00
Marco Pivetta
35dd7f8e2b #1246 DDC-3487 - docblock args fixes 2015-01-13 15:03:04 +01:00