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
zYne
5d3a9160dc
added test case for Expression module base class
2006-12-28 00:07:32 +00:00
zYne
81bc672eab
2006-12-27 21:34:26 +00:00
zYne
71b218e78e
added Transaction driver test cases
2006-12-27 21:33:16 +00:00
zYne
a0c1692a09
added Import driver test case skeletons
2006-12-27 21:32:09 +00:00
zYne
2f380fa690
added Expression module test case skeletons
2006-12-27 21:31:19 +00:00
zYne
a364b86a10
Moved export test cases
2006-12-27 21:30:25 +00:00
zYne
ff5c84a080
Moved some tests
2006-12-27 21:27:25 +00:00
zYne
13333bcfa0
Refactored relation test cases
2006-12-27 21:25:51 +00:00
zYne
3beff58c8c
Moved query subtests to tests/Query dir
2006-12-27 21:24:28 +00:00
zYne
d1ad19fdd8
Modified the test structure
2006-12-27 21:20:26 +00:00
zYne
393093fea6
added TestCase for Sqlite portable error handling
2006-12-26 21:54:44 +00:00
zYne
0d4a5bb14b
added TestCase for Oracle portable error handling
2006-12-26 21:53:56 +00:00
zYne
f571c61ecf
2006-12-26 20:33:40 +00:00
zYne
cf939c6d3a
Doctrine_Hook first draft + test cases
2006-12-23 22:45:36 +00:00
zYne
7b48189ba5
new DQL aggregate value model
2006-12-21 22:06:08 +00:00
zYne
d8c48da227
added quote identifier support for limit subquery algorithm
2006-12-03 20:13:28 +00:00
zYne
df0511e9dc
Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling
2006-12-03 20:05:09 +00:00
zYne
127ad3a903
2006-12-02 20:51:26 +00:00
zYne
fcce6bd239
Updated transaction drivers, ORM core now uses the new Export API
2006-12-02 14:40:47 +00:00
zYne
cab5b432a6
Updated transaction drivers
2006-11-30 23:51:44 +00:00
zYne
4a1bff1428
2006-11-30 14:40:50 +00:00
zYne
faa5e603f0
Sqlite datadict driver tests
2006-11-29 22:34:14 +00:00
zYne
fe88258168
Updated classes to use new Transaction module
2006-11-29 21:09:02 +00:00
zYne
2241453570
Lots of small fixes, driver improvments and more tests
2006-11-28 23:26:44 +00:00
zYne
b8257aad63
updated datadict driver test cases
2006-11-28 18:39:31 +00:00
zYne
a4cab6ae91
added missing test cases
2006-11-28 17:56:51 +00:00
zYne
8b969d0398
added tests for oracle datadict driver
2006-11-27 22:49:13 +00:00
zYne
8815624b53
added tests for mysql datadict driver
2006-11-27 21:59:22 +00:00
zYne
9ed1eea1e9
More driver tests
2006-11-27 19:28:27 +00:00
zYne
01efe0ed22
updated driver tests
2006-11-24 23:23:52 +00:00
zYne
41e5b46618
updated datadict driver tests
2006-11-24 23:23:21 +00:00
zYne
b6583680a1
added new datatype tests for sqlite
2006-11-24 16:06:12 +00:00
zYne
b1d5eedb47
Updated test cases
2006-11-23 23:23:24 +00:00
zYne
4a7487567d
added new test cases for transaction drivers
2006-11-23 15:30:00 +00:00
zYne
12520b3401
added test case for pgsql transaction module
2006-11-22 23:40:21 +00:00
zYne
ec662f3ee4
added new driver tests
2006-11-22 23:35:34 +00:00
zYne
ee5a7f8c1b
Added super class for all export test cases
2006-11-22 00:26:34 +00:00
zYne
f5fc3a6e5b
added tests for pgsql export driver
2006-11-22 00:19:23 +00:00
zYne
7e32cde027
added tests for firebird export driver
2006-11-22 00:19:00 +00:00
zYne
d97c78dad8
updated query limit test case, added new tests for mysql export driver
2006-11-22 00:18:33 +00:00
zYne
14075fa7ec
Added some tests for new attributes
2006-11-21 23:34:12 +00:00
zYne
ff42bc9f90
2006-11-18 20:27:09 +00:00
zYne
6d4e947eef
added UnitOfWork test case
2006-11-16 22:07:13 +00:00
zYne
6daa1e3443
fixed references to deprecated getTransaction() and getUnitOfWork() methods
2006-11-16 20:31:39 +00:00
zYne
02cc9b2f6c
Removed cache constants, added portability constants
2006-11-16 12:45:34 +00:00
romanb
799102b280
Enhancements and refactorings for the offline locking manager.
...
Ticket: 225,226
2006-11-11 20:28:54 +00:00
zYne
cbc157fbae
replaced the old Doctrine_Db with new one
2006-11-11 20:00:30 +00:00
zYne
cd80b593f8
Small fixes
2006-11-11 19:51:51 +00:00
pookey
7d7c47070a
fixing case in files
2006-11-11 19:35:33 +00:00
pookey
d33e69deb3
fixing case in files
2006-11-11 19:32:34 +00:00
pookey
b3c5aeb225
issues with case sensitivity
2006-11-11 10:54:55 +00:00
zYne
28ea79488a
2006-11-10 23:15:34 +00:00