1
0
mirror of synced 2024-12-12 22:36:02 +03:00
Commit Graph

4293 Commits

Author SHA1 Message Date
beberlei
775bd5d0da [2.0] Restriction of coverage to library path 2010-02-07 00:29:45 +00:00
beberlei
3fdd9e537a [2.0] Add generation of clover coverage report into testing target of build.xml 2010-02-07 00:13:22 +00:00
beberlei
0b058c0609 [2.0] DDC-302 - Fix failures occuring from Sqlite Tests in this regard - No test coverage for this features now. 2010-02-06 23:31:47 +00:00
beberlei
32eb644c62 [2.0] Updated Build process to use a new PHPUnit Phing Task and seperate "Common" and "Performance" Tests into different executions, the first one halts on failures the second doesnt. 2010-02-06 23:19:11 +00:00
beberlei
0fa136e369 [2.0] Fixed two annoyances in OrmFunctionalTestCase::onNotSuccesfulTest overwrite. 2010-02-06 21:26:56 +00:00
beberlei
fcab40ffe1 [2.0] Exclude performance tests from build "test" target 2010-02-06 20:45:37 +00:00
beberlei
cf302e4154 [2.0] Exclude performance tests from build "test" target 2010-02-06 20:43:46 +00:00
beberlei
595993b7aa [2.0] DDC-301 - Fix side-effect to test which caused test-failure because of previous commit. 2010-02-04 19:25:37 +00:00
beberlei
b59bcc9222 [2.0] DDC-301 - Fix side-effect to test which caused test-failure because of previous commit. 2010-02-04 18:25:28 +00:00
beberlei
e500669165 [2.0] DDC-301 - Table Primary Key Columns should explicitly set to notnull => true. 2010-02-04 18:23:38 +00:00
beberlei
7cf8d1ae52 [2.0] DDC-268 Added missing duplicateAssociationMapping() method to MappingException 2010-02-02 21:46:39 +00:00
beberlei
dcfb856dde [2.0] DDC-259 - Added SQL statement terminator symbol to dump-sql mode SchemaToolTask 2010-02-02 21:22:57 +00:00
beberlei
703ba989be [2.0] DDC-268 - Exchanged DoctrineException for MappingException and added missing exception method (thanks to Christian Heinrich for the patch) 2010-02-02 21:17:00 +00:00
beberlei
ee9aa005b2 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, XML and YAML driver, updated SchemaTool to use Join Column definition instead of using the column's columnDefinition if specified. Refactored MappingDriverTest to allow for feature specific test-cases instead of one large assertion block. Fixed typos in XmlDriver - Updated doctrine-mapping.xsd Schema File 2010-02-01 21:48:27 +00:00
beberlei
2fa58ee7b8 [2.0] DDC-296 - Fix in quoting 2010-02-01 19:20:37 +00:00
beberlei
310d98cffe [2.0] DDC-296 - Implement and document Mysql Session Init 'postConnect' Subscriber 2010-02-01 18:56:06 +00:00
beberlei
cb7fbee1b0 [2.0] DDC-295 - Add OracleSessionInit postConnect Subscriber 2010-01-31 22:01:58 +00:00
beberlei
e7f5089ea4 [2.0] DDC-294 - Added "postConnect" event in Doctrine\DBAL\Connection and refactored TestUtil to allow configuration of DBAL EventManager Subscribers by the use of PHPunit Xml configuration. 2010-01-31 21:51:15 +00:00
beberlei
3ea1f8064a [2.0] DDC-290 - Enhance OCI8 Error handling and convert errors to exceptions where necessary. 2010-01-31 18:17:05 +00:00
beberlei
8d607b1b78 [2.0] DDC-289 / DDC-264 - Added a Model and TestCase for OneToMany Unidirectional Assocations using a JoinTable and tested its defining feature (uniqueness). 2010-01-31 14:35:10 +00:00
beberlei
3bec7689a7 [2.0] Fixed little invalid string where array is necesary bug in SchemaTool 2010-01-31 11:50:34 +00:00
guilhermeblanco
f6d17b79d8 [2.0][DDC-286][DDC-287] Fixed missing method and casting. Thanks Hannes for reporting and patch. 2010-01-30 21:11:13 +00:00
beberlei
1e135d951e DDC-282 - Additional assertions to show that use of (bool) for cascade in xml driver is working correctly 2010-01-30 20:24:38 +00:00
romanb
d76096d045 [2.0][DDC-288] Removed deprecated flush modes. 2010-01-29 21:36:05 +00:00
romanb
94d41dfbdc [2.0][DDC-279] Fixed. 2010-01-29 21:24:29 +00:00
hobodave
1ad982a4fe [2.0][DC-460] Refactored cache bulk deletion methods to use driver specific features to retrieve list of keys. Also, refactored tests
so that all methods are tested for all drivers.

