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

852 Commits

Author SHA1 Message Date
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