Open
Bug 555346
Opened 14 years ago
Updated 2 years ago
Demonstrate message injection test framework in imap context
Categories
(MailNews Core :: Testing Infrastructure, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: rkent, Unassigned)
Details
Attachments
(1 file)
6.39 KB,
patch
|
Details | Diff | Splinter Review |
I tried to do a simple xpcshell unit test in the imap directory, and ran into various problems. I don't really have time to pursue that at the moment, but I still think it would be useful to have a simple demonstration test that shows how to use the framework to test simple imap issues. I will attach to this patch the work to date. That patch test runs to completion, but has a memory leak. It would be good to also demonstrate how to access the injected message for testing purposes, which I did not attempt.
Reporter | ||
Comment 1•14 years ago
|
||
This patch fixed to issues in the framework: 1) the imap head file was being loaded twice, 2) the imap inbox was not fully initialized in the framework It is also clear that the definition of "folder" is ambiguous in the framework. Local seems to want an nsIMsgFolder, while imap wants a uri. That took awhile to figure out.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•