test/test-case.vala: Rename TestCase async calls to match AsyncCallWaiter's

This commit is contained in:
Michael Gratton 2020-04-10 12:58:09 +10:00
parent 768f6afc78
commit 196f05e595
22 changed files with 175 additions and 229 deletions

View file

@ -57,18 +57,12 @@ public class Geary.ImapEngine.GenericAccountTest : TestCase {
this.tmp_dir,
GLib.File.new_for_path(_SOURCE_ROOT_DIR).get_child("sql")
);
this.local_account.open_async.begin(
null,
(obj, ret) => { async_complete(ret); }
);
this.local_account.open_async.begin(null, this.async_completion);
this.local_account.open_async.end(async_result());
}
public override void tear_down() throws GLib.Error {
this.local_account.close_async.begin(
null,
(obj, ret) => { async_complete(ret); }
);
this.local_account.close_async.begin(null, this.async_completion);
this.local_account.close_async.end(async_result());
this.local_account = null;
this.config = null;