Re: Request for comments on Unitests for Net_FTP
| From: | Tobias Schlitt | Date: | Thu, 25 Sep 2003 11:06:55 +0000 |
| Subject: | Re: Request for comments on Unitests for Net_FTP | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21984@lists.php.net to get a copy of this message | ||
<zitiere wer="Michael Wallner">
>> An idea, of course. But I have to handle the correctness of
>> the inserted data before testing the class. Thats a bit ugly I
>> think.... Don't you?
> I think there's no other reasonable option.
> If you want to test a DB package you would have to provide the
> credentials to gain access to the DBMS, too.
Maybe i'll take the solution, that you have to provide the information while
initializing the test or so... Do you think that's reasonable?
--
<?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*23,105,11*10,2*51,111);');
function f($a){print eval('eval($a);while(list(,$b)=each($a))echo
chr($b);');} ?>