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

843 Commits

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