Re: Re: cvs: pear /MDB2/tests MDB2_usage_testcase.php
| From: | Lukas Kahwe Smith | Date: | Sun, 20 Aug 2006 18:46:24 +0000 |
| Subject: | Re: Re: cvs: pear /MDB2/tests MDB2_usage_testcase.php | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43745@lists.php.net to get a copy of this message | ||
Daniel Convissor wrote:
Hi Lukas: On Sun, Aug 20, 2006 at 08:06:14PM +0200, Lukas Kahwe Smith wrote:Ah ok. I am beginning to understand. Since obviously some people might rely on how a given driver behaves if the portability features are disabled, that this is also tested. Fair enough. Something that should indeed be covered. regards, LukasNot sure I understand what you are saying....RDBMS xyz does not automatically RTRIM data coming from a CHAR field.I'm proposing (additional ?) tests that run under MDB2_PORTABILITY_NONE. The test would be something like this for the test you used above: switch mysql:$expected = 'some string';mssql:$expected = 'some string ';if ($actual == $expected) echo great else echo oops My proposal is in response to what I thought your initial question was in this thread. Perhaps I misunderstood. If so, tests like this might be a good thing anyway. All that aside, this is just a suggestion.