1
0
mirror of synced 2024-12-14 23:26:04 +03:00
Commit Graph

268 Commits

Author SHA1 Message Date
romanb
4e4320d99e reenabled the plugin tests. they seem to work now. 2007-11-25 13:03:52 +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
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
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
18c40c3b5e Added test case for Ticket #480 2007-11-16 09:53:02 +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
meus
f81e4fdcc7 Added failing testcase references #589 2007-11-09 00:19:14 +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
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
zYne
6825767cba removed deprecated schema test case 2007-10-18 19:36:54 +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
fc2b7ba81a some auditlog tests added 2007-10-08 22:59:39 +00:00
zYne
a20ceff363 tests and implementation for hydrate hooks 2007-10-05 22:31:02 +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
zYne
2c99d8e497 2007-09-29 14:35:40 +00:00
romanb
02dd8b1a79 Validator refactoring. 2 new validators: past & future 2007-09-29 12:31:56 +00:00
Jonathan.Wage
35ef784eaa Initial entry of Doctrine_Resource and other fixes. 2007-09-21 02:48:13 +00:00
Jonathan.Wage
b41259b04a 2007-09-19 16:26:28 +00:00
zYne
5c098a22b1 2007-09-17 21:16:54 +00:00
Jonathan.Wage
a170822788 Fixes for yml importing/exporting of schema. 2007-09-14 19:14:40 +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
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
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
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
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
a6cc048940 Avoid including temporary files like the ones created by vi or emacs 2007-09-03 16:31:35 +00:00
meus
f798820233 removed test that throw notice and fix some more test groups. 2007-09-03 15:18:12 +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
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
meus
dc1f503e2f moved ticket and data type tests 2007-09-02 16:43:41 +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
Jonathan.Wage
99ae59fd41 Changed import/export methods to importSchema() and exportSchema() 2007-08-16 22:42:35 +00:00