Implement GOA support for password-based accounts
This commit is contained in:
parent
4e0950f9bc
commit
5108a21def
11 changed files with 387 additions and 129 deletions
|
|
@ -12,24 +12,4 @@ public class Geary.MockServiceInformation : ServiceInformation, MockObject {
|
|||
get; set; default = new Gee.LinkedList<ExpectedCall>();
|
||||
}
|
||||
|
||||
|
||||
public override void load_settings(Geary.ConfigFile.Group config)
|
||||
throws Error {
|
||||
void_call("load_settings", { box_arg(config) });
|
||||
}
|
||||
|
||||
public override void load_credentials(Geary.ConfigFile.Group config,
|
||||
string? email_address = null)
|
||||
throws Error {
|
||||
void_call("load_credentials", { box_arg(config), box_arg(email_address) });
|
||||
}
|
||||
|
||||
public override void save_settings(Geary.ConfigFile.Group config) {
|
||||
try {
|
||||
void_call("save_settings", { box_arg(config) });
|
||||
} catch (Error err) {
|
||||
assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue