The following testcase is just an start point. It verifies that the administrator interface is working, and currently shows several issues: notices in add/edit/clone/delete form processing, a variable not being set in the settings page and a simple string format issue.
I can not upload patches for these issues because they are in the admin.inc file, that has double endline markers as I posted in #1038910: Wrong endline marker in mailhandler.admin.inc file.. Any attempt to create a patch for me lands in a complete file being changed.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | mailhandler_imap_test.patch | 885 bytes | ilo |
| #7 | mailhandler_imap_test.patch | 912 bytes | ilo |
| #6 | mailhandler_imap_test.patch | 889 bytes | ilo |
| #4 | mailhandler_test_mailbox.patch | 3.91 KB | ilo |
| #2 | mailhandler_test_mailbox.patch | 3.9 KB | ilo |
Comments
Comment #1
ilo commentedI've committed (http://drupal.org/cvs?commit=488698) a modified version of this patch to reduce the noise and be able to test following patches. From now on, code changing patches will include their custom test checks.
This is the last commit to have a working testable base and keep submitting patches.
Comment #2
ilo commentedBefore we start the clean up, this updated testcase will verify it is able to open a mailbox and some basic authorization. The test function is minimal, as long as it will only verify the parts that we are going to touch in further patches.
Comment #4
ilo commentedRerolling..
Comment #6
ilo commentedmmm
Comment #7
ilo commentedlets see
Comment #8
ilo commentedammm.. this is taking me crazy :)
Comment #10
ilo commentedWell, this is a problem. I'll try to find a way to get this working, but the testbot does not have the imap extension available.
Comment #11
danepowell commentedI was wondering how exactly this would work... I didn't figure that Simpletest would support anything related to retrieving email, which defeats about 90% of its usefulness for us... let me know if you figure out how to get this working.
Comment #12
danepowell commentedSorry, 6.x-1.x is no longer a supported release. Please try upgrading to 6.x-2.x and reopen if still an issue.