1
0
mirror of synced 2024-12-13 14:56:01 +03:00
Commit Graph

1335 Commits

Author SHA1 Message Date
romanb
2ffc7f17db [2.0] Migrated AnnotationDriver to new annotation parser. Removed addendum vendor library. 2009-07-08 15:25:41 +00:00
piccoloprincipe
08f84793da fixed parameter type hinting 2009-07-08 08:43:50 +00:00
piccoloprincipe
41df51a6e9 added tests for various WHERE clauses 2009-07-08 08:08:27 +00:00
piccoloprincipe
f11e39cc5a renamed and separated test methods to conform to agile documentation (addresses #2316) 2009-07-08 07:48:44 +00:00
piccoloprincipe
32363a200d divided some assertions in various cohesive methods and renamed method names to conform to agile documentation (affects #2316) 2009-07-07 12:00:22 +00:00
romanb
0515d9abb7 [2.0] New Annotation API work: Simplifications, changed namespace separator to match the one of PHP, adjusted Lexer to swallow any * characters outside of a string value to be more forgiving when it comes to formatting. 2009-07-07 11:25:58 +00:00
romanb
9075f10bf5 [2.0] Moved cache drivers to Common package. Added new annotation parser implementation to Common package. AnnotationDriver in ORM not yet migrated. 2009-07-06 20:34:54 +00:00
piccoloprincipe
4910309674 added one-one self referential functional tests (closes #2276) 2009-07-06 12:42:14 +00:00
piccoloprincipe
ff115efbac added many-many self referential functional tests (affects #2276) 2009-07-06 12:18:04 +00:00
romanb
f064de2af1 [2.0] Fixed issue with self-referential one-to-many associations not being persisted correctly when IDENTITY key generation was used. Included now passing OneToManySelfReferentialTest. 2009-07-03 17:36:41 +00:00
piccoloprincipe
4e70e5d80a [2.0] added one-many self referential association test (addresses #2276) 2009-07-02 14:36:47 +00:00
romanb
31892fb4a8 [2.0] Fixed cascading issue (#2307). Fixed many-many object hydration issue. 2009-07-02 11:48:44 +00:00
piccoloprincipe
3f4cd46b96 [2.0] simplified removing code 2009-07-02 09:44:06 +00:00
piccoloprincipe
1b9b6c68e0 [2.0] added many-to-many uni and bi directional tests (affects #2276) 2009-07-02 09:37:59 +00:00
piccoloprincipe
2c508102c4 [2.0] addresses #2307 2009-07-02 07:47:57 +00:00
piccoloprincipe
0f2499f93b [2.0] added Collection object creation 2009-07-02 07:47:24 +00:00
romanb
76661cd987 [2.0] Added missing property. 2009-07-01 13:50:26 +00:00
romanb
5b67754595 [2.0] Simplifying code. Including OneToManyBidirectionalAssociation test in AllTests 2009-07-01 13:45:31 +00:00
piccoloprincipe
1e0589928a [2.0] added new bidirectional one-many association test (affects #2276) 2009-07-01 13:11:45 +00:00
romanb
01147039d4 [2.0] Simplifying code. 2009-07-01 13:08:24 +00:00
piccoloprincipe
8ccb7df1bb [2.0] added new unidirectional one-one association test 2009-07-01 12:03:41 +00:00
piccoloprincipe
b592e44cf6 [2.0] fixed case sensitive filenames to respect the class name 2009-07-01 12:00:16 +00:00
romanb
f1885cb76b [2.0] adjustments to new bidirectional one-one association test from Giorgio Sironi. 2009-07-01 10:04:22 +00:00
piccoloprincipe
4e50792a8d [2.0] references #2276 2009-07-01 09:18:08 +00:00
romanb
6729ed28e7 [2.0] Implemented DQL bulk UPDATE support for Class Table Inheritance. Corrections to MultiTableDeleteExecutor and SqlWalker. DQL bulk UPDATE support not yet fully complete. 2009-06-23 17:50:13 +00:00
romanb
537c8e4951 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance. Other cleanups, refactorings and docblock additions. 2009-06-22 18:48:42 +00:00
jwage
61555c78d2 [2.0] Cleanup 2009-06-20 17:02:02 +00:00
jwage
78d43097ca [2.0] Testing all dbal types and making sure they are fully implemented 2009-06-20 15:09:59 +00:00
jwage
ab2b3999c0 [2.0] Adding date and time types. Fixing CURRENT_DATE, CURRENT_TIMESTAMP and CURRENT_TIME functions 2009-06-20 14:24:21 +00:00
jwage
ada2c5c5a7 [2.0] Work on datetime dbal type and date portability 2009-06-20 12:59:33 +00:00
romanb
f28127664c [2.0] Cleanups, build fixes. 2009-06-15 18:25:47 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
romanb
6e5a5068a6 [2.0] Converted constant values from strings to integers. 2009-06-07 17:20:37 +00:00
jwage
115e4d01f2 [2.0] Refactoring the meta data drivers and refactoring yaml/xml and adding tests for yaml. 2009-06-05 21:40:47 +00:00
piccoloprincipe
bdd2241fb5 set svn:eol-style property on plain text files 2009-06-02 18:05:26 +00:00
romanb
9837cd79ff [2.0] Fixed formatting. 2009-06-01 16:15:49 +00:00
romanb
d90e71d002 [2.0] First implementation of XmlDriver + tests. First draft of XSD document. 2009-06-01 16:14:11 +00:00
romanb
de7dfb4fcb [2.0] Cleaned up TestInit include path. 2009-05-31 11:51:36 +00:00
romanb
548e07467e [2.0] Solved the hassle with dropping/creating the test database through introducing a second test database for temporary connections. Please check the dbproperties.xml.dev file for reference. The 2 test databases need to be created *once* before the very first time of running the tests. New procedure successfully tested against mysql, postgresql, oracle. 2009-05-30 13:57:57 +00:00
romanb
a333c85c6b [2.0] Small cleanups 2009-05-30 12:08:15 +00:00
romanb
8de151d8ea [2.0] Small cleanups 2009-05-30 11:33:06 +00:00
romanb
2a9886af48 [2.0] Fixed connection sharing when Functional DBAL or ORM tests are run standalone. 2009-05-30 10:30:05 +00:00
romanb
acec85a412 [2.0] Fixed hardcoded database name. 2009-05-30 10:16:54 +00:00
romanb
0b09e50148 [2.0] Adjusted getConnection since there is no need to create/drop the database for sqlite in-memory. 2009-05-30 09:53:36 +00:00
romanb
2b8091e80c [2.0] Code review with comments and small corrections. 2009-05-30 09:37:56 +00:00
jwage
47ffde10c8 [2.0] Fixing getConnection() to use the new dropAndCreateDatabase() 2009-05-30 06:22:18 +00:00
jwage
d34a05a257 [2.0] Oracle SchemaManager tests and general refactoring of tests 2009-05-30 02:27:50 +00:00
romanb
f3677a5714 [2.0] Changed identifier quoting strategy to something simpler. Dropped Doctrine prefix from annotations. 2009-05-29 10:23:13 +00:00
jwage
f994680d54 [2.0] More general work on the Platform and SchemaManager classes(primarily pgsql) 2009-05-28 21:34:35 +00:00
romanb
a4e928e118 [2.0] Moved addendum library to vendor dir. 2009-05-28 21:06:24 +00:00
romanb
a758b56551 [2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType(). 2009-05-28 11:13:12 +00:00
jwage
75e0c1ede7 [2.0] More general work on the SchemaManager and Platform classes. Making API more complete and adding sqlite and mysql test coverage. 2009-05-28 02:04:51 +00:00
jwage
746d9bc38f [2.0] Adding listTableColumns() support for mysql. 2009-05-27 22:14:27 +00:00
jwage
7426baf53e [2.0] General work on Platform and SchemaManager classes 2009-05-27 18:54:40 +00:00
jwage
b951056025 [2.0] Adding initial MsSql platform and tests 2009-05-26 18:14:19 +00:00
romanb
d2405ded5d [2.0] Enhanced one-to-one self-referential association handling. 2009-05-26 15:42:54 +00:00
romanb
b66d530540 [2.0] Class table inheritance updates. Started work on self-referencing associations. 2009-05-26 11:30:07 +00:00
romanb
c9cc9f1373 [2.0] Parser code review with some cleanups and comments to highlight TODOs. 2009-05-24 10:38:37 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
55d70248a9 [2.0] Implemented class table inheritance (no DQL bulk UPDATE/DELETE support yet) 2009-05-21 08:53:40 +00:00
romanb
eb6c6b2d16 [2.0] Some small optimizations. 2009-05-19 16:24:17 +00:00
romanb
4f5b332d34 [2.0] Adding insert performance tests. 2009-05-19 16:11:08 +00:00
romanb
4d13925b1c [2.0] Some hydration and DQL parser work. 2009-05-17 19:27:12 +00:00
romanb
96ef7eca13 [2.0] More small internal perf. improvements. 2009-05-14 18:34:12 +00:00
romanb
eea4391598 [2.0] Started adding performance regression tests. More object hydration performance improvements. 2009-05-14 14:57:08 +00:00
romanb
e79c45f9ac [2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements. 2009-05-14 10:03:09 +00:00
romanb
ecd30bc242 [2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading. 2009-05-13 15:19:27 +00:00
romanb
e0488ff8fc [2.0] First draft of EntityManager#merge(). First draft of DynamicProxyGenerator. 2009-05-11 10:43:27 +00:00
romanb
cfae81e11a [2.0] Fixed hydration for bi-directional many-many associations. 2009-05-07 16:36:27 +00:00
romanb
00c44b7c41 [2.0] Implemented many-to-many SQL join construction, small test included. 2009-05-07 13:54:01 +00:00
romanb
a6d9236ef2 [2.0] Fixes and enhancements to sequence generators. Test suite now runs & passes against postgres. Other minor, unrelated cleanups. 2009-05-05 17:20:55 +00:00
romanb
16c4efccd8 [2.0] DBAL streamlining and starting to increase test coverage. 2009-05-03 18:07:57 +00:00
romanb
80de567817 [2.0] Fixed issue in changeset calculation. 2009-05-03 11:49:48 +00:00
romanb
ae7be288e1 [2.0] Work on single table inheritance with more functional tests. 2009-05-03 10:58:16 +00:00
romanb
5a00a9472c Implemented three change tracking policys. First test for usage of NotifyPropertyChanged. 2009-04-24 21:08:59 +00:00
romanb
ee46dba332 [2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance. 2009-04-12 19:02:12 +00:00
romanb
523c93c2f1 [2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery). 2009-04-09 18:12:48 +00:00
romanb
62204af804 [2.0] Ongoing work on Query/DQL implementation and tests. 2009-04-03 11:06:58 +00:00
romanb
f9a222817c [2.0] Work on ID generators, functional tests and more. 2009-03-30 19:43:05 +00:00
romanb
7479a0cf9b [2.0] Starting to improve functional tests. First basic functional query tests. 2009-03-28 20:59:07 +00:00
romanb
705199e897 [2.0] Parser work. Added support for functions in SelectExpressions. 2009-03-28 17:10:41 +00:00
romanb
ae5d212271 [2.0] Parser work. Added double-dispatch functionality to AST node classes for use in the SqlWalker to reduce big if/else instanceof checks and for better maintainability. Also its less error-prone in the SqlWalker because its harder to miss a conditional case. Added new extensible DQL function implementation. 2009-03-23 17:39:33 +00:00
romanb
618c1281e4 [2.0] Parser work. 2009-03-21 19:58:52 +00:00
romanb
d833ee1464 [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:49:58 +00:00
romanb
c7dbde9f89 [2.0] Parser work. 2009-03-20 21:28:19 +00:00
romanb
89a625021a [2.0] Refactored and reenabled Lexer tests. 2009-03-20 20:53:14 +00:00
romanb
b718cd1a63 [2.0] Parser work. 2009-03-19 12:43:48 +00:00
romanb
bffd76d704 [2.0] Parser work. 2009-03-16 22:12:38 +00:00
romanb
bc379103c3 [2.0] Some more parser work. 2009-03-14 21:19:50 +00:00
romanb
22de495e19 [2.0] Cleaned up old Production/Parser classes. 2009-03-14 09:05:52 +00:00
jwage
405ba00983 [2.0] Committing missing DoctrineExceptionTest 2009-02-28 20:22:12 +00:00
jwage
5582f07b53 [2.0] Intermediate refactoring for new exception handling 2009-02-19 07:00:54 +00:00
romanb
62779913c8 Started to reenable query language recognition tests. 2009-02-18 10:39:51 +00:00
romanb
a38a1f5188 Simplified first platform test. Further platform tests should follow the same scheme. 2009-02-18 10:26:12 +00:00
jwage
68147808f6 [2.0] Cleaning up tests and removing some unused files to remove any confusion 2009-02-18 07:59:11 +00:00
jwage
b8b8f85d2e [2.0] Adding basic tests for AbstractPlatform 2009-02-17 23:27:11 +00:00
jwage
9dfab03ee0 [2.0] Small changes to ClassLoader and add basic unit test for it 2009-02-17 22:30:13 +00:00
jwage
554adc32a4 [2.0] Testing Collection base class and removing some code 2009-02-17 21:18:13 +00:00
romanb
87fd08e427 [2.0] Some fixes for ClassExporterTest. 2009-02-17 12:25:03 +00:00
romanb
32d43c365f Removed 'name' attribute from EntityManager since it's not needed. 2009-02-17 11:02:11 +00:00
romanb
2ef81cf2a9 [2.0] Various small changes and enabling the collection tests. 2009-02-17 10:54:18 +00:00
jwage
4dc5a4baf5 [2.0] Removing unused code and committing a little 2.0 documentation 2009-02-17 02:43:40 +00:00
jwage
f4719b290b [2.0] Adding test for the ClassExporter 2009-02-17 01:55:09 +00:00
jwage
45079a1e98 [2.0] Refactoring ClassExporter to allow the getting of the generated sql as well as executing it 2009-02-17 01:54:11 +00:00
romanb
9dcab5ee63 Small reorganizations, improvements and progress. 2009-02-07 17:02:13 +00:00
romanb
2eb4a16dd4 [2.0] More progress on the UnitOfWork and collections. First basic functional many-many test. 2009-02-06 17:16:39 +00:00
romanb
deb095f2c8 Some cleanups, docblocks, and a small needed refactoring of ClassMetadataFactory. 2009-02-05 17:34:44 +00:00
romanb
efb733d7df [2.0] Refactored cache drivers. Made use of ArrayCache as the metadata cache during a test suite run. 2009-02-04 18:03:05 +00:00
romanb
886c961108 [2.0] Continued work on association mappings and class exporting (DDL generation). Fixed #1863. 2009-02-04 16:35:36 +00:00
romanb
e202cb1ce1 [2.0] Progress on UnitOfWork, persisters and basic functional tests. 2009-02-02 11:55:50 +00:00
romanb
36763dadb6 A little progress on the UnitOfWork. 2009-01-29 17:00:44 +00:00
romanb
0ac97e7adf [2.0] Making use of new constant __DIR__ 2009-01-24 16:56:44 +00:00
romanb
22e94ac594 Enabling namespaces. Final restructurings. 2009-01-22 19:38:10 +00:00
romanb
4ab2ba7dcb [2.0] More progress on the DQL parser. Added glimpse() method for the scanner/lexer that is equivalent to peek() immediately followed by resetPeek(). 2009-01-21 18:25:05 +00:00
romanb
3f60b8b5b5 More DQL parser work. First basic WHERE conditions. Changed scanner according to new positional parameter syntax (?<number>) 2009-01-20 17:07:07 +00:00
romanb
d1cd35d395 Reverted some BNF changes 2009-01-19 19:24:40 +00:00
romanb
602c6d973e DQL Parser work. Getting some first tests back running. Reorganizing all parser rules into the Parser itself. 2009-01-19 18:40:12 +00:00
romanb
dd1afc7e7c hydrator cleanup and 2 new methods for ClassMetadata 2009-01-15 13:30:44 +00:00
guilhermeblanco
f83f5c3c89 [2.0] Code reorganization, preparing for battle.
Fixes Strict error on EntityPersisterMock.
2009-01-14 04:59:35 +00:00
romanb
60fb69dd03 First commit of new extensible hydrator structure. Cleanup to follow. 2009-01-13 21:56:43 +00:00
romanb
34f4ee71fa First tests for basic collection implementation. First experimental use of closures (Currently commented out, because the svn server makes a syntax check against 5.2.x). 2009-01-12 13:34:41 +00:00
romanb
73ad0ac454 more tests and first basic update/delete 2009-01-09 16:25:06 +00:00
romanb
b6e385d243 fixed regression 2009-01-08 11:23:24 +00:00
romanb
d97336373d Finally first, very basic, running CRUD tests for Doctrine 2 2009-01-07 17:46:02 +00:00
romanb
7363fc3ec0 More ClassMetadataFactory tests 2009-01-06 18:30:51 +00:00
romanb
c2ab01bf7e Added first ClassMetadataFactory tests. 2009-01-06 17:22:23 +00:00
romanb
957a6b2c89 added missing annotation driver class. small refactorings. added first ClassMetadata serialization tests. 2009-01-05 20:18:56 +00:00
romanb
bcf0110249 replaced code driver with annotation driver using addendum. 2009-01-05 17:25:56 +00:00
romanb
efaaf83e17 test and collection cleanup 2009-01-04 16:15:32 +00:00
romanb
b9ecb8de4f General work. Now using spl_object_hash. 2009-01-03 19:53:07 +00:00
romanb
2395888feb General work. Now using spl_object_hash. 2009-01-03 19:50:13 +00:00
romanb
6be6f40e84 Splitting DBAL/ORM configuration. 2008-12-18 14:21:21 +00:00
romanb
9971057076 moving towards transparent persistence. 2008-12-18 14:08:11 +00:00
guilhermeblanco
178f3fe5bb [2.0] Moved Doctrine_Query to definite namespace Doctrine_ORM_Query.
Fixed paths that were referring wrong namespace resolution.
Implemented more Parser and AST classes: JoinVariableDeclaration and Join.
Fixed wrong semantical checks of IndexBy grammar rule. They should be in IdentificationVariableDeclaration and JoinVariableDeclaration.
2008-09-23 02:45:02 +00:00
romanb
580f21c41c more cleanups. introducing ClassLoader. 2008-09-13 12:40:17 +00:00
romanb
e2a0e189fa minor refactorings on code and API docs 2008-09-13 10:28:29 +00:00
guilhermeblanco
c8e4e7e7ab Small changes to get Query tests running again.
Fixed wrong DQL in IdentifierRecognitionTest.php
2008-09-13 06:34:47 +00:00
romanb
d4e554fb44 moved classmetadata & co 2008-09-12 17:39:39 +00:00
romanb
c3ad955912 further cleanups 2008-09-12 17:25:38 +00:00
romanb
70c96548fd moved entitymanager and entityrepository 2008-09-12 13:16:05 +00:00
romanb
34c830e309 moved Collection 2008-09-12 12:34:46 +00:00
romanb
b8fb0fd80a moved connectionfactory. removed old adapters. 2008-09-12 12:25:56 +00:00
romanb
aea6a947c8 moved configuration 2008-09-12 10:58:33 +00:00
romanb
b6642e2dce moved event stuff 2008-09-12 10:55:06 +00:00
romanb
18ec38eef7 moved Entity 2008-09-12 10:40:23 +00:00
romanb
9c11c36bb3 moving files to TODO 2008-09-12 10:21:20 +00:00
romanb
d05522258a moved id generators 2008-09-12 10:02:06 +00:00
romanb
43e35d3bfd moved hydration stuff 2008-09-12 09:58:02 +00:00
romanb
169aa63402 moved entitypersisters 2008-09-12 09:44:51 +00:00
romanb
93b2cb0a58 moved entity/entitymanager exceptions 2008-09-12 09:37:05 +00:00
romanb
f1adfe7c2e Moved association mappings. 2008-09-12 09:26:43 +00:00
romanb
700acb259e Moved undecided/unclear items into TODO 2008-09-12 09:18:47 +00:00
romanb
f556ee8c44 moved Null/Type/Platform 2008-09-12 08:59:44 +00:00
guilhermeblanco
ad4db34a87 Fixes in unit tests.
Started refactoring in DQL parser to separate Production into Parser and AST classes.
Finished first tests. Currently only 4 are active in IdentifierRecognitionTest, and only 2 are passing.
2008-09-12 06:09:16 +00:00
romanb
7d48c785f6 cleanup 2008-09-07 13:48:40 +00:00
romanb
305d3b353f some more test models 2008-08-31 18:28:22 +00:00
romanb
b5401ee1c5 checkin of occasional work from the past weeks. 2008-08-31 18:27:16 +00:00
guilhermeblanco
96a40f0098 Some tickets test cases 2008-08-23 16:42:23 +00:00
romanb
73985fe62a added mapping check to onetomany. corrected test models. 2008-08-22 09:37:03 +00:00
romanb
0b80ec0bfd added a little test 2008-08-22 09:25:00 +00:00
romanb
0f8e9e0ba9 refactorings. made basic one-one, one-many joins work. 2008-08-22 09:05:14 +00:00
guilhermeblanco
efca79412d DQL Parser refactorings and enhancements. Finished basic drat of Join support. 2008-08-21 20:45:19 +00:00
romanb
d8b76a54d0 continued refactorings. 2008-08-16 19:40:59 +00:00
romanb
3cd4fc5542 Intermediate checkin. 2008-08-02 17:41:37 +00:00
romanb
e704cd0fd2 Continued refactorings. Started to refactor the DBAL layer. 2008-08-01 18:46:14 +00:00
romanb
a769997450 2008-07-27 19:38:56 +00:00
romanb
d9975c36a3 Checkin of occasional work from the past weeks. 2008-07-20 20:13:24 +00:00
romanb
c43f9588be Cleanups, improvements, fixes. 2008-07-11 10:48:04 +00:00
romanb
3cd7b95424 Refactorings. Merged hydrator fixes from 0.11/1.0 2008-07-10 17:17:58 +00:00
romanb
4d752746fe The usual 2.0 refactoring/implementation commit. 2008-07-04 16:32:19 +00:00
romanb
35fa81dbab Removed static EntityManager lookup from productions. Entity refactorings. 2008-06-16 18:31:21 +00:00
romanb
7206b1dd51 Added getters to AST. Removed Production::__call. Added visitor support to AST. (guilherme: dont shoot me yet :-). visitor support doesnt hurt even if we do not use it for SQL generation). Lots of other things. 2008-06-15 15:56:28 +00:00
romanb
ad2443057e Refactorings and initial commit/draft of new event handling / configuration / bootstrapping. Still need to remove all the static EntityManagerFactory::getManager lookup calls from the Production classes. The production classes need to have access to the EntityManager of the Query that constructed the Parser. It should be injected into the Parser during construction. 2008-06-05 19:01:58 +00:00
guilhermeblanco
d8d761b593 Fixes in ParserResult, which was generating a bad table alias. Added more test cases. Commented new Event system call in EntityManager. Fixes in RangeVariableDeclaration. 2008-06-02 15:00:50 +00:00
romanb
ec5bb2ea3f some minor refactorings. started to make a draft of the new namespaced folder structure. 2008-05-30 12:09:24 +00:00
guilhermeblanco
4ea5c8b0a2 SelectExpression rewrite to support dctrn queryComponent. Fixes in DQL. Added more test cases 2008-05-28 06:01:04 +00:00
guilhermeblanco
dfbc7c1cff Changed Doctrine_Query to accept a Doctrine_EntityManager instead of a Doctrine_Connection. Updated Doctrine_EntityManager. Updated test cases and included one new passing test case for SELECT generation. Fixed whitespace bug in DELETE and UPDATE statements. 2008-05-27 04:52:50 +00:00
guilhermeblanco
bc236c59da Finished first parts of SELECT support. Two test cases added and passing. Introduced the concept of DCTRN in queryComponent. Added concept of queryField, which validates for already defined fields in SELECT. 2008-05-27 03:44:08 +00:00
romanb
07a166201d cleanup 2008-05-25 20:57:56 +00:00
romanb
f9938ea6fd custom/magic accessors + test 2008-05-25 20:57:32 +00:00
guilhermeblanco
089a416689 Added more semantical checks. Fixed some tests. 2008-05-24 22:04:14 +00:00
guilhermeblanco
21e0bd3ded More fixes for tests 2008-05-24 19:37:02 +00:00
romanb
0ad6aee389 Merged DQL parser branch to trunk. 2008-05-24 18:18:37 +00:00
romanb
f8017c9c73 Added two missing classes. 2008-05-24 17:37:26 +00:00
romanb
7b711ae70e refactorings. merged hydration bugfix from 0.11. 2008-05-24 17:10:45 +00:00
romanb
74ce82bd50 Initial HYDRATE_SINGLE_SCALAR implementation & test. 2008-05-18 16:21:55 +00:00
romanb
d0ea5705d0 Initial support for scalar hydration (HYDRATE_SCALAR). EntityPersisters born. 2008-05-17 20:04:56 +00:00
romanb
613d08f9ca Merged dbal bugfixes from 0.11. 2008-05-17 12:22:24 +00:00
romanb
7ffd4140cd Doctrine_Record renamed. Hydration refactored. Other refactorings. 2008-05-13 21:20:34 +00:00
romanb
0dd856784c Continued work on new hydration. 2008-05-08 14:17:35 +00:00
romanb
f92773fa1c Added another hydration test. 2008-05-06 21:03:31 +00:00
romanb
ab65ad5b4d Refactorings. Started with new hydrator for 2.0. 2008-05-06 13:41:22 +00:00
romanb
24872ef65f Merged all identity maps into one in the unitofwork. identity map now properly works with hierarchies. 2008-05-01 09:41:47 +00:00
romanb
0370cedc08 Fixed #966. 2008-04-15 22:19:22 +00:00
romanb
66fb71acdd Started playing with isolated hydration tests. 2008-04-12 21:35:21 +00:00
romanb
33c76f620e refactorings 2008-03-23 11:30:29 +00:00
romanb
82efe45c00 fixed tests 2008-03-17 13:44:18 +00:00
romanb
71ed924213 refactorings 2008-03-17 13:26:34 +00:00
romanb
708ef9f217 fixed testcase 2008-03-05 11:29:54 +00:00
romanb
34cfa2f255 added missing testcase 2008-03-05 11:27:46 +00:00
romanb
c5bc8641cc refactorings, a bug fix (#786) and improved performance for the hydration of results from polymorphic queries. 2008-03-05 11:24:33 +00:00
romanb
c1c3f48960 validator refactorings and others 2008-02-23 22:04:39 +00:00
jwage
514e17ea70 Changed all references from phpdoctrine.com to phpdoctrine.org 2008-02-22 18:11:35 +00:00
romanb
e354e527d5 small refactorings 2008-02-16 19:37:51 +00:00
romanb
be5aac16fd small refactorings 2008-02-16 19:10:16 +00:00
meus
f5b0b6bfec added tests for Collection. also fixed a bug with serialization in collections. added copyright header to the two new testfiles 2008-02-15 00:57:34 +00:00
meus
c62abc99c4 added a stub to test the methods that throw exceptions in order to get 100% coverage 2008-02-14 21:14:47 +00:00
meus
b040bbe35d Added tests for Doctrine_Access. It uses annotations for exceptions and to mark functions as tests. Also changed some logic in access and implementing classes to make the abstraction a little bit more solid 2008-02-14 20:20:35 +00:00
romanb
b6a6866b9c refactorings 2008-02-13 10:53:07 +00:00
romanb
eb99219068 refactorings 2008-02-12 12:31:28 +00:00
romanb
81b394cd02 more experiments with the new testsuite. 2008-02-11 22:33:12 +00:00
jwage
fd1fb5742d Fixed issue with autoloading of models. 2008-02-11 21:23:04 +00:00
romanb
48c67aba21 2008-02-11 19:56:26 +00:00
romanb
ade4cd2af1 cosmetics 2008-02-11 17:08:22 +00:00
romanb
662b341212 changes on the new test suite. 2008-02-10 19:20:52 +00:00
romanb
373a0ac994 changes on the new test suite. 2008-02-10 19:08:31 +00:00
romanb
36708c91ba changes on the new test suite. 2008-02-10 17:33:46 +00:00
romanb
ba308004b4 changes on the new test suite. 2008-02-10 17:29:24 +00:00
romanb
db8225e624 changes on the new test suite. 2008-02-10 15:51:55 +00:00
romanb
e929180cc9 changes on the new test suite. 2008-02-10 15:45:30 +00:00
romanb
939a2bd638 changes on the new test suite. 2008-02-10 15:27:01 +00:00
romanb
99de12d7ac changes on the new test suite. 2008-02-10 15:16:24 +00:00
romanb
57a5101e0f changes on the new test suite. 2008-02-10 15:10:29 +00:00
romanb
0061bc827b new test setup refactorings 2008-02-10 14:32:05 +00:00
romanb
45235a15d8 more changes to the new test setup. introduced separate ticket folders. 2008-02-09 19:18:15 +00:00
romanb
00fa362ebb changes to the new test setup. 2008-02-09 18:59:19 +00:00
jwage
e757ccc5e4 General dev on tests. 2008-02-08 23:20:35 +00:00
jwage
66863c4304 Added section for ticket test cases. 2008-02-08 20:50:05 +00:00
jwage
2b06032183 Initial entry of new test structure. 2008-02-08 19:35:27 +00:00
jwage
b641d2c5b3 Moved tests to an old location. 2008-02-08 17:27:54 +00:00
romanb
0892647f7a Joined strategy bugfix and cosmetics. 2008-02-07 10:40:27 +00:00
romanb
56407f785a Merged r3518:r3700 from branch to trunk. Branch to be deleted, soon. Development continues in trunk. 2008-02-03 21:29:57 +00:00
pookey
9962e27620 copying test case for ticket 749 to 0.10 and branch - thanks dbrewer 2008-01-26 22:19:32 +00:00
pookey
e280b4fbec test showing that using count() with enums does not work. 2008-01-26 21:43:56 +00:00
jwage
8cc89beb41 Moved Doctrine_Migration_Builder and Doctrine_Import_Builder to Doctrine_Builder_Migration and Doctrine_Builder_Record. Updated code to work with new class names. 2008-01-23 16:47:58 +00:00
jwage
02c57f5977 fixes #688 2008-01-23 08:04:54 +00:00
pookey
f9ee88a5c3 moving ticket to all branches 2008-01-22 23:25:20 +00:00
jwage
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
jepso
04e4a9ce26 added assertNull() and assertNotNull() 2008-01-18 19:35:15 +00:00
pookey
8edb3a9bc2 refs #732 2008-01-16 22:51:37 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
romanb
c6e2086798 more small refactorings of the new joincondition tests. 2008-01-11 14:06:19 +00:00
romanb
62860d5191 fixed joincondition tests. 2008-01-11 13:53:30 +00:00
guilhermeblanco
4f81ab61b2 Added support to leftJoin and innerJoin parameters. Included some tests that failed due to an existent Doctrine bug. 2008-01-10 20:02:41 +00:00
lsmith
73d63af1f1 - fixed tests to expect DEFAULT NULL when no default is specified on nullable non lob columns 2008-01-10 15:50:20 +00:00
lsmith
3cd0274063 - DQL still uses the CONCAT() and not the || syntax 2008-01-10 13:25:31 +00:00
lsmith
982205b8fa - fixed tests to expect DEFAULT NULL when no default is specified on nullable non lob columns 2008-01-10 13:18:33 +00:00
lsmith
88dfc98704 - fixed test cases to expect the || SQL standard syntax 2008-01-10 13:17:05 +00:00
lsmith
e98035999a - ws fixes 2008-01-10 13:16:00 +00:00
lsmith
cb1a71f163 - fixed test cases to expect the || SQL standard syntax 2008-01-10 13:15:34 +00:00