Open Bug 765926 Opened 7 years ago Updated 4 years ago

make xpcshell and mozmill tests pass with maildir as default pluggable store

Categories

(MailNews Core :: Backend, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: Bienvenu, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There are several unit test failures that show up when I run with a build that defaults pluggable stores to maildir. I'm going to put the patches that fix those issues in this bug..
The pluggable stores set the store token when you call GetNewMsgOutputStream, so the imap mail folder object shouldn't do so. The store also sets the message offset. The imap mail folder code was basically assuming berkeley mailbox, which doesn't work with maildir.

The removal of the srcKeyArray and srcMsgs is an unrelated change, but those variables aren't used.
Attachment #634212 - Flags: review?(neil)
Attachment #634212 - Flags: review?(neil) → review+
Attachment #634212 - Attachment description: fix maildir store token for fake headers → fix maildir store token for fake headers - checked in.
maildir store token patch checked in - http://hg.mozilla.org/comm-central/rev/8c820d9d2612
Blocks: 786595
OS: Windows 7 → All
Hardware: x86_64 → All
Patch has been backed out in Bug 786595 due to incorrect message body being displayed in certain circumstances.
No longer blocks: 786595
Depends on: 786595
Assignee: mozilla → nobody
Depends on: 1011399
No longer blocks: 1135309
You need to log in before you can comment on or make changes to this bug.