beberlei
8a46eb0439
[2.0] DDC-169 - Finished ALTER Table TableDiff refactoring, adding code to handle index and FK changes. Added a general functional test for alter table against all platforms.
2009-12-06 12:13:15 +00:00
beberlei
dd6abf751f
[2.0] DDC-169 - AbstractPlatform::getAlterTableSql() now accepts only a TableDiff instance as argument across all platforms.
2009-12-06 09:47:54 +00:00
beberlei
4736f5ee50
[2.0] DDC-169 - Refactored Parts of the Platform Tests into an Abstract Test Case
2009-12-05 23:06:29 +00:00
beberlei
8bfde41374
[2.0] DDC-169 - Add ColumnDiff and further Comparator column stuff
2009-12-05 15:48:54 +00:00
beberlei
6339372718
[2.0] DDC-169 - Add functionality to detect that an add + drop column diff is actually just a rename column.
2009-12-05 11:01:11 +00:00
beberlei
35e0121b49
[2.0] DDC-169 - Implemented Index and ForeignKey comparison based on properties and not on names.
2009-12-05 10:33:46 +00:00
beberlei
e9f2f6736a
[2.0] DDC-169 - Fixed DatabaseDriver
2009-12-05 09:39:30 +00:00
beberlei
a0d26a8409
[2.0] DDC-169 - Fixed DatabaseDriver
2009-12-05 09:39:11 +00:00
beberlei
ecfa0eee83
[2.0] DDC-169 - Added tests for case-handling which is necessary for Comparator
2009-12-04 23:03:08 +00:00
beberlei
0788cdf15e
[2.0] DDC-169 - Stripped case handling since its just a load of complex crap and doesn't solve any problem! Idea: just implement case-insensitivity in the comparator.
2009-12-04 22:41:09 +00:00
beberlei
70075d8f80
[2.0] DDC-169 - Added possibility to control which case mode schema assets are created with in SchemaManager
2009-12-04 21:58:16 +00:00
beberlei
556f8699ee
[2.0] DDC-186 - Fixed DatabaseDriver to work with new Schema abstraction, added functional test-cases for database to yaml convertion.
2009-12-04 21:40:03 +00:00
beberlei
466e96b491
[2.0] DDC-186 - Fixed SchemaTool indexes behaviour, changed a functional/integration model to use one index for test-coverage.
2009-12-04 07:19:51 +00:00
beberlei
94cf75b9ac
[2.0] DDC-191 - Added test that verifies mixed case identifier generation is default, when no case mode is set due to previous commit for DDC-169 ticket.
2009-12-03 22:15:07 +00:00
beberlei
b0bbe281f3
[2.0] DDC-169 - Introduced handling of schema / database case-sensitivity differences and to allow compability between different platforms.
2009-12-03 22:10:13 +00:00
romanb
15f84f6eb0
[2.0][DDC-187] Fixed. Also fixed some DBAL failures on postgres.
2009-12-03 13:17:56 +00:00
beberlei
197224de2e
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager Constraint API to accept Constraint interface, which is implemented by indexes and foreign keys.
2009-12-02 22:28:38 +00:00
romanb
22375235db
[2.0][DDC-162][DDC-94] Fixed.
2009-12-02 20:49:10 +00:00
beberlei
25c9588592
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Sequences in their create and get sql methods.
2009-12-02 19:07:38 +00:00
beberlei
8562c80890
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Table, Index and ForeignKey instances for the respective create*() methods.
2009-12-02 18:52:21 +00:00
beberlei
4d5a6ac7bc
[2.0] DC-169 - Skip all UpdateSchemaTests
2009-11-30 23:14:48 +00:00
beberlei
e3314dae16
[2.0] DC-169 - New method AbstractSchemaManager::createSchema() which creates a schema instance with full tables and sequences, additionally listTables() was rewritten to return a full Table instance instead of just the table names.
2009-11-30 23:12:26 +00:00
beberlei
31be2519f6
[2.0] DDC-169 - Fix build, Postgres, Oracle and Sqlite made some minor troubles with regards to sequences.
2009-11-30 21:16:29 +00:00
beberlei
af48974a75
[2.0] DDC-169 - Converted introspection queries of all platforms to return Column, Sequence, Index, ForeignKey Schema Instances instead of arrays, heavily pimped Oracle support thereby.
2009-11-30 19:02:05 +00:00
beberlei
709dfb52c4
[2.0] DDC-169 - Finalized implementation of Schema diff algorithm, added diffs of sequences and foreign keys. Fixed several bugs and changed the API of the Schema objects.
2009-11-29 15:51:14 +00:00
beberlei
f22a56cdd7
[2.0] - DDC-169 - Fixed another regression in refactored SchemaTool, began porting of eZ Components Database Schema Comparator, SchemaDiff and TableDiff.
2009-11-28 14:30:08 +00:00
beberlei
2c27435bb2
[2.0] - DDC-169 - Completed refactoring of SchemaTool::getCreateSql() to use new DBAL Schema API, several internal optimizations in SchemaTool are now possible. Stripped out shared functionality with getUpdateSql() so that this part of SchemaTool is still completly working with the old API.
2009-11-28 10:48:51 +00:00
beberlei
44cc6465be
[2.0] DDC-169 - Savepoint for Refactorings in Schema-Tool - It is now generating DDL according to the old and the new mechanisms in parallel. Equality of generation has been verified on Sqlite, Mysql, Oracle. If Postgres is also verified, the old code will be removed in favour of the new one completly.
2009-11-28 01:22:21 +00:00
beberlei
bdae89cb57
[2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code
2009-11-27 22:01:47 +00:00
beberlei
0902527476
[2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code
2009-11-27 22:00:43 +00:00
beberlei
22cfa37f43
[2.0] - DDC-169 - Began refactoring of DBAL code, introduced object notation for a database schema, including Tables, Indexes, Constraints, Sequences and Columns. Added a CreateSql Visitor which transforms a schema object graph into the required SQL statements to create it. Next: Replacing SchemaTool::getCreateSql() with new syntax...
2009-11-26 21:56:08 +00:00
romanb
fdd9b05158
[2.0] Fix for optimistic locking.
2009-11-25 21:48:04 +00:00
romanb
555b097641
[2.0][DDC-164][DDC-165] Fixed. Cleaned up ManyToManyMapping. Cleaned up identifier handling and handling of composite identifiers in some places.
2009-11-21 18:52:02 +00:00
beberlei
a9d739a743
[2.0] Refactor Exceptions from Query and AST\InputParameter into QueryException class.
2009-11-21 17:04:17 +00:00
beberlei
f9ab947372
DDC-126 - Make Query, NativeQuery Fluent-Interfaces for all their set Methods, renamed setExpireQueryCache() and setExpireResultCache() to expireQueryCache() and expireResultCache(). Updated UPGRADE_TO_2_0 document accordingly.
2009-11-21 13:13:19 +00:00
beberlei
5930a7c42d
DDC-127 - Enhance IterableResult by making it implement the Iterator interface, wrote a unit-test for this scenario, also added some additional tests for special cases in the query api that lead to exceptions.
2009-11-20 15:10:45 +00:00
romanb
61f09e335e
[2.0][DDC-158] Fixed. Collections did not take snapshots after lazy initialization leading to wrong change sets.
2009-11-19 13:12:00 +00:00
romanb
ea4f5c172a
[2.0][DDC-149] Fixed.
2009-11-16 17:03:33 +00:00
romanb
124cbe9086
[2.0][DDC-137] Fixed.
2009-11-15 11:42:05 +00:00
romanb
c3ef019549
[2.0][DDC-145] Fixed.
2009-11-13 19:34:10 +00:00
romanb
94d771172e
[2.0][DDC-74] Fixed.
2009-11-13 16:39:28 +00:00
romanb
3a282b1e9c
[2.0][DDC-141] Fixed.
2009-11-13 10:11:14 +00:00
jwage
fa99b94420
[2.0] Increasing time allowed for hydration performance test
2009-11-11 21:44:04 +00:00
jwage
fdd1954a7b
[2.0][DDC-72] Fixes issue with converting D1 column aliases to D2 field names
2009-11-11 21:15:27 +00:00
jwage
2a663bee05
[2.0][DDC-64] Fixing issue with converting D1 schema clob to D2
2009-11-11 20:44:14 +00:00
romanb
ab0c7b11c8
[2.0][DDC-136] Some fixes to internal UnitOfWork logic.
2009-11-11 16:20:29 +00:00
romanb
8e3f6eee0a
[2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings.
2009-11-08 11:07:49 +00:00
romanb
3a59aefd5c
[2.0] Fixed typo in test.
2009-11-07 11:41:16 +00:00
beberlei
93b20427c9
[2.0] Fix Tab Formating in ParserResult class, added doc-comments and fixed a missing variable initialization error for certain query special cases.
2009-11-06 17:03:59 +00:00
romanb
10bc51fdcd
[2.0][DDC-116] Fixed.
2009-11-06 10:28:37 +00:00
beberlei
7220cb2e8b
DDC-118 - Fixed introduced regression and added tests for future
2009-11-05 18:55:02 +00:00
beberlei
884131e51f
[2.0] DDC-115 - Proper fix of global namespace problem was in the ClassMetadataInfo, a namespace plus seperator was appended for reasons of shortcuts. However this broke associations in global namespace. Changes to ClassMetadataFactory were reverted and fix plus tests applied to ClassMetadataInfo.
2009-11-04 23:06:38 +00:00
beberlei
120e6942e8
[2.0] DDC-115 - Fix for multiple class metadata instances because of classes being addressed with or without prepending namespace separator.
2009-11-04 19:59:34 +00:00
beberlei
69ef16360f
[2.0] DDC-112 - Enhance debugging capabilities in OrmFunctionalTestCase by logging all SQL queries and enrichting all test failures with them (PHPUnit 3.4 only feature).
2009-11-04 11:39:49 +00:00
guilhermeblanco
4a861f08a8
[2.0] More refactorings in Annotations parser and DQL parser. Now they only use constants instead of string processment
2009-11-04 01:52:40 +00:00
guilhermeblanco
e05ec39ff3
[2.0] Moved string tokens to be constants. No more string comparisons inside parser
2009-11-03 21:42:58 +00:00
romanb
7bbdac1c88
[2.0][DDC-61][DDC-108] Fixed. Started exception refactoring.
2009-11-03 18:30:21 +00:00
beberlei
a7847952a1
[2.0] Fixed DDC-63 and DDC-106. Oracle tests for SchemaManager need further tweeking, marked as skipped for now.
2009-11-03 16:56:05 +00:00
beberlei
cfea7883e0
[2.0] DDC-91 - Enhanced SchemaManager::listTableIndexes() considerably. Add primary keys to the index list, add a bool flag primary to each index, add an array of columns to each index. Moved a test to SchemaFunctionalTestCase to check that every database (Mysql, Pgsql, Sqlite, Oracle) returns exactly the same data from this function.
2009-11-03 08:58:03 +00:00
beberlei
a307b86ecb
[2.0] DDC-84 - Added increment alter table / update schema tests for Oracle Platform - Fixed a simple bug in Postgres Tests.
2009-11-02 16:50:48 +00:00
beberlei
d369d27f8b
[2.0] DDC-84 - Added increment alter table / update schema tests for Postgres Platform - Fixed several bugs in Doctrine\DBAL\Platforms\PostgreSqlPlatform
2009-11-02 16:07:31 +00:00
beberlei
79f4fcb3c4
[2.0] Fixed DDC-103 - Platform::getAlterTableSql() should return an array on all platforms, added doc-blocks on all methods and fixed some.
2009-11-02 15:08:51 +00:00
beberlei
140f597e3b
[2.0] Fixed DDC-101, DDC-102 - Ensure defaults for string length and field nullability are handled consistently in both update and create schema commands of SchemaTool.
2009-11-02 12:53:05 +00:00
romanb
94569baa0b
[2.0][DDC-88] Corrected accidental swap of precision/scale.
2009-11-01 11:09:27 +00:00
romanb
44045a6b83
[2.0][DDC-88] Quoted field name in decimal model as a little test for identifier quoting.
2009-11-01 11:04:03 +00:00
beberlei
e2962c73dc
[2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update - Changes in two files were missing.
2009-10-31 22:24:29 +00:00
beberlei
4d3c4a704a
[2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update.
2009-10-31 22:23:36 +00:00
beberlei
932855317f
[2.0] DDC-62 - Fixed bug with proxy class generation of non-namespaced entities
2009-10-31 08:59:27 +00:00
beberlei
a05bd5e20c
[2.0] DDC-78 - Added support for context specific information in Annotation Parser Syntax Error Exceptions.
2009-10-30 20:58:06 +00:00
beberlei
881eb212d2
[2.0] Added test that shows AnnotationParser only parses string literals with double quotes, wheras single quotes throw an Syntax Error. Removed debug output on failure for a proper syntax error exception.
2009-10-30 00:36:21 +00:00
beberlei
1eec9f211b
[2.0] Fixed DDC-77 - Prevent PHP Warning on certain annotation constallations
2009-10-30 00:20:17 +00:00
romanb
10e3407ed1
[2.0][DDC-70] Added some EntityManager tests provided by beberlei.
2009-10-28 22:12:45 +00:00
romanb
f572c372dc
[2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2.
2009-10-28 15:32:55 +00:00
romanb
aa72619c5d
[2.0][DDC-55] Fixed.
2009-10-28 11:29:29 +00:00
romanb
7694e9b7b9
[2.0] Fix for functional tests. Test suite now fully passes against mysql and postgres again.
2009-10-28 11:06:36 +00:00
romanb
4fc1781d78
[2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two).
2009-10-28 10:31:47 +00:00
romanb
8b1e0d413c
[2.0][DDC-57] Added coverage for many-to-many issue provided by Arthur Purnama.
2009-10-26 13:18:44 +00:00
romanb
ac4b4889a6
[2.0][DDC-57] Fixed.
2009-10-26 13:05:32 +00:00
romanb
08694d1826
[2.0] Some optimizations and small fixes.
2009-10-25 21:40:57 +00:00
jwage
ccf27a386c
[2.0] Minor fixes to cache drivers and result set cache implementation
2009-10-24 00:28:43 +00:00
romanb
a4913774c8
[2.0] Added ConnectionTest. Fixed sandbox.
2009-10-23 21:47:25 +00:00
romanb
4328a4e9e3
[2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams).
2009-10-23 15:03:00 +00:00
jwage
da38026bc2
[2.0][DDC-47] Added ability to set the result cache id used to store the cache entry
2009-10-22 22:39:37 +00:00
jwage
93e6cabe04
[2.0][DDC-48][DDC-47] Refactored cache drivers to allow more control over deleting, added namespacing to cache drivers and implemented clear-cache task
2009-10-22 22:19:17 +00:00
romanb
5b60f87859
[2.0] Fixed some known issues with inheritance, especially class table inheritance, like join columns not being selected.
2009-10-22 19:12:00 +00:00
romanb
e2d678cc10
[2.0] Refactorings to reduce duplicated code and increase efficiency.
2009-10-22 12:50:58 +00:00
romanb
c54d582568
[2.0] Added test coverage for native query with joined one-to-one association.
2009-10-22 09:10:59 +00:00
romanb
a735cc08e7
[2.0] Fix for fix for testsuite ;). Need to find out why the behavior is different. sqlite versions? phpunit versions?
2009-10-20 08:01:33 +00:00
guilhermeblanco
7ae913a5b5
[2.0] Fix for test suite. It was trying to recreate association tables and they're not getting deleted. SchemaTool was trying to recreate them during some executions.
2009-10-19 23:23:54 +00:00
romanb
9bb17475ed
[2.0] Fixed hydration issue with bidirectional one-to-many associations. Added more test coverage for some advanced association queries and lazy-loading.
2009-10-16 10:35:46 +00:00
romanb
0b3ae4b169
[2.0] Removed all remaining references to deprecated allowPartialObjects option.
2009-10-15 19:03:27 +00:00
romanb
9200e17bc1
[2.0][DDC-51] Fixed.
2009-10-15 17:07:37 +00:00
romanb
5842411afe
[2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation.
2009-10-15 14:39:43 +00:00
romanb
cb1c7bce48
[2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions.
2009-10-14 20:18:36 +00:00
romanb
b9f744893e
[2.0][DDC-42] Fixed.
2009-10-13 10:48:46 +00:00
jwage
f3f522b7f3
[2.0][DDC-43] Fixing order of limit and offset
2009-10-12 19:10:41 +00:00
romanb
bb6e54fba1
[2.0][DDC-21] Fixed.
2009-10-09 14:27:35 +00:00
jwage
a7d4e1e466
[2.0] Refactoring some common code in to the AnnotationDriver and creating PhpDriver for consistancy
2009-10-07 22:14:13 +00:00
romanb
b8bcd51ff2
[2.0][DDC-32] Fixed.
2009-10-07 12:39:46 +00:00
jwage
165abc3ca4
[2.0] Work on mapping drivers, exporter drivers and reverse engineering of database schemas
2009-10-07 04:07:23 +00:00
jwage
c8362da494
[2.0] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. Lots of other small bug fixes and changes.
2009-10-06 22:38:34 +00:00
romanb
71c1fe5221
[2.0][DDC-2] Fixed.
2009-10-06 10:04:32 +00:00
jwage
bda1b9ae7c
[2.0] Fix for package building
2009-10-05 23:54:49 +00:00
jwage
5fb493c5d1
[2.0] Adding test coverage for ClassMetadataExporter
2009-10-05 22:09:29 +00:00
romanb
435acc9188
[2.0][DDC-24] Fixed (together with some small misc. refactorings).
2009-10-01 12:00:14 +00:00
romanb
92801ba8bd
[2.0] Fixed some build issues. Added new build properties. Please install VersionControl_SVN pear package in order to use the test target of the build file.
2009-09-19 12:10:59 +00:00
romanb
3d3bcc1742
[2.0][DDC-7] Fixed.
2009-09-15 12:24:38 +00:00
romanb
320d21e2be
[2.0] Refactored classloader architecture. Renamed ClassLoader => GlobalClassLoader. Introduced IsolatedClassLoader that is suitable for participating in autoload stacks. Added 2 example entity classes to the sandbox with 2 xml mappings and 2 yaml mappings. Simplified sandbox setup.
2009-09-11 19:50:48 +00:00
jwage
d10daf35f2
[2.0] Changing Expr static methods to be normal public methods ( closes #2466 )
2009-09-08 22:19:03 +00:00
jwage
7aabee5efc
[2.0] Fixing empty insert sql statements ( closes #2481 )
2009-09-08 19:31:26 +00:00
jwage
7c56bfa156
[2.0] Fixes issue with unique annotation on columns ( closes #2476 )
2009-09-08 18:12:01 +00:00
guilhermeblanco
e0012f0750
[2.0] Fixed test case. All in-memory changes should be flushed before querying. That's how it works in other ORM tools too
2009-09-06 14:27:38 +00:00
guilhermeblanco
05568fa259
[2.0] Added coverage to expected behavior of IdentityMap
2009-09-06 13:55:01 +00:00
romanb
49a24c4ef8
[2.0] Fixed #2478 .
2009-09-06 08:48:44 +00:00
guilhermeblanco
0651397854
[2.0] Added coverage to ticket #2478 . Could not get it to fail
2009-09-05 23:37:55 +00:00
romanb
f0da001770
[2.0] Fixed and enhanced tests.
2009-09-05 09:22:34 +00:00
guilhermeblanco
51a0a912be
[2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type
2009-09-05 02:45:12 +00:00
guilhermeblanco
3ef0bf50e9
[2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type
2009-09-05 02:44:45 +00:00
romanb
a65ea05f01
[2.0] Fixed scale/precision support in SchemaTool
2009-09-04 20:31:11 +00:00
romanb
94c187685b
[2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox.
2009-08-31 16:21:29 +00:00
romanb
733c3c24f7
[2.0] Various necessary fixes and adjustments for oracle as well as fixes for better handling of temporal types. Closed #2452 .
2009-08-28 17:25:28 +00:00
romanb
6a3aa84973
[2.0] Made MySqlPlatform default to innodb table engine. Some cleanups while investigating the optimistic locking failures.
2009-08-28 12:36:06 +00:00
jwage
b17ad38eed
[2.0] Renaming LifecycleListener annotation to HasLifecycleCallbacks
2009-08-26 17:14:03 +00:00
romanb
8523648a27
[2.0] Fixed lifecycle callback mapping.
2009-08-25 09:14:08 +00:00
jwage
fd89892cc9
[2.0] Updating YAML and XML drivers to be synchronized with Annotations driver.
2009-08-24 21:05:55 +00:00
jwage
05d5fe4954
[2.0] Finishing optimistic locking with timestamp support
2009-08-24 17:06:12 +00:00
romanb
b1d34fca1c
[2.0] Work on SchemaTool and DBAL.
2009-08-21 18:13:22 +00:00
guilhermeblanco
74af8a28ae
[2.0] Removed *where*In methods from QueryBuilder. Finished decouple of QueryBuilder and Expr. Updated docs.
2009-08-20 03:21:39 +00:00
guilhermeblanco
842267c11c
[2.0] Refactored pieces of QueryBuilder, it does not use string concatenation anymore. Splitted from into from and join, allowing update and delete DQLs to be correctly built. Added missing entry set. Removed Expr\Having because it was useless. Updated docs.
2009-08-20 02:59:42 +00:00
romanb
3d17cb0d60
[2.0] Applied fixes for character casing issues. Simplified inheritance mapping and improved handling of outer joins in Class Table Inheritance.
2009-08-17 17:58:16 +00:00
romanb
32069cc2b5
[2.0] More preparations to fix character casing issue. Reverted and completed ConditionalPrimary parsing and added more tests for this.
2009-08-16 16:36:00 +00:00
romanb
ebb432bfb8
[2.0] Preparing to address character casing issue.
2009-08-15 18:11:51 +00:00
guilhermeblanco
cf77048ee4
[2.0] Fixed issue with functions accepting subqueries. Implemented missing Expr\Join class. Added Expr::*join helper functions.
2009-08-14 22:50:36 +00:00
guilhermeblanco
b0202f2921
[2.0] Fixed issue with missing parenthesis in Math expressions
2009-08-14 21:03:27 +00:00
guilhermeblanco
c81affb9f7
[2.0] Some fixes in Expr. More documentation added.
2009-08-14 20:46:43 +00:00
romanb
e161103e4b
[2.0] Added EntityRepositoryTest. Updated build file and XML Schema for mapping files.
2009-08-14 11:04:31 +00:00
romanb
7152da322f
[2.0] Unified xml/yaml driver mapping tests so that there is a stronger enforcement on keeping them synchronized feature-wise.
2009-08-13 11:03:26 +00:00
romanb
e578bad687
[2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase.
2009-08-13 10:13:06 +00:00
romanb
8797921937
[2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak.
2009-08-11 10:51:38 +00:00
guilhermeblanco
103cdf5778
[2.0] More docblocks. Renamed methods Type::addCustomType to Type::addType and Connection::exec to Connection::executeUpdate. Added Type::hasType.
2009-08-10 22:43:27 +00:00
guilhermeblanco
88698c3a78
[2.0] Created common Lexer code for Annotations parser and Query parser. Added some docblocks
2009-08-05 21:13:42 +00:00
romanb
f64347d899
[2.0] Implemented SQL generation for SIZE() function and EmptyCollectionComparisonExpression.
2009-08-05 15:47:41 +00:00
romanb
e67b30703b
[2.0] Changed init() to __construct().
2009-08-04 09:33:36 +00:00
romanb
0a497062c9
[2.0] Renamed some methods for a better API.
2009-08-03 17:18:37 +00:00
romanb
00599a80d4
[2.0] Streamlined result structures. Hydration improvements: Small overall improvements, large improvement for (joined) fetched collections (~60%).
2009-08-03 13:25:56 +00:00
romanb
e1f2b8abec
[2.0] Implemented support for mapped superclasses. Fixed #2353 .
2009-07-30 15:16:02 +00:00
romanb
92214eaf37
[2.0] Part II for ticket #2352 . Fixed #2352 .
2009-07-29 12:00:08 +00:00
romanb
2ec4cc5cbe
[2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352 .
2009-07-29 11:57:27 +00:00
romanb
62446f0f3c
[2.0] Cleanup for changeset #6172 .
2009-07-28 16:36:24 +00:00
piccoloprincipe
82c416686e
[2.0] resolved hydrateAdd() recursivity
2009-07-28 12:30:35 +00:00
piccoloprincipe
c073f1d113
[2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC
2009-07-28 11:43:42 +00:00
romanb
2807a83d5d
[2.0] Started to simplify commit order calculation.
2009-07-27 09:50:22 +00:00
romanb
28ca2acb8b
[2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization.
2009-07-25 16:33:29 +00:00
romanb
da07bf4a37
[2.0] Small refactorings.
2009-07-24 11:33:38 +00:00
romanb
d674f1923d
[2.0] Fixed #2373 . Some small perf. improvements for UnitOfWork.
2009-07-23 09:52:16 +00:00
guilhermeblanco
b121576ff4
[2.0] Fixed DQL parser to use Query::HINT_FORCE_PARTIAL_LOAD instead of string.
2009-07-22 05:06:06 +00:00
guilhermeblanco
58a157863e
[2.0] Finished reorganization of grammar rules in DQL parser source code. Renamed some private methods.
2009-07-22 03:46:05 +00:00
romanb
ae1b9371ec
[2.0] Fixed #2366 .
2009-07-21 15:53:58 +00:00
romanb
be0088f00c
[2.0] Fix and test for result cache.
2009-07-21 10:48:19 +00:00
romanb
49434b0322
[2.0] Further cleanups. Started eager loading support.
2009-07-21 09:25:14 +00:00
guilhermeblanco
b3d110bac4
[2.0] Started massive reorganization of grammar rules in DQL parser.
2009-07-21 05:22:22 +00:00
romanb
a301834057
[2.0] First part of cleanup for changeset 6120. More to follow.
2009-07-20 15:30:54 +00:00
piccoloprincipe
0c623fdb9e
[2.0] Accomodate joincolumn names in the metadata, in the selection and the hydration processes. Improved Api of the ProxyFactory. Working implementation of lazy loading for *-to-one associations (affects #2348 )
2009-07-20 12:05:19 +00:00
romanb
7297ac7baa
[2.0] Addressed #2363 .
2009-07-19 16:54:53 +00:00
romanb
59cf1f745d
[2.0] added entity lifecycle events.
2009-07-18 18:06:30 +00:00
guilhermeblanco
227667c95d
[2.0] Changes in DQL grammar for optimization purposes. Implemented new DQL grammar rules and did a couple of TODOs
2009-07-18 14:53:21 +00:00
piccoloprincipe
3747365b1c
[2.0] added tests for lazy loading; added error_reporting level; wired association proxy factory
2009-07-18 13:15:54 +00:00
romanb
b8090c99a3
[2.0] Moved locking tests into Functional namespace. Fixed several missing flush() calls in some functional association tests. Reordered DELETE statements for ecommerce model tests in OrmFunctionalTestCase in order to maintain referential integrity. Fixed issue with bi-directional self-referencing one-one associations. Some other small improvements and cosmetics. Small hydration performance improvement through inlining method call in UnitOfWork::createEntity().
2009-07-18 11:41:37 +00:00
jwage
2085823661
[2.0] A few fixes and clean up to the Optimistic Locking implementation.
2009-07-17 21:55:56 +00:00
jwage
cc3ea569a4
[2.0] Initial version of optimistic locking with integer version columns
2009-07-17 18:13:03 +00:00
piccoloprincipe
c9b0328279
[2.0] fixed skipped tests by blocking phpunit autoloading
2009-07-17 14:10:21 +00:00
piccoloprincipe
129e13f5c5
[2.0] skipping test with mocked namespaced classes
2009-07-17 14:06:43 +00:00
piccoloprincipe
52d55da356
[2.0] working implementation of Association Proxy classes
2009-07-17 13:35:44 +00:00
piccoloprincipe
66f377fb12
[2.0] extended tests for proxy class generation
2009-07-17 12:43:37 +00:00
piccoloprincipe
a41bbbd7e1
[2.0] renamed classes to more descriptive names
2009-07-16 13:59:26 +00:00
piccoloprincipe
0b9a2e0c0b
[2.0] working implementation of reference proxies
2009-07-16 13:20:31 +00:00
piccoloprincipe
9dba60a5fb
[2.0] fixed test suite name
2009-07-16 09:12:40 +00:00
guilhermeblanco
55651ec902
[2.0] Updated semantical error to display token and text close to the found error. Some cosmetics applied.
2009-07-16 03:22:08 +00:00
guilhermeblanco
59fbb8b20f
[2.0] Commented Memcache test since it was throwing a fatal error if module is loaded. It requires a memcache server config to be able to run these tests
2009-07-15 22:45:34 +00:00
jwage
c4e330e5ca
[2.0] Placing loadClassMetadata() event so users can manipulate class meta data through events
2009-07-15 20:18:40 +00:00
romanb
a3d58e7b0d
[2.0] Fixed array tests by removing tests for ArrayCache specific methods from the tests of other cache drivers. Some general API work on the cache interface.
2009-07-15 10:10:04 +00:00
romanb
0c8a35f731
[2.0] Cosmetics.
2009-07-15 06:46:43 +00:00
jwage
311cff87d3
[2.0] More test coverage
2009-07-14 22:36:09 +00:00
jwage
26bdd89be6
[2.0] Test coverage for OFFSET AND LIMIT sql generation for all platforms and Query class with setFirstResult() and setMaxResult()
2009-07-13 22:59:36 +00:00
piccoloprincipe
ce6aebc8ab
[2.0] expanded tests for DBAL components
2009-07-11 08:48:57 +00:00
jwage
ba8b4337bb
[2.0] Cleanup on QueryBuilder and Expr from discussion with roman
2009-07-10 18:26:43 +00:00
jwage
f608dd8a72
[2.0] More work on the QueryBuilder and Expr classes.
2009-07-10 17:53:48 +00:00
jwage
312d347d2d
[2.0] More work on the QueryBuilder and Expr classes
2009-07-10 14:02:06 +00:00
romanb
838768d21f
[2.0] Small comments/todos on QueryBuilderTest.
2009-07-10 07:38:42 +00:00
jwage
a9ed0085d2
[2.0] More work on the QueryBuilder and Expr classes
2009-07-09 21:56:34 +00:00
jwage
867a34d41b
[2.0] Initial commit of a QueryBuilder class. Still needs a lot of work.
2009-07-09 04:18:58 +00:00
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
lsmith
c6b6669a54
- typo fix
2008-01-10 13:14:23 +00:00
Jonathan.Wage
c456e4c788
Merged test case from 0.9 for testing loading NestedSet in setUp() method
2008-01-09 15:59:34 +00:00
zYne
500783aa31
fixes #718
2008-01-08 21:22:37 +00:00
romanb
d9112ad1d7
Merged current state of my experimental branch back to trunk.
2008-01-05 19:55:56 +00:00
zYne
d2bff7d31a
added tests for updating I18n records, fixes #672
2008-01-04 18:23:32 +00:00
romanb
b994c1a6f9
Fixed #697 .
2007-12-28 11:51:48 +00:00
Jonathan.Wage
d1df55e316
Refactorings for schema files and Doctrine_Record builder. More to come but got held up on some things that zYne- must fix first.
2007-12-19 22:41:11 +00:00
pookey
6365df0d66
refs #681 : adding failing test case
2007-12-16 20:12:27 +00:00
tamcy
4516678f5c
add test case for #626 regarding Doctrine_Table->find()
2007-12-15 14:48:00 +00:00
zYne
d76de7211e
2007-12-13 11:59:13 +00:00
romanb
79b79909ad
Refactored transactions. Fixed #464 .
2007-12-12 15:52:12 +00:00
tamcy
b309933a4f
commit test case for #673
2007-12-12 15:01:38 +00:00
romanb
910ab71938
Put plugin tests back in.
2007-12-12 09:03:25 +00:00
tamcy
41defae276
add ticket #438 and #638 to run.php
2007-12-12 04:21:36 +00:00
zYne
cf8012fdf0
drafting the CTICA test case
2007-12-11 22:37:19 +00:00
zYne
7a78c39e81
2007-12-10 19:12:13 +00:00
jackbravo
78195944be
Added synchronizeWithArray method and unset functionality for relations
...
The unset functionality is not working for foreignKey relations
2007-12-09 01:56:53 +00:00
dbrewer
7e0a902aba
Added test case to demonstrate that delimiters in
...
Doctrine_Query_Tokenizer::bracketExplode() were case sensitive, and
changed tokenizer to make them case insensitive.
2007-12-07 03:23:09 +00:00
romanb
af657cbe69
Introduced a new attribute ATTR_AUTOLOAD_TABLE_CLASSES that can be used to control whether Doctrine should try to autoload custom table class files when looking for them.
2007-12-06 19:02:29 +00:00
pookey
599446ad07
adding test case for previous commit
2007-12-04 15:25:52 +00:00
guilhermeblanco
806e9c63e6
Fixed default definition in date* fields
2007-12-03 17:56:56 +00:00
tamcy
8557d9d87d
#438 : Updated test case
2007-12-02 09:06:19 +00:00
romanb
fc310cf36c
Fixed #626 . Commented out plugin tests due to a fatal error.
2007-12-01 11:18:43 +00:00
jackbravo
a73a73da66
Fix tickets #583 and #576
2007-12-01 01:21:55 +00:00
jackbravo
fcd427d3d7
Added a line break at the end of the tests
2007-11-30 22:16:22 +00:00
tamcy
8bb65f0cf6
#438 : Updated test case syntax
2007-11-29 15:09:54 +00:00
jackbravo
b329ae870b
Added a $deep argument to refresh
...
The default is set to false because fetching the relations deletes
previously fetched relations =P. This is, if you fetched an aggregated
value (SUM, COUNT), it wont be refreshed, it will be overwritten by the
actual related values.
2007-11-28 19:35:44 +00:00
Jonathan.Wage
9eac2776ea
Consolidated a few things. Initial entry of Inflector class. Moved some methods from Doctrine base class to Doctrine_Lib and Doctrine_Inflector.
2007-11-28 02:21:42 +00:00
meus
42927503f5
new coverage data
2007-11-25 20:32:49 +00:00
zYne
3829b0f2d4
fixed some tests
2007-11-25 20:23:53 +00:00
romanb
05147fbeb6
Completed implementation of the query cache.
2007-11-25 19:07:30 +00:00
romanb
352ab0de40
renamed the default hydrator. started to implement a query cache.
2007-11-25 15:57:08 +00:00
romanb
4e4320d99e
reenabled the plugin tests. they seem to work now.
2007-11-25 13:03:52 +00:00
zYne
3baf1af60e
2007-11-25 12:02:58 +00:00
romanb
90d472eb98
prepared the tokenizer for getting a state and being a full-fledged object
2007-11-24 18:58:33 +00:00
romanb
78f5a2edcb
More refactorings. Commented out the plugin tests for now. They seem to wreak havoc with a lot of other tests (especially validator tests) and i havent found the reason yet.
2007-11-24 18:11:09 +00:00
zYne
fbd4e86912
2007-11-22 21:19:02 +00:00
romanb
929273a0f1
More refactorings and small speed improvements on the default hydrator.
2007-11-21 14:29:59 +00:00
romanb
156cfd4a27
Introduced a separation of the 2 concerns: 1) Query construction 2) Result hydration.
...
Makes it easier to see the dependencies between these two concerns, cache the results of the query parsing process later on, implement & use alternative hydrators to experiment with different algorithms etc. etc.
Other small refactorings.
2007-11-20 14:26:42 +00:00
jepso
8195898ff7
fixed another test case broken by changeset 3187
2007-11-19 19:16:15 +00:00
jepso
01f2ee7f97
fixed search tests that were broken by changeset 3187
2007-11-19 18:03:30 +00:00
romanb
d645b1659c
More refactorings
2007-11-19 17:55:23 +00:00
romanb
82432246b9
Doctrine_Migration::setTableName now takes the ATTR_TBLNAME_FORMAT into account
2007-11-18 16:42:33 +00:00
romanb
cfc7d4e423
Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase).
2007-11-18 16:06:37 +00:00
adrive
23cc4af209
Changed author in Ticket #480 test case to me
2007-11-16 10:35:03 +00:00
adrive
18c40c3b5e
Added test case for Ticket #480
2007-11-16 09:53:02 +00:00
zYne
c97fc19da4
2007-11-15 22:12:00 +00:00
zYne
de16517991
2007-11-15 22:01:39 +00:00
wolfpakz
dc0616ffb0
- Fixed order of assertions in export model from directory test.
2007-11-15 17:05:53 +00:00
zYne
2e5dd84fc2
tests for CTI column referencing in DQL
2007-11-15 13:45:41 +00:00
Jonathan.Wage
5c6e8f8eb9
New coverage for parser, yaml schema parsing, a few fixes.
2007-11-15 05:16:31 +00:00
zYne
8e127bfc33
added Doctrine_Plugin_TestCase
2007-11-13 22:33:38 +00:00
dbrewer
2ee78d7d85
Added test case and models for sfDoctrine-style inheritance in record
...
and table classes.
2007-11-12 01:45:23 +00:00
meus
10d1ff97a6
removing invalid testcase
2007-11-10 13:40:06 +00:00
zYne
ad42e81ff3
tests for abstract base class in CTI inheritance tree
2007-11-10 13:23:02 +00:00
zYne
c6a0dd655b
tests for deleting CTI records
2007-11-10 13:09:14 +00:00
zYne
199dbbc23f
more tests for the class table inheritance
2007-11-10 01:01:23 +00:00
zYne
11ee8e33bb
tests for basic CTI fetching
2007-11-09 13:23:39 +00:00
meus
f81e4fdcc7
Added failing testcase references #589
2007-11-09 00:19:14 +00:00
zYne
d1c23818f9
tests for inserting CTI record instances
2007-11-08 22:56:03 +00:00
zYne
c6e99ade91
tests for CTI exporting
2007-11-08 22:15:37 +00:00
meus
7efe3f5c3a
coveragereport
2007-11-08 22:14:39 +00:00
dbrewer
11ee3cf9ad
Added test case for #587 , and models to support that test case.
2007-11-08 21:44:11 +00:00
samw3
07bacdfe78
MySQL migration unit tests
2007-11-08 17:12:11 +00:00
zYne
af4f85ae69
some tests for class table inheritance
2007-11-07 23:00:24 +00:00
meus
0b24b4551e
coverage report stuff
2007-11-07 16:12:14 +00:00
meus
2ef3a63be6
fixed grouping and filtering of tests from the browser
2007-11-05 00:29:52 +00:00
meus
4640cb2be4
coverage report against head
2007-11-03 21:02:50 +00:00
meus
ea803566b6
fix dsn so that sqlite:///full/unix/path/test.db and sqlite://c:/full/windows/path/test.db works
2007-11-03 20:34:19 +00:00
meus
aacfe7288b
changed the tests so that DSN sqlite parsing works. It does not use the syntax in the manual.
2007-11-03 14:28:35 +00:00
meus
7d6185873d
fixed diffing of arrays if an assert_equals fails
2007-11-03 14:26:23 +00:00
meus
79e52571aa
added a convenience method and new coverage stuff
2007-11-02 16:07:11 +00:00
Jonathan.Wage
75c630951c
Fixed test case.
2007-11-02 00:10:28 +00:00
Jonathan.Wage
8bfbd6a7c7
Clean up, initial entry of root txt files, fixed a few broken unit tests. New documentation.
2007-11-01 19:45:36 +00:00
zYne
13f2ea77d9
2007-10-29 22:58:43 +00:00
meus
755316c3fc
added tesst for Tokenizer and Search to get them under full coverage. relatex refactorings and coverage reports
2007-10-29 20:25:38 +00:00
meus
53b05c1d4a
added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes
2007-10-29 19:50:16 +00:00
zYne
3565dea72b
2007-10-29 18:10:54 +00:00
zYne
dc5e0cee32
fixes #515 , correlated subqueries with IN operator
2007-10-29 18:04:22 +00:00
zYne
991f456fa4
fixes #514 , literal value as the first operand for IN
2007-10-29 17:54:40 +00:00
meus
32c3a34d0c
new coverage report
2007-10-29 17:08:24 +00:00
tamcy
4d527b935d
add test case for ticket #438
2007-10-24 16:19:49 +00:00
meus
3cdaf71ad0
refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report
2007-10-23 20:21:22 +00:00
romanb
6ed2e63d88
added hydration mode HYDRATE_NONE
2007-10-22 16:32:07 +00:00
meus
1ac6d50915
new coverage report
2007-10-22 11:53:42 +00:00
meus
09e77de2ae
deleting old coverage files not valid anymore and adding some new ones.
2007-10-21 16:15:20 +00:00
meus
311073b834
commiting modified Coverage file, and new coverage tests part 1
2007-10-21 16:12:20 +00:00
Jonathan.Wage
27b369a5f3
Mass search and replace for coding standards changes, doc block formatting, and code spacing.
2007-10-21 06:23:59 +00:00
romanb
a14db264ee
reapplied my changes to Export.php that were (accidently?) reverted by jonwage
2007-10-20 14:57:47 +00:00
Jonathan.Wage
9440cf04f6
Additions to migrations to support generating migrations from models or existing databases.
2007-10-19 22:11:45 +00:00
romanb
f1c6657c0f
introduced dropForeignKey() to Export and Migration
2007-10-19 10:58:49 +00:00
zYne
6825767cba
removed deprecated schema test case
2007-10-18 19:36:54 +00:00
zYne
c1c87d0287
added test case for file searching functionality
2007-10-17 19:54:29 +00:00
romanb
e428845d0e
corrected some tests
2007-10-17 19:24:03 +00:00
samw3
61274843ed
Testing migration addColumn
2007-10-15 23:39:20 +00:00
zYne
4213e49d50
2007-10-15 22:22:30 +00:00
Jonathan.Wage
54c3b98d73
Fixes.
2007-10-15 20:39:44 +00:00
meus
ea368a366d
fixed Html reporter
2007-10-15 12:42:13 +00:00
meus
61399a522f
added spikephpcoverage but did not get it to work. if somebody wants to play with it look in DoctrineTest on line 122. fixed the coverage report a little
2007-10-14 22:43:29 +00:00
meus
6e020bef2a
changed text for files that are not tested
2007-10-14 19:47:15 +00:00
meus
eb620ffc77
fixes default sorting direction and change instructions a little
2007-10-14 19:42:45 +00:00
romanb
30e41d0e64
updated code coverage report
2007-10-14 19:19:14 +00:00
meus
92c3be530d
removing message about outdated coverage report
2007-10-14 19:19:06 +00:00
meus
4805dab42b
refactored test harness and moved logic away from the run.php file. fixed coverage reporting so that it now generates a full html coverage files. look in tests/coverage/index.php in a browser for details
2007-10-13 21:45:08 +00:00
zYne
baf09de8f8
added some new search tests and fixed hydration tests
2007-10-13 19:22:54 +00:00
Jonathan.Wage
4d38b32209
Added ability to put php in all inputted files/strings to parser.
2007-10-09 02:21:53 +00:00
zYne
fc2b7ba81a
some auditlog tests added
2007-10-08 22:59:39 +00:00
adamthehutt
6b26a7b813
Fix for ticket #457 , moves Doctrine_Record::find/One() to Doctrine_Table::execute/One()
...
Ticket: 457
2007-10-08 16:39:12 +00:00
zYne
a20ceff363
tests and implementation for hydrate hooks
2007-10-05 22:31:02 +00:00
zYne
7ecc82fded
removed deprecated attributes, added bound query part functionality, fixed remaining I18n issues
2007-10-05 21:18:40 +00:00
zYne
11e8bfed08
new tests for I18n
2007-10-05 21:14:46 +00:00
Jonathan.Wage
c3c4a284a0
Fix unit tests.
2007-10-05 19:34:05 +00:00
meus
f59131f010
fixing previous commit, these files should not be modified
2007-10-03 16:38:20 +00:00
meus
c477b35ddc
testing testing
2007-10-03 16:30:57 +00:00
jackbravo
34f527adfc
Fixed some syntax errors on Doctrine Search
2007-09-30 01:18:07 +00:00
jackbravo
01a3e06326
Fixed some identifier quoting on sqlite, mysql and pgsql. Added some tests too
2007-09-30 01:17:49 +00:00
zYne
2c99d8e497
2007-09-29 14:35:40 +00:00
zYne
e21971d3cb
2007-09-29 14:31:40 +00:00
romanb
02dd8b1a79
Validator refactoring. 2 new validators: past & future
2007-09-29 12:31:56 +00:00
Jonathan.Wage
77daa29c2c
Changed default to yml.
2007-09-25 22:32:32 +00:00
Jonathan.Wage
13a1a6199c
Fixes for unit tests being broken.
2007-09-24 22:27:41 +00:00
Jonathan.Wage
b574c7209e
Clean up.
2007-09-21 20:35:09 +00:00
Jonathan.Wage
d0898c1a81
Fixes to allow inheritance.
2007-09-21 20:30:10 +00:00
zYne
0cb2992a8d
tests for the compound filter
2007-09-21 13:49:12 +00:00
zYne
2db528729b
tests for standard filter
2007-09-21 13:16:23 +00:00
Jonathan.Wage
35ef784eaa
Initial entry of Doctrine_Resource and other fixes.
2007-09-21 02:48:13 +00:00
Jonathan.Wage
ad55d16395
Fixes for schema importing.
2007-09-20 22:19:22 +00:00
Jonathan.Wage
d4e3567ab9
Changes to migration.
2007-09-20 20:24:38 +00:00
zYne
cfededd6e7
2007-09-20 19:57:13 +00:00
Jonathan.Wage
1e1090700c
Fixes to make schema importing work.
2007-09-20 19:18:05 +00:00
Jonathan.Wage
3df29f7d01
A few tweaks.
2007-09-20 16:11:59 +00:00
gnat
8331728242
updated the test to not break other tests.
2007-09-19 21:41:45 +00:00
gnat
174b507deb
added new relation save test
2007-09-19 21:25:14 +00:00
Jonathan.Wage
10bdfcb17f
Changes for new migration code.
2007-09-19 19:33:00 +00:00
Jonathan.Wage
63e7a3af78
Initial entry.
2007-09-19 16:28:23 +00:00
Jonathan.Wage
b41259b04a
2007-09-19 16:26:28 +00:00
zYne
095dee4efd
2007-09-18 17:26:35 +00:00
meus
6eb685782b
Took down detailed view of cc report since I do not have time to fix it right
...
now and it is a security issue
2007-09-17 23:14:03 +00:00
meus
c48c878ae2
Fixed security issue in cc script
2007-09-17 23:11:05 +00:00
meus
da57136db0
Fixing codingstandard errors
2007-09-17 22:45:03 +00:00
meus
82a248fee7
Added a try/catch block around the running of each test to catch unexpected
...
exceptions and log them.
2007-09-17 22:43:53 +00:00
zYne
879a213990
2007-09-17 22:33:25 +00:00
zYne
9ac324d735
2007-09-17 21:38:16 +00:00
zYne
5c098a22b1
2007-09-17 21:16:54 +00:00
Jonathan.Wage
bb04514c38
2007-09-17 20:46:15 +00:00
Jonathan.Wage
670b4831a7
Updated to new schema format.
2007-09-17 20:39:37 +00:00
Jonathan.Wage
a170822788
Fixes for yml importing/exporting of schema.
2007-09-14 19:14:40 +00:00
Jonathan.Wage
d62500e76b
Updated syntax
2007-09-14 19:06:52 +00:00
Jonathan.Wage
8e57185e30
Fixes.
2007-09-13 22:39:52 +00:00
Jonathan.Wage
c9658cb29b
Getting exporting/importing working.
2007-09-13 21:32:40 +00:00
Jonathan.Wage
15e2484b66
Initial entry of yml
2007-09-13 19:06:04 +00:00
jackbravo
404338f46f
Added support for unlink all
2007-09-12 22:07:57 +00:00
zYne
c606da1ac0
2007-09-12 21:52:34 +00:00
zYne
3a93d7f271
2007-09-12 21:43:39 +00:00
zYne
5fba56bb6d
2007-09-12 21:08:11 +00:00
Jonathan.Wage
72ae6ff8d1
Initial entry.
2007-09-12 20:50:39 +00:00
meus
7a26255739
addded tests for template. added optimization for __call and calling template functions in Record
2007-09-12 20:26:59 +00:00
zYne
cebd4928b6
2007-09-12 20:01:20 +00:00
jackbravo
ca17b08ca1
Strict standards: GroupTest::run and UnitTest::run should have the same signature
2007-09-10 23:08:29 +00:00
jackbravo
f2ab7813fb
Updated relationship handling code (using unlink method)
2007-09-10 22:26:50 +00:00
jackbravo
b402d6ba8d
Corrected test case for ColumnAggregate field
...
Object needs to be saved to set type column.
Also deleted unnesesary model, test can be made with default models.
2007-09-10 20:17:52 +00:00
jackbravo
8957624564
Re-arrenge order of statements to avoid conflicts
2007-09-10 18:10:58 +00:00
jackbravo
b08d722cdc
Re-arrenge order of statements to avoid conflicts
2007-09-10 17:29:41 +00:00
zYne
991d56f82c
2007-09-06 21:05:39 +00:00
jackbravo
1db6dfa30b
Association table tests are pretty messy, still more fixes to go
2007-09-06 16:03:44 +00:00
jackbravo
93f452cde1
Separate correctly test messages when running from the browser, and get the variables through _GET
2007-09-05 19:02:41 +00:00
romanb
a478dfa4fd
removed hydration constants from doctrine_hydrate
2007-09-05 16:05:49 +00:00
jackbravo
fbb4e3bbe6
More tests for Many to Many relations, bugs detected
2007-09-05 05:39:36 +00:00
zYne
ac9c2133d9
2007-09-04 20:41:23 +00:00
jackbravo
7e18a0a8e4
On some cases the IDs for the entity table change and this test fails
2007-09-04 17:42:55 +00:00
jackbravo
49053d654f
Table name may be different than just tablelize class name
...
For example, for class User, the table name is entity
2007-09-04 15:11:49 +00:00
meus
0de326b577
fixing run.php in web browser take 2
2007-09-04 13:22:38 +00:00
meus
dfd3f18987
fixing web test runner
2007-09-04 13:19:42 +00:00
romanb
4a2fac7218
Fixed a bug in the nestedset implementation. When using single table inheritance all node instances need to use the same tree object. previously every subclass created it's own tree object which resulted in strange behaviour.
2007-09-04 12:52:23 +00:00
meus
ef9fda8707
coverage report for 2405
2007-09-04 05:11:08 +00:00
meus
2c9e480037
fixed propper input to test so that it runs successfully
2007-09-03 22:21:39 +00:00
meus
a989abdc22
fixed validator tests that used the old API
2007-09-03 22:09:05 +00:00
jackbravo
8423421973
Added ticket 428 test case using Album model
...
Not using User model since users gets its table cleared before each
test method call ($this->objTable()->clear()), and that affects the
result
2007-09-03 21:13:31 +00:00
jackbravo
902d609fca
Removed one unnecesary class, more to go
2007-09-03 18:54:58 +00:00
jackbravo
94cb373b6d
ticket test group renamed to tickets
2007-09-03 18:34:43 +00:00
jackbravo
1a4a66c9d1
Organize and add more groups to the tests
2007-09-03 18:19:37 +00:00
jackbravo
bbf866d9e4
MAP keyword was changed to INDEXBY
2007-09-03 17:15:30 +00:00
jackbravo
a6cc048940
Avoid including temporary files like the ones created by vi or emacs
2007-09-03 16:31:35 +00:00
jackbravo
f97a652485
Added failing tests
2007-09-03 16:13:02 +00:00
meus
f798820233
removed test that throw notice and fix some more test groups.
2007-09-03 15:18:12 +00:00
meus
f3a377a794
replace tabs with 4 spaces. and fix other coding style related stuff
2007-09-03 14:57:18 +00:00
meus
dc0c08aa58
fixing to adhere to coding standards
2007-09-02 22:34:02 +00:00
meus
60d62da717
fixing code standard stuff
2007-09-02 22:29:15 +00:00
meus
d448f15c50
added -help flag to testrunner
2007-09-02 21:59:48 +00:00
meus
1b23da2bd7
implemented -group and -filter checks to the command line testrunner
2007-09-02 21:51:04 +00:00
meus
42e76aa7a3
adding functionality to testrunnner to spscify both group name and classname on the command line
2007-09-02 20:59:39 +00:00
zYne
35bd97bf08
2007-09-02 20:36:08 +00:00
meus
c27b982d20
storing tests indexed by classname and not spl_object_hash
2007-09-02 20:14:45 +00:00
meus
44ad5cb1d3
fixing run.php to alert if testing with invalid group
2007-09-02 20:12:45 +00:00
meus
75f2364ed6
fixing testrunner and cc report to look nicer
2007-09-02 20:05:48 +00:00
meus
d8ac77d5e1
fixing test runner to allow running custom groups
2007-09-02 18:08:13 +00:00
meus
92e524885e
fixed very simple support for subGrouping in tests
2007-09-02 17:55:42 +00:00
zYne
055d5fe914
2007-09-02 17:31:35 +00:00
zYne
be09b88f9e
tests for sqlite file-based dsn
2007-09-02 17:31:03 +00:00
meus
d08f492656
removing ending ?> and some tabs
2007-09-02 16:56:44 +00:00
meus
dc1f503e2f
moved ticket and data type tests
2007-09-02 16:43:41 +00:00
meus
08fffab63c
moving ticket testcases into Ticket dir
2007-09-02 16:32:26 +00:00
meus
b6eeaa6877
moved export test files back into models and modified path in testcase
2007-09-02 16:26:28 +00:00
meus
f943213f2c
fixed errors after cleaning up tests. removed some tabs
2007-09-02 16:19:32 +00:00
meus
e360684d1b
moved all models to trunk/models. removed some old invalid testcases
2007-09-02 14:24:49 +00:00
romanb
af2a83484f
refactored parameter stacking ( Fixes #442 ).
2007-09-02 09:28:38 +00:00
zYne
66d6136a92
some tests for MAP keyword
2007-09-01 22:21:17 +00:00
jackbravo
7bff012bcb
Test array fetching on table finder methods
2007-09-01 19:44:44 +00:00
zYne
97159eac6e
2007-09-01 17:56:14 +00:00
zYne
13941a6b86
2007-09-01 17:28:49 +00:00
meus
5d0caba0aa
New coverage report
2007-09-01 16:32:34 +00:00
zYne
ebc7d8d379
2007-09-01 16:26:58 +00:00
zYne
951b2875d8
formatting fix
2007-09-01 10:55:14 +00:00
jackbravo
f2193314d9
Test for possible bug and notify
...
The bug does appear if you clean the identityMap from the Group table before querying the DB
2007-08-29 20:07:08 +00:00
jackbravo
2d08773ea7
Reverted changeset 2271, increase in memory usage too big
2007-08-29 19:07:43 +00:00
jackbravo
11bae7774d
Uncommented some Aggregate test cases that now work
2007-08-27 18:57:09 +00:00
romanb
ce90ee576a
Fixed Doctrine_Node_NestedSet::getNumberChildren()
2007-08-20 07:45:29 +00:00
meus
cb688091c9
new coverage report against head
2007-08-17 05:18:08 +00:00
Jonathan.Wage
99ae59fd41
Changed import/export methods to importSchema() and exportSchema()
2007-08-16 22:42:35 +00:00
meus
b3e983abc3
Added failing test for ColumnAggregation. Type field is not automaitcally set
2007-08-15 10:26:51 +00:00
zYne
643b758b6c
some tests for Doctrine_Record::unlink()
2007-08-14 21:21:41 +00:00
zYne
2e9490fb5c
2007-08-14 20:31:57 +00:00
Jonathan.Wage
1b8e9ea091
Removed getState() method and changed all references to getState() to state()
2007-08-14 20:23:54 +00:00
zYne
7c857b67c1
2007-08-14 20:13:27 +00:00
zYne
703fd8eb7f
2007-08-14 20:05:15 +00:00
zYne
fdae3e3ef9
2007-08-14 19:56:54 +00:00
zYne
5fe334646a
2007-08-13 21:51:08 +00:00
zYne
e96617bb8c
2007-08-11 22:13:28 +00:00
meus
f395999403
fixed cc tool to adhere to codingstandard
2007-08-11 18:30:30 +00:00
nightfreak
6c0b5fd36c
added the fix for ticket #398 . also fixed the missing $coll->setReference() in Doctrine_Relation_Association::fetchRelatedFor()
2007-08-11 18:24:19 +00:00
nightfreak
2f85c85cf7
added the method refreshRelated() to Doctrine_Record
2007-08-11 17:49:43 +00:00
meus
f92cd7771b
added test to ensure that a link to a hasOne resource can be unset
2007-08-11 16:23:59 +00:00
meus
86af4c771b
fixing cc report
2007-08-11 13:45:51 +00:00
meus
d1a9e7a70b
adding coverage CLI flag to testrunner and updating coverage report
2007-08-11 13:30:14 +00:00
meus
c67cfaf218
fixed variable error in totals printing
2007-08-11 00:04:21 +00:00
meus
1c31b98b18
fixed typos
2007-08-11 00:02:52 +00:00
meus
f50bb705fe
fixed cc.php to show coverage report and cleaned up code somewhat
2007-08-10 23:59:40 +00:00
meus
e9eaa2a9f1
paths should be right now
2007-08-10 23:23:21 +00:00
meus
e653d1ba15
fixing graphical coverage report
2007-08-10 23:20:27 +00:00
meus
554c26a9f3
fixing code coverage report
2007-08-10 23:18:09 +00:00
zYne
28abbc2f1e
2007-08-10 21:00:40 +00:00
njero
5aaa598fc5
More tests around the hasOne problem
2007-08-10 05:08:31 +00:00
njero
8d483750b6
Njero Test shows the dangers of hasOne
2007-08-09 23:14:13 +00:00
njero
8ba35b6e2b
Make the Njero testcase live for hasOne hydration problem
2007-08-09 22:48:40 +00:00
zYne
9a4f9e2768
fixed formatting
2007-08-09 17:32:23 +00:00
zYne
1133b26c2b
2007-08-09 17:09:20 +00:00
nightfreak
818008492c
=When unserializing a serialized record the value of enum, array, object and gzip fields are restored + it is now possible to store an object of type Doctrine_Record in an object field
2007-08-07 15:37:30 +00:00
meus
14ec057104
modified testcase so that it fails with validators
2007-08-06 20:17:00 +00:00
romanb
7ad2c77a2d
- Updated nested set documentation
...
- Removed the reserved alias "base" from the nested set. It's no longer necessary to use that. Use whatever alias you want.
2007-08-04 14:33:15 +00:00
zYne
c9268d286f
2007-08-03 20:35:37 +00:00
zYne
2989260703
tests for the new templating model
2007-08-03 11:52:47 +00:00
phpbenben
9441f91d64
2007-08-02 19:40:54 +00:00
phpbenben
68cdfbaba8
Updated Record/StateTestCase that includes a test with a sequence of calls that check for the current values of the attributes and state of the Record class
2007-08-02 18:57:34 +00:00
zYne
474a21a2ac
2007-08-02 12:23:41 +00:00
zYne
a26a465cfb
2007-08-02 12:07:56 +00:00
zYne
36fa8016e7
tests for wildcards
2007-08-02 12:01:22 +00:00
zYne
df925300bd
2007-08-02 00:05:24 +00:00
zYne
2b32cc0722
2007-08-01 23:41:51 +00:00
njero
0e990f7594
Add test case for single field index as string
2007-08-01 16:43:44 +00:00
Jonathan.Wage
02dcacc7ae
Added new test for select expressions.
2007-07-31 20:42:36 +00:00
zYne
8002dfa3a5
2007-07-31 20:24:10 +00:00
zYne
9e90fee1ed
2007-07-31 20:08:50 +00:00
zYne
3471103892
2007-07-31 19:33:17 +00:00
zYne
d877b8239e
2007-07-30 19:34:05 +00:00
zYne
5866a6f78f
2007-07-30 19:01:59 +00:00
meus
7ab2e58609
added setSubclasses to abstractRecord. Fixed classes in tests. added some more output to the Test.php script
2007-07-30 19:01:16 +00:00
zYne
57a6200b5e
2007-07-30 15:54:50 +00:00
romanb
8a0898d3ed
Several fixes for mysql export module (incorrectly added indices)
...
Ticket: 408
2007-07-30 11:47:36 +00:00
romanb
7583a8d8ac
Preliminary fix for a bug that occurs when using NestedSet + Column aggregation inheritance
2007-07-29 19:38:11 +00:00
meus
15e43b6144
changed the assertions of the sqlite export testcases since apparently indexes and tables are done in two seperate queries. nothing wrong with that in my eyes atleast
2007-07-28 20:39:42 +00:00
meus
c38958debe
fixed output of cli testrunner
2007-07-28 20:28:20 +00:00
zYne
82f3ae52eb
new tests for search query language
2007-07-27 20:19:19 +00:00
zYne
20ca9109aa
2007-07-27 19:03:48 +00:00
zYne
975d7ab044
2007-07-26 23:44:18 +00:00
zYne
975069e025
2007-07-26 19:06:42 +00:00
zYne
7c7645f801
2007-07-25 20:47:25 +00:00
zYne
fbe1662721
2007-07-25 20:07:55 +00:00
zYne
0f1fb82d8d
2007-07-24 20:37:54 +00:00
gnat
c1709beaa4
commented out non-existing test case, and closed the unclosed code coverage block comment
2007-07-24 19:50:12 +00:00
gnat
1375d1332c
Added a test case that objects fail to update a field in proxy state.
2007-07-24 19:48:02 +00:00
zYne
f43ab79a40
2007-07-24 09:32:50 +00:00
zYne
eaf2fdcdce
tests for check constraints
2007-07-23 23:20:26 +00:00
meus
6b1c61965b
Preliminary graphical coverage report. If you want to play please replace all
...
paths with your absolute path to doctrine in the coverage.txt file and change
the path in coverage.php
Very very beta.
2007-07-23 21:36:20 +00:00
meus
b5f81c5153
fixed very basic code coveage report that prints percentage and total percentage
2007-07-23 20:47:29 +00:00
zYne
9fcf6cc1b0
2007-07-23 20:28:59 +00:00
meus
22792e7a9e
fixed new reporters
2007-07-23 19:22:31 +00:00
meus
239c842233
Fixed testrunner so that it prints out all errors. also fixed a CLI reporter ann a HTML reporter
2007-07-23 19:22:13 +00:00
zYne
489687318a
2007-07-23 18:54:22 +00:00
zYne
1e56808683
2007-07-23 18:53:42 +00:00
joel.alexandre
53cd5ed30b
Added Unit Test for ticket #337
2007-07-23 15:46:50 +00:00
meus
eca9f79dc8
removed array_unique in Hydrate/Record and added test to run.php fixes #403
2007-07-21 16:35:04 +00:00
meus
2865efcd08
Adding modified testcase from #403
2007-07-21 16:32:17 +00:00
romanb
75dbc8c841
Several bugfixes for the export module (expecially pgsql).
2007-07-21 15:17:17 +00:00
zYne
95e5dee986
2007-07-20 20:16:55 +00:00
zYne
a969e7a809
2007-07-20 20:16:14 +00:00
zYne
ef59c1957c
2007-07-20 20:03:54 +00:00
zYne
8b4e422083
2007-07-20 19:31:17 +00:00
zYne
919d050fe0
2007-07-20 19:25:50 +00:00
zYne
943a7c8bdc
2007-07-18 19:31:56 +00:00
zYne
fbf4462821
2007-07-16 18:46:55 +00:00
zYne
ca9b3fb66b
2007-07-16 18:46:25 +00:00
zYne
5b4c4ffd65
more efficient memory handling
2007-07-16 18:31:52 +00:00
njero
9ad3a0fc51
Test is working now, trying to make it fail...
2007-07-14 15:13:06 +00:00
njero
ab1a8848cf
Put the contents in the file
2007-07-14 15:05:49 +00:00
njero
0cd2bc7016
Jeff Rafter/njero temp test cases for relational mappings
2007-07-14 14:31:34 +00:00
zYne
0debccfe19
2007-07-13 16:22:36 +00:00
zYne
23c344f608
2007-07-12 22:32:01 +00:00
zYne
d87714050f
2007-07-12 21:50:08 +00:00
pookey
ada16bfb5d
Test case for incorrect population of nulls, refs #395
2007-07-12 20:12:38 +00:00
zYne
c1511dd391
2007-07-11 22:03:47 +00:00
romanb
e6d7127f5c
First tests for NestedSet.
2007-07-11 15:55:52 +00:00
zYne
d434174a96
added Search component, new record event listeners and some tests
2007-07-11 14:39:15 +00:00
zYne
dd2fbded0b
2007-07-09 21:45:00 +00:00
zYne
1c4f4f665b
2007-07-09 12:36:21 +00:00
zYne
5aea10ec39
2007-07-09 11:23:44 +00:00
zYne
54e5f45c61
2007-07-09 11:06:49 +00:00
zYne
84f764cf56
minor relation fix
2007-07-08 19:19:53 +00:00
romanb
532d3da4f1
Bugfix for hydration. (zyne, please have a look at the diff).
...
Improvements and enhancements to the NestedSet (not BC! please have a look at draft/nestedset_changes.tree).
Added a model that was missing in the repos (model/BlogTag).
Updated a testcase.
2007-07-08 12:57:52 +00:00
gnat
85ec506691
fix some an infinite recursion when deleting records that reference each other with ownsOne
2007-07-06 21:18:36 +00:00
zYne
56768b613f
fixed identifier quoting
2007-07-06 20:55:15 +00:00
zYne
362b844cab
2007-07-06 12:37:02 +00:00
zYne
95b5bc1afe
2007-07-06 11:56:12 +00:00
zYne
dbd49e9310
2007-07-05 23:47:48 +00:00
zYne
3d736d32b4
2007-07-05 23:25:36 +00:00
zYne
58f6d356e0
renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation
2007-07-05 23:21:29 +00:00
pookey
3874be57a4
refs #381
2007-07-05 23:02:39 +00:00
zYne
65f0cb8d27
2007-07-05 22:53:51 +00:00
zYne
ec39adcd73
2007-07-05 22:42:32 +00:00
zYne
378ed91ab6
2007-07-05 21:16:28 +00:00
zYne
615dcdb84e
2007-07-05 20:03:38 +00:00
Jonathan.Wage
660f83231b
Added new test case for saving blank records
2007-07-05 17:56:11 +00:00
zYne
e4114c47fa
fixed literal enum conversion with joins
2007-07-05 17:25:53 +00:00
zYne
fcee65cb86
2007-07-05 16:40:05 +00:00
zYne
20e6b007f7
2007-07-01 12:11:44 +00:00
zYne
cc7b1367fa
support for expressional column values
2007-07-01 11:27:45 +00:00
pookey
11f9940db2
Refs #376
2007-06-29 21:52:18 +00:00
pookey
1fcddf7252
Refs #375
2007-06-29 21:27:41 +00:00
Jonathan.Wage
96c1f16c5e
Added new test case
2007-06-29 19:23:19 +00:00
Jonathan.Wage
4b6a537c29
Initial entry
2007-06-29 19:22:55 +00:00
zYne
0624cbd867
2007-06-29 10:18:05 +00:00
zYne
6bedbdf3e0
2007-06-29 10:17:05 +00:00
zYne
5b2c57af1f
2007-06-28 21:43:31 +00:00
Jonathan.Wage
72f9c2b324
Fixed coding standard
2007-06-28 19:27:54 +00:00
pookey
d203d1194b
CS corrections
2007-06-28 19:24:35 +00:00
zYne
57b4a549f2
2007-06-28 19:19:47 +00:00
Jonathan.Wage
3740f03477
Added new test case
2007-06-28 19:02:55 +00:00
Jonathan.Wage
b3019ccae0
initial entry
2007-06-28 19:02:15 +00:00
romanb
59df6edff9
Addition to the validator tests.
...
Ticket: 354
2007-06-28 16:14:06 +00:00
zYne
b4ad603841
2007-06-28 11:56:56 +00:00
zYne
ccc51c72bc
formatting fix
2007-06-28 11:39:05 +00:00
zYne
501e8e9158
2007-06-27 22:40:17 +00:00
zYne
e1979612c7
2007-06-27 22:29:57 +00:00
zYne
f290439c52
2007-06-27 22:22:04 +00:00
zYne
2a2cb285a0
2007-06-27 18:42:47 +00:00
Jonathan.Wage
8ae8fa7c40
Added new test case for incorrect alias being used
2007-06-27 18:24:11 +00:00
zYne
279f3d69f9
2007-06-27 18:03:16 +00:00
Jonathan.Wage
1242c8e846
added test case for using aggregate functions in the orderby/having
2007-06-27 18:02:08 +00:00
Jonathan.Wage
3cdceb4cea
added new test case
2007-06-27 18:01:31 +00:00
zYne
07a710ef0b
2007-06-27 17:51:51 +00:00
zYne
858c1c0767
2007-06-27 17:44:49 +00:00
zYne
57ae92ccaf
2007-06-27 17:43:24 +00:00
zYne
a6139bb381
2007-06-27 17:41:02 +00:00
Jonathan.Wage
c7d5ea096d
Fixed error
2007-06-27 16:50:27 +00:00
Jonathan.Wage
1ea58b8392
Added mysql subquery test case
2007-06-27 16:47:06 +00:00
Jonathan.Wage
2e6c45f36b
INitial entry
2007-06-27 16:46:46 +00:00
zYne
81d39c5026
2007-06-26 23:12:45 +00:00
zYne
d70e10416b
2007-06-26 23:01:41 +00:00
zYne
625b6a3f82
2007-06-26 22:35:08 +00:00
zYne
c5fc122852
fixes #364 , optimized the bulkDelete for composite primary keys, security check for circular references in cascading saves
2007-06-26 13:08:58 +00:00
zYne
a3f2cae863
fixes #360
2007-06-26 10:05:26 +00:00
Tanken
73b9f36ec7
added test case to demonstrate PHP crashing when trying to save circular self-referencing relations (ticket #364 )
2007-06-25 21:56:22 +00:00
zYne
4e2418867e
2007-06-25 21:39:49 +00:00
Jonathan.Wage
fae059c8e0
Added failing unit test for count()
2007-06-25 21:00:37 +00:00
zYne
01772f9b9e
2007-06-25 20:59:42 +00:00
zYne
612793d9cb
fixes #359
2007-06-25 20:08:16 +00:00
zYne
ad21df553d
2007-06-25 19:25:23 +00:00
zYne
d58b96041e
formatting fix
2007-06-25 19:07:14 +00:00
zYne
1273563b31
Export now executes the constraint clauses after the CREATE TABLE clauses
2007-06-25 19:03:58 +00:00
zYne
c45823aa49
new transaction tests
2007-06-25 18:47:36 +00:00
zYne
fb46481ab2
added namespaces for event constants
2007-06-25 17:24:20 +00:00
zYne
e1fbae22a4
EventListener method names updated
2007-06-25 10:08:03 +00:00
zYne
11287992c7
tests for record template methods
2007-06-24 21:37:54 +00:00
zYne
e057ab7d77
added driver tests for Doctrine_Query
2007-06-24 21:05:56 +00:00
zYne
bf4429d69d
2007-06-24 20:35:22 +00:00
zYne
faf7766768
2007-06-24 18:45:21 +00:00
zYne
04bca791bc
2007-06-24 18:40:42 +00:00
pookey
689469a979
* Adding an orderby test case to aggregate test
2007-06-20 13:09:26 +00:00
pookey
bd3995d80a
* Added failing test case for RawSql.
2007-06-20 12:39:56 +00:00
zYne
113ac3b9e0
1. Merging two event listener APIs
...
2. Merging Doctrine_Db functionality into Doctrine_Connection
3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
5a15afc6cb
2007-06-19 22:26:41 +00:00
zYne
cd08faba45
2007-06-19 21:21:39 +00:00
zYne
ad3f5bb6ff
2007-06-19 19:51:25 +00:00
zYne
a108327d20
2007-06-19 19:02:28 +00:00
zYne
e9c61a566a
2007-06-19 11:19:53 +00:00
zYne
bbd9797da2
2007-06-19 10:54:11 +00:00
zYne
7aa35b7b8e
2007-06-19 10:09:48 +00:00
zYne
4346c9f818
2007-06-18 22:21:19 +00:00
zYne
e40a541b17
2007-06-18 22:13:14 +00:00
zYne
3c678fc5e9
some new export tests
2007-06-18 19:58:11 +00:00
zYne
d938e6a9b0
2007-06-18 18:23:42 +00:00
zYne
e1d295f31b
2007-06-18 18:05:16 +00:00
zYne
0833fc572d
tests for Firebird and Mssql sequence drivers
2007-06-17 17:51:35 +00:00
zYne
41e2eadddd
2007-06-14 21:48:14 +00:00
zYne
5b13dcded9
2007-06-14 21:40:22 +00:00
zYne
12379bda4a
2007-06-14 21:37:32 +00:00
zYne
ea6c4a1889
minor bug fixes
2007-06-14 21:26:45 +00:00
zYne
271b45595d
2007-06-14 21:25:30 +00:00
zYne
053b17df7b
added test case for Nest relations
2007-06-14 21:23:16 +00:00
zYne
2683210c7d
2007-06-14 21:09:01 +00:00
zYne
bb0f0e32ed
added doc blocks
2007-06-14 21:01:57 +00:00
zYne
5006400cf9
2007-06-14 20:42:05 +00:00
zYne
a28c399c1c
Ticket 330 closed.
2007-06-13 20:59:05 +00:00
zYne
3d0e985eeb
tests for multiple aggeragate values with array fetching
2007-06-13 11:02:57 +00:00
pookey
afda33da13
* Removing unneeded echo from Ticket330TestCase
...
* Adding above mentioned test case to the test script
2007-06-13 07:43:24 +00:00
zYne
a8791f6cb4
2007-06-12 22:26:59 +00:00
Jonathan.Wage
9988907e35
Fixed coding standard
2007-06-12 22:20:25 +00:00
Jonathan.Wage
813886a086
Added test for failing getLimitSubquery
2007-06-12 22:09:46 +00:00
Jonathan.Wage
7b2f77a622
Added MultipleAggregateValue test case
2007-06-12 21:35:18 +00:00
zYne
2ddfc0726a
2007-06-12 19:42:27 +00:00
zYne
e21281ae07
fixed formatting
2007-06-12 19:19:37 +00:00
zYne
632f85ba47
renamed test case
2007-06-12 19:15:16 +00:00
zYne
422890ceb0
2007-06-12 18:51:11 +00:00
zYne
69c8531deb
test files for the foreign key support
2007-06-12 18:26:27 +00:00
pookey
445d1f9c62
* Updating the test framework with an assertIdentical() call that uses the === operator rather then the == operator.
...
* Updating BooleanTestCase to use above mentioned function - and they now fail
2007-06-12 17:05:16 +00:00
pookey
fddaa17afb
Adding conditional class definition so that people who use the 'memcache' pecl module can run the tests.
2007-06-12 16:51:20 +00:00
zYne
1b807d8e97
added doc block
2007-06-12 11:22:15 +00:00
alpha1125
8573d33fd9
Testing foreign key reference that is not ID
...
Ticket: 343
2007-06-11 20:23:53 +00:00
zYne
595071f767
added full support for join table self-referencing
2007-06-11 19:27:16 +00:00
zYne
5d9465870d
2007-06-11 15:45:55 +00:00
zYne
a3bc368b50
2007-06-10 19:40:14 +00:00
zYne
70c23e59e3
added doc blocks, changed formatting
2007-06-10 19:35:33 +00:00
zYne
ddad4162ca
added doc block
2007-06-10 19:31:28 +00:00
zYne
8e071b75e3
2007-06-10 19:23:46 +00:00
zYne
15e28efdb4
2007-06-10 19:04:53 +00:00
zYne
b097669fbe
tests for DISTINCT functionality
2007-06-08 20:16:51 +00:00
zYne
d04fa55354
Some new tests for one-to-one relation handling
2007-06-08 20:01:13 +00:00
zYne
f6751a5606
2007-06-08 19:32:27 +00:00
zYne
ad42d14e68
2007-06-08 19:22:18 +00:00
zYne
be34a396d7
2007-06-07 20:46:26 +00:00
zYne
db02c85e57
2007-06-07 18:31:03 +00:00
zYne
a00c6061ab
One-to-one relation fetching fixed
2007-06-07 17:04:56 +00:00
romanb
00399c5636
added a testcase
2007-06-05 20:02:11 +00:00
romanb
cab7c8ea45
New test case for one-one relation fetching.
2007-06-05 19:33:09 +00:00
zYne
dcc3bd8c7d
2007-06-05 18:38:00 +00:00
zYne
b036987973
2007-06-05 18:01:39 +00:00
zYne
240fdee547
2007-06-04 22:35:33 +00:00
zYne
0f10828804
2007-06-04 22:24:32 +00:00
zYne
ae342b43a2
2007-06-04 21:50:12 +00:00
zYne
033d511ce3
2007-06-04 20:23:42 +00:00
zYne
38437492d2
2007-06-04 18:21:36 +00:00
zYne
2efc914cdd
2007-06-04 18:20:32 +00:00
romanb
2e6ed4d02f
Updated 2 test cases to outline two major issues with the new hydration (at least i think that it has to do with the problems):
...
1) When the result set is in a custom order, components may be doubled (this already occured half a year ago though the symptoms were different (items were assigned to the wrong collection).
2) Accessing related components that are already loaded (but empty) results in lots of extra queries. The only way to get around that is do wrap an isset() check around nearly all places before accessing a relation. This was not the case in earlier revisions though at that time an isset() was sometimes needed, too to prevent extra queries. But now it seems to be necessary everywhere.
2007-06-02 11:36:31 +00:00
zYne
2662b46e9a
DQL aggregate value model rewrite
2007-06-01 10:17:50 +00:00
zYne
6c42ff9216
2007-05-31 18:55:44 +00:00
zYne
a1bfac1135
2007-05-31 17:51:16 +00:00
zYne
ccd86ea0f8
2007-05-31 17:49:27 +00:00
zYne
23670ed01b
2007-05-30 22:03:35 +00:00
zYne
f5ae32814a
2007-05-30 21:26:19 +00:00
zYne
6628644e38
2007-05-29 20:09:25 +00:00
zYne
39e46088c5
2007-05-29 19:03:19 +00:00
zYne
95f539567d
2007-05-29 18:41:54 +00:00
zYne
063d0f876d
2007-05-29 18:32:58 +00:00
zYne
7130cb5a38
2007-05-28 19:01:24 +00:00
romanb
782f073ebe
Added a failing test.
2007-05-28 17:02:18 +00:00
zYne
b774c98777
2007-05-28 15:13:11 +00:00
zYne
fed8eac782
2007-05-28 15:06:15 +00:00
zYne
8386d6915e
2007-05-27 18:56:54 +00:00
zYne
5cd993cdcc
2007-05-27 17:51:28 +00:00
zYne
514d67ef05
2007-05-27 09:37:16 +00:00
zYne
f8893f27c2
2007-05-27 09:36:53 +00:00
zYne
58a5ca0c09
2007-05-26 17:13:06 +00:00
zYne
ebdfbcb779
2007-05-26 17:12:55 +00:00
zYne
4ceb4ac5eb
2007-05-24 14:51:35 +00:00
zYne
468e4801cf
2007-05-24 14:36:01 +00:00
zYne
16aba4058e
2007-05-24 14:24:32 +00:00
zYne
82da462265
2007-05-24 14:05:22 +00:00
zYne
b9be106fc5
2007-05-24 13:58:31 +00:00
zYne
134c944bc7
2007-05-24 13:04:57 +00:00
zYne
b3afff2664
2007-05-24 13:02:26 +00:00
zYne
cab55d0d06
2007-05-23 21:02:19 +00:00
zYne
b4edcf34a4
2007-05-22 15:59:44 +00:00
zYne
c06c81dd85
2007-05-21 21:31:52 +00:00
zYne
ad0c3e2c68
some new tests for the new relation parser
2007-05-21 20:28:20 +00:00
zYne
634d2d9834
2007-05-21 17:55:33 +00:00
zYne
17349244b0
2007-05-21 17:35:04 +00:00
zYne
0b9ea73aaf
2007-05-20 21:18:52 +00:00
zYne
d79e4d0b41
new tests for relation parser
2007-05-20 20:55:38 +00:00
zYne
f8549da9e4
2007-05-20 20:35:35 +00:00
zYne
7c2dc1a978
2007-05-20 19:28:21 +00:00
zYne
8fc2028b5b
added alias tests for rawSql component
2007-05-19 17:49:50 +00:00
zYne
68088c16c5
Enum support for placeholders!
2007-05-17 23:13:58 +00:00
zYne
827755afd3
2007-05-16 21:28:33 +00:00
zYne
f26217c87a
DQL core refactored
2007-05-16 19:20:55 +00:00
zYne
b50aceec1d
added TokenizerTestCase
2007-05-16 09:07:22 +00:00
zYne
2592739f2d
2007-05-15 22:13:59 +00:00
zYne
6a7130be55
2007-05-15 20:29:33 +00:00
zYne
4289bdd9ab
new model now supports DQL DELETEs and UPDATEs
2007-05-15 19:59:18 +00:00
zYne
fb29ca0b07
2007-05-15 17:23:07 +00:00
zYne
6cdb8d993b
2007-05-15 17:22:42 +00:00
zYne
a87e418354
2007-05-15 15:14:09 +00:00
zYne
04d0ffb989
2007-05-15 15:11:36 +00:00
zYne
129fa3360a
new DQL model now supports WHERE clauses and subqueries
2007-05-15 15:08:23 +00:00
zYne
dce54885e4
2007-05-15 14:36:07 +00:00
zYne
0f4c09d869
2007-05-12 23:00:25 +00:00
zYne
f4ad789a2d
2007-05-11 18:59:59 +00:00
zYne
2fdc29a368
2007-05-11 18:58:50 +00:00
zYne
c500f71082
2007-05-10 21:31:35 +00:00
zYne
a0beed0ab9
2007-05-10 20:09:32 +00:00
zYne
ac34484c13
2007-05-10 19:49:05 +00:00
zYne
d3a7b438f5
2007-05-10 19:27:20 +00:00
pookey
32b564e742
minor change to test suite making it behave better in cases of exceptions and fatal errors
2007-04-18 19:29:41 +00:00
pookey
772701eaa3
formatting changes to run.php
2007-04-18 19:28:21 +00:00
zYne
2274554e36
2007-04-18 19:03:36 +00:00
zYne
7a9a86a5c6
fixes #310
2007-04-17 17:25:08 +00:00
pookey
659ecb41b0
update to ticket #307
2007-04-16 11:47:34 +00:00
zYne
eaea971fe4
fixes #307
2007-04-14 16:28:09 +00:00
romanb
61dc5e19c2
2007-04-13 18:18:00 +00:00
pookey
eed2a37037
adding a failing test case for ticket #307
2007-04-12 19:20:30 +00:00
romanb
635bc1fa66
Improved the previous fix for the unique validator.
2007-04-12 13:37:45 +00:00
romanb
18766e6579
Fixed an issue with the unique validator.
2007-04-12 08:38:59 +00:00
zYne
7f68e096b1
2007-04-11 19:12:52 +00:00
meus
be9d359937
Fixed indentation and other issues related to coding style
2007-04-11 19:06:13 +00:00
meus
f402f879b2
Added support for fetching a subclass when querying the baseclass if the
...
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
romanb
4652ae5c50
Added a validator test.
2007-03-28 13:31:54 +00:00
romanb
2acb54d679
quick fix.
2007-03-28 11:08:00 +00:00
zYne
a03d7c6cd5
some tests for CHECK constraint parser
2007-03-23 20:26:25 +00:00
zYne
759c23f490
first draft for sqlite cascading delete emulation with triggers
2007-03-22 13:32:43 +00:00
zYne
306dd80312
sqlite foreign key support
2007-03-22 12:47:37 +00:00
zYne
f7a7472cae
Foreign key exporting added
2007-03-21 22:11:18 +00:00
zYne
fecce947ed
fixed the handling of hooked parameters
2007-03-02 18:47:46 +00:00
zYne
1dfbc5b007
fixed the handling of aliases within DQL DELETE and UPDATE queries
2007-03-01 21:48:09 +00:00
zYne
a2016e2e6c
2007-03-01 21:31:49 +00:00
zYne
a2046460b5
Relation model rewrite, draft 2
2007-02-17 12:38:02 +00:00
zYne
94e5ce739a
more tests
2007-02-17 11:09:34 +00:00
zYne
84cf99fbf8
2007-02-16 20:27:05 +00:00
zYne
0c82cfb041
2007-02-16 20:26:47 +00:00
zYne
584c55faac
2007-02-16 19:33:32 +00:00
zYne
04c60c846d
2007-02-16 19:33:11 +00:00
zYne
ccda68ddf5
2007-02-16 19:32:15 +00:00
zYne
d977aee4fa
2007-02-15 22:25:26 +00:00
zYne
097adf5142
Migrating test cases to be PHP 5.2 compliant
2007-02-15 22:21:10 +00:00
zYne
bb1cf022a3
Migrating test cases to be PHP 5.2 compliant
2007-02-15 22:20:44 +00:00
zYne
5a9c72c3ff
index tests
2007-02-11 22:55:19 +00:00
zYne
1f27c65b1a
2007-02-10 21:19:06 +00:00
zYne
a56fd1c73c
new tests
2007-02-10 21:02:26 +00:00
zYne
5ddd15fefc
new tests
2007-02-10 20:55:46 +00:00
zYne
0b9a92b9a8
2007-02-10 20:53:42 +00:00
zYne
12d391fb42
new tests
2007-02-10 20:48:45 +00:00
zYne
a5b31e9521
Some new cache tests
2007-02-09 20:03:58 +00:00
zYne
ddb45098c0
little fix
2007-02-07 15:13:43 +00:00
zYne
5e4d1c3fdf
added ORDER BY RANDOM()
2007-02-07 14:16:07 +00:00
zYne
24d694bf3e
2007-02-07 13:51:09 +00:00
zYne
e43e7d2a5c
2007-02-05 12:06:41 +00:00
zYne
a7d1bc5633
Cache implementation continues
2007-02-05 12:04:56 +00:00
zYne
1132282fee
Doctrine_Db_Statement no longer depends on PDOStatement
2007-02-01 22:46:59 +00:00
zYne
af3e40aef6
cache test case skeletons added
2007-01-29 21:37:51 +00:00
zYne
4319d095f6
little sequence handling fix
2007-01-29 20:10:51 +00:00
zYne
a39199f29d
DQL ORDER BY now supports ordering by an aggregate value
2007-01-27 10:50:03 +00:00
zYne
84a7fb7973
Fixed DQL subquery handling
2007-01-27 10:28:25 +00:00
zYne
5cbed200b6
2007-01-27 10:13:13 +00:00
zYne
871e73fe0e
2007-01-27 10:11:25 +00:00
zYne
25f1d5e8ff
Fixed DQL many-to-many alias handling
2007-01-27 10:08:06 +00:00
zYne
8303cdb908
updated datadict test cases
2007-01-27 10:06:48 +00:00
zYne
b6575631b3
added tests for mssql import driver
2007-01-25 22:27:20 +00:00
zYne
b7ab722920
2007-01-24 22:50:49 +00:00
zYne
4faa6e5442
added tests for the pgsql import driver
2007-01-24 22:13:52 +00:00
zYne
b6e8c40067
column alias support for DQL HAVING part
2007-01-23 16:40:46 +00:00
zYne
d77ffb28c9
added support for column aliases
2007-01-23 16:27:20 +00:00
zYne
ffa7ff54a8
Fixed pgsql and sqlite sequence handlers and test cases
2007-01-21 22:10:45 +00:00
zYne
1eb8b54d81
lots of refactorings
2007-01-21 18:31:51 +00:00
zYne
880ca14f74
added PDO based attributes, fixed DQL aggregate value handling with left joins + added some new tests
...
Ticket: 263
2007-01-17 22:07:09 +00:00
zYne
31da317fcc
added tests for firebird import driver
2007-01-15 21:54:08 +00:00
zYne
7131ab9e95
2007-01-15 18:48:50 +00:00
pookey
bf749ae434
setting execution time to 900 seconds
2007-01-15 18:22:38 +00:00
zYne
b441465ef7
Made the testcase template adhere to new CS
2007-01-14 22:45:08 +00:00
zYne
2f4801fe27
added tests for sqlite import driver
2007-01-14 22:44:23 +00:00
zYne
1f54f672eb
some tests updated
2007-01-12 11:38:03 +00:00
zYne
154d6c4f45
some new tests added
2007-01-11 22:58:28 +00:00
zYne
2efddca0e2
added sequence test case
2007-01-10 20:36:40 +00:00
zYne
e91feeafb7
little fix
2007-01-09 23:14:22 +00:00
zYne
2b7731d7e3
2007-01-09 23:12:17 +00:00
zYne
16c809443f
added query join test case
2007-01-09 23:11:32 +00:00
zYne
05d969515e
2007-01-09 22:59:15 +00:00
zYne
c8d0a378dd
updated sequence driver test cases
2007-01-08 00:12:29 +00:00
zYne
609a228d5f
added some tests for sqlite sequence driver
2007-01-08 00:00:26 +00:00
zYne
bd46df215d
2007-01-07 23:52:15 +00:00
zYne
af0d91fea5
2007-01-07 19:40:06 +00:00
zYne
6e5e5c2141
added some test case skeletons
2007-01-05 22:33:53 +00:00
zYne
1aecd11e34
2007-01-05 22:13:44 +00:00
zYne
b0f3a5d77a
test cases updated
2007-01-05 22:07:50 +00:00
zYne
83d89b766d
TreeStructure bug fixed
2007-01-04 21:08:56 +00:00
zYne
f900a51a7d
Custom join condition support for DQL
2007-01-03 15:34:34 +00:00
david
ececdadf2c
added a test for a self-referential tree structure using only one table
2007-01-03 14:56:03 +00:00
zYne
9f6a652a62
2007-01-01 18:41:24 +00:00
zYne
afb21d1a40
2007-01-01 18:36:37 +00:00
zYne
b18b38da25
added custom join condition support for DQL
2007-01-01 18:29:22 +00:00
zYne
611c65e759
added null key handling for Doctrine_Collection
2006-12-30 00:50:54 +00:00
zYne
1febda1189
Made the datadict driver testcases adhere to new coding standards
2006-12-30 00:08:53 +00:00
zYne
13cd9efaa1
new tests for pgsql datadict driver
2006-12-29 23:56:09 +00:00
zYne
8ab9395606
new tests for the oracle datadict driver
2006-12-29 22:24:32 +00:00
zYne
398c819161
tests for the mssql datadict driver
2006-12-29 22:12:36 +00:00
zYne
abc34cf070
new test for mysql driver
2006-12-29 21:54:52 +00:00
zYne
b4ac430dba
2006-12-29 21:26:56 +00:00
zYne
8c28e735ef
added new tests for firebird datadict driver
2006-12-29 21:26:03 +00:00
zYne
8110cf8e89
Mysql string > 255 now converts to TEXT type
2006-12-29 13:45:41 +00:00
zYne
2c7642a787
added tests for expressions in DQL select part
2006-12-28 11:19:05 +00:00
zYne
816d026d21
added tests for Mysql portable error handling
2006-12-28 00:47:50 +00:00
zYne
ca9abd7374
Added new tests for portable error code handling
2006-12-28 00:33:37 +00:00
zYne
01972591e6
added tests for Pgsql portable error handling
2006-12-28 00:19:38 +00:00