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

776 Commits

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