email: fix tests
Change-Id: I237337c0c86ad66023db684c8a01c89ee1ef7aef Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
This commit is contained in:
parent
aea3dff32d
commit
dcdf4ab236
@ -62,7 +62,7 @@ public class AccountBackupRestoreTests extends ProviderTestCase2<EmailProvider>
|
||||
assertEquals(" mEmailAddress", expect.mEmailAddress, actual.mEmailAddress);
|
||||
|
||||
assertEquals(" mSyncLookback", expect.mSyncLookback, actual.mSyncLookback);
|
||||
assertEquals(" mSyncInterval", expect.mSyncInterval, actual.mSyncInterval);
|
||||
assertEquals(" mSyncInterval", expect.getSyncInterval(), actual.getSyncInterval());
|
||||
assertEquals(" mFlags", expect.mFlags, actual.mFlags);
|
||||
assertEquals(" mSenderName", expect.mSenderName, actual.mSenderName);
|
||||
assertEquals(" mProtocolVersion", expect.mProtocolVersion,
|
||||
|
@ -54,7 +54,7 @@ public class ProviderTestUtils extends Assert {
|
||||
account.mEmailAddress = name + "@android.com";
|
||||
account.mSyncKey = "sync-key-" + name;
|
||||
account.mSyncLookback = 1;
|
||||
account.mSyncInterval = Account.CHECK_INTERVAL_NEVER;
|
||||
account.setSyncInterval(Account.CHECK_INTERVAL_NEVER);
|
||||
account.mHostAuthKeyRecv = 0;
|
||||
account.mHostAuthKeySend = 0;
|
||||
account.mFlags = 4;
|
||||
@ -293,7 +293,7 @@ public class ProviderTestUtils extends Assert {
|
||||
assertEquals(caller + " mSyncKey", expect.mSyncKey, actual.mSyncKey);
|
||||
|
||||
assertEquals(caller + " mSyncLookback", expect.mSyncLookback, actual.mSyncLookback);
|
||||
assertEquals(caller + " mSyncInterval", expect.mSyncInterval, actual.mSyncInterval);
|
||||
assertEquals(caller + " mSyncInterval", expect.getSyncInterval(), actual.getSyncInterval());
|
||||
assertEquals(caller + " mHostAuthKeyRecv", expect.mHostAuthKeyRecv,
|
||||
actual.mHostAuthKeyRecv);
|
||||
assertEquals(caller + " mHostAuthKeySend", expect.mHostAuthKeySend,
|
||||
|
Loading…
Reference in New Issue
Block a user