Make it possible to distinguish between different folder roots
Add a label to Geary.FolderRoot so it different instances can be differenciated.
This commit is contained in:
parent
dd3a7a1bc8
commit
01a154bc5f
11 changed files with 109 additions and 36 deletions
|
|
@ -60,7 +60,7 @@ class Geary.Imap.MailboxSpecifierTest : TestCase {
|
|||
}
|
||||
|
||||
public void from_folder_path() throws Error {
|
||||
FolderRoot root = new FolderRoot();
|
||||
FolderRoot root = new FolderRoot("#test");
|
||||
MailboxSpecifier inbox = new MailboxSpecifier("Inbox");
|
||||
assert_string(
|
||||
"Foo",
|
||||
|
|
@ -110,7 +110,7 @@ class Geary.Imap.MailboxSpecifierTest : TestCase {
|
|||
}
|
||||
|
||||
public void folder_path_is_inbox() throws GLib.Error {
|
||||
FolderRoot root = new FolderRoot();
|
||||
FolderRoot root = new FolderRoot("#test");
|
||||
assert_true(
|
||||
MailboxSpecifier.folder_path_is_inbox(root.get_child("Inbox"))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue