test: Break out engine mock objects into their own name-space
Engine mocks don't need to be in the `Geary` namespace, and including them there makes it difficult to use them in client tests, so put them all in their own name-space and corresponding directory.
This commit is contained in:
parent
3e156525ae
commit
2030b2dec7
24 changed files with 436 additions and 414 deletions
|
|
@ -9,7 +9,7 @@
|
|||
class Geary.ContactHarvesterImplTest : TestCase {
|
||||
|
||||
|
||||
private ContactStoreMock? store = null;
|
||||
private Mock.ContactStore? store = null;
|
||||
private Email? email = null;
|
||||
private RFC822.MailboxAddress test_address = null;
|
||||
private RFC822.MailboxAddress sender_address = null;
|
||||
|
|
@ -26,7 +26,7 @@ class Geary.ContactHarvesterImplTest : TestCase {
|
|||
}
|
||||
|
||||
public override void set_up() throws GLib.Error {
|
||||
this.store = new ContactStoreMock();
|
||||
this.store = new Mock.ContactStore();
|
||||
this.email = new Email(
|
||||
new ImapDB.EmailIdentifier.no_message_id(new Imap.UID(1))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue