geary/test/engine/imap
Michael James Gratton b345af61e3 Fix mailbox names not being sent to the server quoted if needed.
Since MailboxParameter inherited from StringParameter directly, it meant
that we could never send mailbox names as quoted strings. Also, the
modified-UTF-7 encoding used for mailbox names does not encode
atom-specials such as "\", so if a mailbox name contained one or more of
these, it would be sent to the mail server unquoted.

This removes the MailboxParameter class altogether, and does the
parameter conversion to/from appropriate StringParameter subclasses as
needed. Also adds unit tests for param conversion for ASCII,
atom-specials, and non-ASCII mailbox names.

Fixes issue #40
2018-07-20 13:43:42 +10:00
..
command Tidy up unit test infrastructure and mock classes. 2018-04-07 09:41:18 +10:00
message Fix mailbox names not being sent to the server quoted if needed. 2018-07-20 13:43:42 +10:00
response Tidy up unit test infrastructure and mock classes. 2018-04-07 09:41:18 +10:00
transport Tidy up unit test infrastructure and mock classes. 2018-04-07 09:41:18 +10:00