745 Commits

Author SHA1 Message Date
Lea Haensenberger
2feb1ab153 Use TRUNCATE...CASCADE to purge the database when reloading the fixtures. Otherwise the command is failing when trying to purge a table with foreign keys. 2011-06-30 15:17:03 +02:00
Benjamin Eberlei
d6b447044b Merge pull request #9 from comfortablynumb/order-by-parent-class
Order by parent class
2011-06-11 00:23:03 -07:00
Benjamin Eberlei
620680ca06 Merge pull request #13 from l3pp4rd/reference-repository-upgrade
Reference repository upgrade
2011-06-11 00:19:52 -07:00
Benjamin Eberlei
6695f868ae Merge pull request #16 from makasim/skip-abstract-fixture
Skip abstract fixture
2011-06-11 00:17:44 -07:00
Maksim Kotlyar
2772d29c78 Merge branch 'master' of https://github.com/doctrine/data-fixtures into skip-abstract-fixture 2011-06-08 15:39:11 +03:00
Maksim Kotlyar
a5a66eece5 skip abstract 2011-06-08 15:38:37 +03:00
Benjamin Eberlei
b9131820f4 Merge pull request #10 from sixty-nine/phpcr-fixtures
Initial import of phpcr fixtures
2011-06-07 08:30:16 -07:00
Daniel Barsotti
a364d84456 Removed PHPCRPurger.deleteAllNodes 2011-06-07 15:08:29 +02:00
Benjamin Eberlei
91ff6ebbb7 Replace straight DELETE TABLE in ORMPurger with a call to AbstractPlatform#getTruncateTableSQL() 2011-06-05 19:51:58 +02:00
Jonathan H. Wage
2f082ea0cb Merge pull request #15 from llsousa/readme
Fixed typo on README file
2011-05-26 06:06:52 -07:00
Luis Sousa
9bb2eea8f4 Fixed typo on README file 2011-05-26 10:19:06 +01:00
gediminasm
9a7d2cae02 modified reference repository to handle references differently in case if it gets unmanaged, now it uses two strategies, if reference is managed it will simply return it, otherwise it will load proxy by its identifier 2011-05-17 22:56:15 +02:00
gediminasm
2e3d1e7788 added tests for new functionality of reference repository 2011-05-17 22:55:55 +02:00
Gustavo Adrian
e060999f9e [Dependent Fixtures] Added some more checks and unit tests 2011-04-08 12:38:23 -03:00
Daniel Barsotti
4aeac931f4 Removed unused reference to Jackalope\Node 2011-04-07 15:56:36 +02:00
Dan
ddce41cef2 After the removal of Symfony DIC references, PHPCRExecutor is basically a copy of the MongoDBExecutor, modified the @author to reflect that + cleanup 2011-04-04 18:39:00 +02:00
Daniel Barsotti
8431b15c7f Removed references to Symfony DIC from the PHPCRExecutor and removed the PHPCRFixtureInterface which is not needed anymore 2011-04-04 14:36:27 +02:00
Daniel Barsotti
3d0f74d85b Initial import of phpcr fixtures 2011-04-04 11:02:40 +02:00
Gustavo Adrian
5d4ed6d2cb [DependentFixtureInterface] Now both orders are executed if necessary. Added more units tests too. 2011-04-02 13:23:23 -03:00
Gustavo Adrian
4d4d8a4eaf Fixed some more CS related issues 2011-04-01 08:00:56 -03:00
Gustavo Adrian
c8bed58e8e Fixed some CS issues and added more checks on ordering by parent classes feature 2011-04-01 05:48:07 -03:00
Gustavo Adrian
894cd6fba5 Added to fixtures a way to add multiple parents. Unit tests were added too 2011-04-01 04:55:00 -03:00
Gustavo Adrian
cfbf6abdb9 Added unit tests 2011-03-31 09:11:48 -03:00
Gustavo Adrian
9077a78079 Fixed some typos 2011-03-31 08:41:34 -03:00
Gustavo Adrian
4ccb106c5b Fixed some typos 2011-03-31 07:20:49 -03:00
Gustavo Adrian
ad264fcbae Fixed some typos 2011-03-31 07:18:13 -03:00
Gustavo Adrian
e9744f905c Added an interface to have a way to order fixtures based on a parent class 2011-03-31 06:32:19 -03:00
Jonathan H. Wage
9a751b3643 Merge branch 'fixture-ordering-and-references', remote branch 'origin' 2011-02-26 11:43:10 -06:00
Jonathan H. Wage
a84a3e1903 Removing unnecessary logic in ReferenceRepository#setReference() 2011-02-26 11:34:37 -06:00
Jonathan H. Wage
dcd9f78bbe Removing need to create temp dir. 2011-02-26 10:54:02 -06:00
Jonathan H. Wage
830a493c4d Merged fixture ordering and references and tweaked it a little bit. 2011-02-26 10:45:16 -06:00
gediminasm
2a0aced234 implemented possibility to manually set fixture execution order 2011-02-14 00:14:04 +02:00
gediminasm
669fb86aa4 Implemented the sharing of references for the fixtures 2011-02-13 22:53:34 +02:00
gediminasm
18dbe2a767 Initial functionality for storing the fixture references 2011-02-13 00:55:12 +02:00
ornicar
374d037b23 Dramatically improve fixture loading performances. 2011-02-12 12:35:12 -06:00
Jonathan H. Wage
e6f95fe128 Fixing data fixtures file loader so it only loads php files. 2011-02-12 12:32:58 -06:00
Martijn Evers
e4799a18ad Fixed Loader::loadFromDirectory iterates over directory dots 2010-10-05 10:43:27 -05:00
Jonathan H. Wage
5933216faf Refactoring to allow a logger for fixture execution. 2010-10-04 23:46:39 -05:00
Jonathan H. Wage
8b80927875 Bug fixes from refactoring. 2010-10-04 00:04:26 -05:00
Jonathan H. Wage
e8730a73c3 Refactoring to support both mongodb and orm in same library. 2010-10-03 22:04:04 -05:00
Jonathan H. Wage
7175895d27 Adding Executor::setPurger method 2010-10-03 18:22:03 -05:00
Jonathan H. Wage
d2e99c2421 Fixing spelling error. 2010-10-03 18:13:33 -05:00
Jonathan H. Wage
a5f54fecd5 Refactoring and adding proper unit tests. 2010-10-03 17:55:01 -05:00
Jonathan H. Wage
e1976ccdb4 Wrapping execution in transation. 2010-09-20 17:53:59 -05:00
Jonathan H. Wage
4a860e98d5 first commit 2010-09-20 17:24:15 -05:00