From 7984aa60a012374e286802fa35a6b3e79866bca9 Mon Sep 17 00:00:00 2001 From: Todd Kennedy Date: Thu, 9 Jun 2011 10:14:52 -0700 Subject: [PATCH] Add new field to mailbox test there's a new field in the mailbox class that was causing a unit test failure. bug 4552358 Change-Id: Id17a99b55248cdc9e4c5ea455506f72e52687599 --- .../src/com/android/emailcommon/provider/MailboxTests.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/src/com/android/emailcommon/provider/MailboxTests.java b/tests/src/com/android/emailcommon/provider/MailboxTests.java index 535c5663c..2c36423e1 100644 --- a/tests/src/com/android/emailcommon/provider/MailboxTests.java +++ b/tests/src/com/android/emailcommon/provider/MailboxTests.java @@ -522,6 +522,7 @@ public class MailboxTests extends ProviderTestCase2 { testMailbox.mType = 7; testMailbox.mVisibleLimit = 8; testMailbox.mLastSeenMessageKey = 9L; + testMailbox.mLastTouchedTime = 10L; return testMailbox; } @@ -537,7 +538,8 @@ public class MailboxTests extends ProviderTestCase2 { TEST_PARENT_SERVER_ID, 1L /*mAccountKey*/, 7 /*mType */, (int)'/' /*mDelimiter */, TEST_SYNC_KEY, 5 /*mSyncLookback*/, 4 /*mSyncInterval*/, 6L /*mSyncTime*/, true /*mFlagVisible*/, 2 /*mFlags*/, - 8 /*mVisibleLimit*/, TEST_SYNC_STATUS, 3L /*mParentKey*/, 9L /*mLastSeen*/ + 8 /*mVisibleLimit*/, TEST_SYNC_STATUS, 3L /*mParentKey*/, 9L /*mLastSeen*/, + 10L /*mLastTouchedTime*/, }; MoreAsserts.assertEquals(testHash, testMailbox.getHashes()); @@ -554,7 +556,8 @@ public class MailboxTests extends ProviderTestCase2 { null /*mParentServerId*/, 1L /*mAccountKey*/, 7 /*mType */, (int)'/' /*mDelimiter */, null /*mSyncKey*/, 5 /*mSyncLookback*/, 4 /*mSyncInterval*/, 6L /*mSyncTime*/, false /*mFlagVisible*/, 2 /*mFlags*/, - 8 /*mVisibleLimit*/, null /*mSyncStatus*/, 3L /*mParentKey*/, 9L /*mLastSeen*/ + 8 /*mVisibleLimit*/, null /*mSyncStatus*/, 3L /*mParentKey*/, 9L /*mLastSeen*/, + 10L /*mLastTouchedTime*/, }; MoreAsserts.assertEquals(testHash, testMailbox.getHashes()); }