|
Re: [MDB] about test case framework: msg#00379php.pear.general
Hi, sorry for my questions, I try to understand how the tests/drivers works. At the begining of driver contructor I have (from mssql.php) : function MDB_mssql() { $this->MDB_Common(); $this->phptype = 'mssql'; $this->dbsyntax = 'mssql'; $this->supported['Sequences'] = 1; $this->supported['Indexes'] = 1; $this->supported['AffectedRows'] = 1; $this->supported['Summaryfunctions'] = 1; $this->supported['OrderByText'] = 0; $this->supported['CurrId'] = 1; $this->supported['SelectRowRanges'] = 0; $this->supported['LOBs'] = 1; $this->supported['Replace'] = 0; $this->supported['SubSelects'] = 1; What means supported here: Supported by the driver, or supported by the database. I mean a database can support a feature, but the driver does not implement it ? >From the test cases, I got for example : mdb_usage_testcase : Starting testtransactions ... Failure 1 : This database does not support Transactions expected true, actual false There were 1 failures for testtransactions There were 0 errors for testtransactions I understand it is normal that the test case print "This database does not support Transactions", since this property is not even defined. But I don't undestand "expected true". How the test know that it should be true? Also, what is the complete preperty list that should be defined in each driver? Here I think Transactions should be defined since mssql support them. -- Thierry bothorel -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ANNOUNCEMENT] System_ProcWatch-0.3 (beta) Released.: 00379, PEAR Announce |
|---|---|
| Next by Date: | RE: [MDB] about test case framework: 00379, Lukas Smith |
| Previous by Thread: | RE: [MDB] about test case frameworki: 00379, Lukas Smith |
| Next by Thread: | RE: [MDB] about test case framework: 00379, Lukas Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |