geary/test/client
Michael Gratton 44654e3f76 Composer.Widget: Rework context email loading
Ensure composer state is restored when loading draft replies and that
`referred_ids` is updated top include the messages the draft refers to.

Make the process for loading different context types more obvious by
doing the work in-place, especially for replies, and avoiding multiple
utility methods that also branch based on type.

Use standard RFC822 classes for managing In-Reply-To and References, and
merge id lists rather than simply concatenating them. Ensure both are
updated when adding additional replies to the email, and they are always
set on any composed email constructed.

Add unit tests for all of the above.
2020-08-13 19:52:12 +10:00
..
accounts test: Break out engine mock objects into their own name-space 2020-08-13 19:51:33 +10:00
application Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
components Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
composer Composer.Widget: Rework context email loading 2020-08-13 19:52:12 +10:00
util test: Break out engine mock objects into their own name-space 2020-08-13 19:51:33 +10:00