test/test-case.vala: Rename TestCase async calls to match AsyncCallWaiter's
This commit is contained in:
parent
768f6afc78
commit
196f05e595
22 changed files with 175 additions and 229 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue