geary/test/engine
Michael Gratton 85e9046c71 Geary.Imap: Make command cancellable a property of the command object
Since both submitting a command no longer requires a cancellable, and it
is desirable to avoid sending a queued command that has already been
cancelled beforehand, add a new `Command.should_send` Cancellable
property to specify if a command should (still) be sent or not, and stop
passing a cancellable to ClientSession when submitting commands.

Allow call sites to pass in existing cancellable objects, and thus also
add it it as a ctor property to the Command class and all subclasses.

Lastly, throw a cancelled exception in `wait_until_complete` if send
was cancelled so that the caller knows what happened.

Remove redundant cancellable argument from
`Imap.Client.command_transaction_async` and rename it to
`submit_command` to make it more obvious about what it does.
2020-09-02 14:34:41 +10:00
..
api Geary.Account.Information: Fix special use folder not correctly stored 2020-08-30 18:26:26 +10:00
app test: Break out engine mock objects into their own name-space 2020-08-13 19:51:33 +10:00
common test: Break out engine mock objects into their own name-space 2020-08-13 19:51:33 +10:00
db Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
imap Geary.Imap: Make command cancellable a property of the command object 2020-09-02 14:34:41 +10:00
imap-db Fix bug with message retention count during GC plus fix test case 2020-08-24 19:29:44 +10:00
imap-engine test: Break out engine mock objects into their own name-space 2020-08-13 19:51:33 +10:00
mime Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
outbox Add API for (de)serialising FolderPath and EmailIdentifier 2019-04-17 09:06:24 +10:00
rfc822 RFC822MesageTest: Fix locale-sensitive test case 2020-08-29 18:33:15 +10:00
util-ascii-test.vala Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
util-config-file-test.vala Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
util-html-test.vala Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
util-idle-manager-test.vala Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
util-inet-test.vala Tidy up unit test infrastructure and mock classes. 2018-04-07 09:41:18 +10:00
util-string-test.vala Add some minor unit tests 2019-08-06 21:37:39 +10:00
util-timeout-manager-test.vala Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00