Removed:

- Doctrine\Common\Cache\AbstractCache::count()
- Doctrine\Common\Cache\AbstractCache::deleteAll()

API Changes:

- Doctrine\ORM\AbstractQuery::getResultCacheId() now public

Bugs fixed:

- Doctrine\Common\Cache\AbstractCache::deleteByPrefix() was deleting _every_ key in cache
2010-01-29 01:38:37 +00:00
guilhermeblanco
a8bcf0f7ac [2.0][DDC-281] Fixes for Mapping drivers 2010-01-28 19:47:11 +00:00
guilhermeblanco
443a20569b [2.0][DDC-281] Fixes for Mapping drivers 2010-01-28 19:38:16 +00:00
guilhermeblanco
14ec40e1e6 [2.0][DDC-281] Fixed several issues with mapping drivers and loading of mapping files. 2010-01-28 12:46:12 +00:00
beberlei
a652bc69b3 [2.0] DDC-247 - Fix bug with nullable not working in XML field and join-column properties. 2010-01-27 23:00:55 +00:00
guilhermeblanco
9d7bd7336c [2.0] Fixing issue with multiple class directory loading in Annotations driver 2010-01-27 22:04:37 +00:00
beberlei
8336bcc71c [2.0] DDC-279 - Commit testcase that shows it works. 2010-01-27 20:56:56 +00:00
beberlei
4e3edec899 [2.0] Fix typo in variable name of AbstractFileDriver::getAllClassNames() 2010-01-27 19:21:07 +00:00
guilhermeblanco
cfb42d2eb9 [2.0] Fix for CLI Configuration and PEAR installer 2010-01-27 19:20:47 +00:00
beberlei
f8df621751 [2.0] DDC-278 - Add missing "columnDefinition" attribute to field tag of XML Schema for Doctrine Mapping. 2010-01-27 18:10:29 +00:00
beberlei
60d00a63b3 [2.0] Add Message to NoResultException 2010-01-27 18:00:10 +00:00
beberlei
4e8e7b8b0f [2.0] DDC-277 - Added entry to UPGRADE_TO_2_0 Readme about removal of default mapping option. 2010-01-26 22:03:26 +00:00
beberlei
21de3d3ff2 [2.0] DDC-277 - Remove support "default" option in metadata mappings, but keep it as a concept in DBAL layer to support for example versionable entities. 2010-01-26 21:46:10 +00:00
beberlei
eebb7c7e18 [2.0] DDC-277 - Remove support "default" option in metadata mappings, but keep it as a concept in DBAL layer to support for example versionable entities. 2010-01-26 21:45:20 +00:00
beberlei
2036c95834 [2.0] DDC-92 - Refactored Doctrine\DBAL\DriverManager some more in regards to exceptions and added some more test-cases. 2010-01-23 23:12:27 +00:00
beberlei
bbce4a407a [2.0] DDC-92 - Removed DoctrineException from Doctrine\DBAL\DriverManager and replaced with more specific DBALException's 2010-01-23 22:59:48 +00:00
beberlei
03132fedfd [2.0] Fixed Docblock comment of CliController::__construct 2010-01-23 15:07:24 +00:00
romanb
61d6c17c49 [2.0] Fixed bin/doctrine.php for PEAR distribution. 2010-01-22 16:42:48 +00:00
beberlei
c0d023c511 [2.0] Removed accidentlly committed .orig patch files. 2010-01-22 16:29:48 +00:00
romanb
4bec3e2c49 [2.0][DDC-263] Fixed. Patch provided by Christian Heinrich. 2010-01-22 15:10:13 +00:00
romanb
c4549c4541 [2.0][DDC-260] Fixed/Corrected patch. 2010-01-21 22:26:36 +00:00
romanb
572f728153 [2.0][DDC-260] Fixed/Corrected patch. 2010-01-21 22:25:42 +00:00
guilhermeblanco
37cb86fe81 [2.0][DDC-260] Added support for better error reporting on ClassMetadata 2010-01-21 19:52:17 +00:00
beberlei
9cd0379f53 [2.0] DDC-200 Implemented support for @columnDefinition - even with support to pass the definition to join columns if necessary for relations. 2010-01-20 22:35:18 +00:00
romanb
46ed63d131 [2.0][DDC-251] Fixed. 2010-01-18 12:50:39 +00:00