cvs: pear /Net_IMAP/tests testIMAP.php
| From: | Sebastian Ebling | Date: | Mon, 22 Jan 2007 20:46:15 +0000 |
| Subject: | cvs: pear /Net_IMAP/tests testIMAP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44343@lists.php.net to get a copy of this message | ||
hudeldudel Mon Jan 22 20:46:15 2007 UTC
Modified files:
/pear/Net_IMAP/tests testIMAP.php
Log:
added simple test for getStorageQuotaRoot()
http://cvs.php.net/viewvc.cgi/pear/Net_IMAP/tests/testIMAP.php?r1=1.6&r2=1.7&diff_format=u
Index: pear/Net_IMAP/tests/testIMAP.php
diff -u pear/Net_IMAP/tests/testIMAP.php:1.6 pear/Net_IMAP/tests/testIMAP.php:1.7
--- pear/Net_IMAP/tests/testIMAP.php:1.6 Thu Jan 11 14:27:29 2007
+++ pear/Net_IMAP/tests/testIMAP.php Mon Jan 22 20:46:15 2007
@@ -13,7 +13,7 @@
* @author Sebastian Ebling <hudeldudel@php.net>
* @copyright 2006 Sebastian Ebling
* @license http://www.gnu.org/copyleft/gpl.html
- * @version CVS: $Id: testIMAP.php,v 1.6 2007/01/11 14:27:29 hudeldudel Exp $
+ * @version CVS: $Id: testIMAP.php,v 1.7 2007/01/22 20:46:15 hudeldudel Exp $
* @link http://pear.php.net/package/Net_IMAP/
*/
@@ -302,6 +302,15 @@
$this->logout();
}
+ public function testGetStorageQuotaRoot()
+ {
+ $this->login();
+ $this->fixture->selectMailbox('INBOX');
+ $result = $this->fixture->getStorageQuotaRoot();
+ $this->assertTrue(!PEAR::isError($result), 'Can not get QuotaRoot');
+ $this->logout();
+ }
+
}
?>