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

1173 Commits

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