Re: New IMAP tests / modifications
| From: | Olivier Doucet | Date: | Sat, 12 Sep 2009 13:19:58 +0000 |
| Subject: | Re: New IMAP tests / modifications | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65372@lists.php.net to get a copy of this message | ||
Hello everyone,
Here is a full patch for imap tests, including all .diff sent the last few
days + new tests done today.
This patch has been successfully tested on PHP5.3 branch.
http://www.pastebin.ca/1563131
I tried to improve the code coverage, by :
- adding more syntax check for functions (so that any new version does not
broke function syntax)
- covering more imap functions
Code Coverage
--------------------
Before the patch: 908/2023 (44.9%)
After the patch: 1385/2023 (68.5%)
All new tests are running ok on my installation (status PASS)
I encountered a problem with function imap_listscan : this function does not
exist on my php binary. I cannot find any reason why this is happening. If
it's a specific function available only with a specific build, we should say
so in the documentation, don't you think ? Or maybe it's a bug ?
Also, is function imap_mail() still active or is it deprecated ?
Olivier