mozilla-b2g/gaia-email-libs-and-more — pull request #41 by asutherland (2012-09-18 05:53:43+00:00)
Title: [generic] Fix reply to all

Reply-to-all got angry if we were missing one of to/cc. This fixes it and adds a fairly comprehensive unit test which covers both the failure plus the overall logic of reply-to-all.

This includes a fix to syncbase; there had been a unit testing regression. It was a helpful regression, however, as I believe it showed a coverage failure in test_imap_complex. The empty folder sync test case is lucking out because it is ending up in the fast-path, at least I think. I am going to look into the testcase now and augment it. I'll report back on this pull request if it's fine, otherwise expect a new pull request.

@mozsquib, please review.