Re: IT[X] unit tests

From: Date: Tue, 18 Feb 2003 15:50:56 +0000
Subject: Re: IT[X] unit tests
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13461@lists.php.net to get a copy of this message
18 Февраль 2003 18:05, Pierre-Alain Joye написал: > > Now, both stock version of IT and my version pass the API tests > > (except the functions that are only available in my fork, of course). > > As for ITX, my version passes all the tests, but the stock version > > does *not*, due to some obvious bugs. > > Tell me more please, which bugs ? Well, you can run the tests and see for yourself. ; Well, OK, the first is that if you do $tpl->setTemplate('{var}'); if ($tpl->placeholderExists('foobar')) { echo "broken!" } it will print "broken!" The second bug is that the third parameter for replaceBlockfile() gets silently discarded instead of passed on to replaceBlock() > > > I'm going to add some more tests to the IT[X] usage testcase and write > > some testcase for prepared templates caching and for bu... er, > > backwards compatibility features, after that I'll consider the thing > > finished and will start the flame again, be prepared. :] > > Do not go again on the wrong road, please. :) OK, I'll try not to... ;

« previous php.pear.dev (#13461) next »